[topicmapmail] ["Jonathan Marsh" <jmarsh@microsoft.com>] RE: XML Base question

Lars Marius Garshol larsga@garshol.priv.no
22 May 2003 20:09:36 +0300


I got the reply below from Jonathan Marsh after nagging him. Since
we've discussed this issue on this list I thought it was only fair to
forward it.

* Lars Marius Garshol
|
| It does not seem to me that XML Base makes it sufficiently clear what
| to do in the following case:
| 
|   <!-- document being read from http://www.example.com/foo.xml -->
|   <doc xml:base="http://www.ontopia.net/bar.xml">
|     <!-- ... -->
| 
|     <link xlink:href="#baz"/>
|   </doc>
| 
| What does this link resolve to? Is it
| 
|   http://www.example.com/foo.xml#baz

* Jonathan Marsh
| 
| Yes, according to section 4.2 of RFC 2396.

* Lars Marius Garshol
|
| I think this should be recorded as an XML Base erratum, and that if
| the spec is ever revised an example showing the correct behaviour in
| this case should be added, possibly with a note referring to RFC 2396.

* Jonathan Marsh
|
| I'll pass this on to the XML Core WG as a potential erratum.  I agree
| that it's a little tricky, although I'm not sure that RFC 2396 is
| sufficiently unclear to require a change.

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