RE: [xml-dev] Why is xml:base a URI *reference*?

From
Michael Kay <>
To
"'Simon St.Laurent'" <>,
Date
2004-01-10T23:39:36
ID
<000001c3d7d3$02875240$6401a8c0@pcukmka>
Thread
RE: [xml-dev] Why is xml:base a URI *reference*?
> Hmmm.... I'm a really lazy typist creating links to a 
> collection of documents with a shared base URI.  I have to 
> create a lot of links to a document at the base ID, and in 
> fact to a particular fragid-identified location in that 
> document.  Since I don't want to type the fragid repeatedly, 
> I drop it in the base URI and type a lot of <a href="">.
> 

That runs you into another ghastly mess in the infamous RFC 2396,
whereby zero-length relative URIs are invalid according to the syntax,
but have defined semantics, in terms of a concept called the "current
document" which appears to be distinct from the base URI but is nowhere
defined.

Michael Kay