[topicmapmail] xml:base and #foo URIs

Lars Marius Garshol larsga@garshol.priv.no
23 Apr 2003 14:33:15 +0200


* Murray Altheim
| 
| This isn't so complicated. XML Base allows one to alter the base URI
| of a document from whatever it normally would have to whatever is in
| the xml:base attribute. The RFC allows this, the XML Base
| Recommendation cites this.

We're in full agreement on that. However, it seems to me that
same-document references ("" and "#foo") are *not* resolved relative
to the base URI, but to the document URI. If that is true XML Base
does not affect these URI references at all. (See my reply to Tom
Passin for more detailed references than I gave initially.)

| I'm a bit mystified why you're making this so complicated. There is
| literally no other stated purpose of XML Base than to perform
| precisely what I'm describing, i.e, the stating of a base URI so
| that resolution of relative URIs has the proper absolute URI.

I agree with that, it's just that it doesn't seem that the base URI is
used in this particular case.
 
| And I'm also curious -- while I know that I was the one who proposed
| it, LTM 1.2 includes an XML Base feature that operates correctly
| AFAIK. You seem to be arguing against the functionality you've
| included in LTM at my suggestion. Do you now consider this in error?

LTM 1.2 says that #BASEURI works exactly like XML Base. So LTM will
wind up following whatever it turns out that XML Base is saying.

-- 
Lars Marius Garshol, Ontopian         <URL: http://www.ontopia.net >
GSM: +47 98 21 55 50                  <URL: http://www.garshol.priv.no >