Use "hierarchical" form of RFC 2396 syntax #402
Labels
Ecma specification
Work on the core specification
PURL core specification
Format and syntax that define PURL (excludes PURL type definitions)
The current specification:
pkg:<opaque_part>
(using RFC 2396 syntax)./
characters betweenpkg:
and the start of a namespace.For languages like Java that don't have an RFC 3986 implementation this means that it is up to the parser to split
<opaque_part>
into a path, query and fragment.Would it be possible to change the spec to use
pkg:/<hierarchical_part>
as canonical representation? This would simplify the reusage of existing language parsers.Note: I am aware that PURL is defined in terms of RFC 3986, for which the leading solid
/
does not have any influence on the syntax, but it has an influence for RFC 2396.The text was updated successfully, but these errors were encountered: