RE: [xml-dev] anyURI mystery help

From
Michael Kay <>
To
'Rick Jelliffe' <>,
Date
2005-05-12T08:30:52Z
Thread
RE: [xml-dev] anyURI mystery help
> There are strict URL handlers and friendly URL handlers (which should
> encompass anyURI and IRIs). The strict ones will fail if ":" 
> is used. You
> never know which one the program uses.
> 
> Actually, I guess the correct syntax is
>   file:///C%25/temp/xxx.xsd
> but I have never used that.
> 

RFC3986 says:

path          = path-abempty  (etc)
path-abempty  = *( "/" segment )
segment       = *pchar
pchar         = unreserved / pct-encoded / sub-delims / ":" / "@"

So ":" is explicitly allowed inside a segment of the hierarchical path.

Michael Kay
http://www.saxonica.com/