RE: XML Base

DaveB:
> > > I think resolving
> > >   base URI "mailto:Jeremy_Carroll@hp.com"
> > >   with URI "relfile"
> > > will give
> > >   URI "mailto:relfile"
> > > not
> > >   URI "mailto:/refile"
> > >
> > > because mailto is a non-hierachical URI scheme (does not start
> > > mailto:/ so can be detected by apps).
> 
>   The mailto URL scheme
>   ftp://ftp.isi.edu/in-notes/rfc2368.txt
> 
> Does not mention how relative URIs are handled, however it remains a
> non-hierarchical URI scheme (everything after the : is opaque) and
> the above resolution I think is correct.
> 

RFC 2396:

[[
   Some URI schemes do not allow a hierarchical syntax matching the
   <hier_part> syntax, and thus cannot use relative references.
]]

hence it is neither.

(repeating myself, sorry).

Received on Friday, 22 March 2002 06:34:03 UTC