Skip to content

URN validity as a valid URL string #868

@pzb

Description

@pzb

What is the issue with the URL Standard?

In the examples table in section 4, urn:isbn:9780307476463 is listed as a valid URL string. At first glance, it seems to be a absolute-URL string, but appears to fail because:

  • urn is a URL-scheme string that is not a special scheme, therefore must be followed by a relative-URL string
  • isbn:9780307476463 does not start with / so it cannot be a scheme-relative-URL string or path-absolute-URL string
  • leaving the only the path-relative-scheme-less-URL string for relative-URL string , but
  • isbn:9780307476463 fails the test of "does not start with: a URL-scheme string, followed by U+003A (:)"

How is the URN string a valid URL string if it doesn't have a valid relative-URL string?

The term "opaque path" is used in various places in the spec, but does is not used in the definition of valid URL string. One solution might be to better define "opaque path" and use it in the definition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions