[topicmapmail] xml:base and #foo URIs
Murray Altheim
m.altheim@open.ac.uk
Thu, 24 Apr 2003 09:50:41 +0100
Lars Marius Garshol wrote:
> * Murray Altheim
> |
> | 1. First, there's IDs within XTM documents: [...]
> |
> | 2. Secondly, there's fragment IDs (IDREFs in a sense) within
> | XTM documents: [...]
> |
> | Now, there's hopefully little or no confusion about the former, and
> | we're only talking about the latter, right?
>
> Actually, they are inextricably tied together. If xml:base affects the
> latter, but not the former, the result of processing your PSI TM when
> downloaded to the local file system the <topicRef/> links will be to
> attempt to download the version on your site to resolve the <topicRef/>s.
> Similarly, if xml:base affects the former, but not the latter, all
> internal <topicRef/>s will break.
>
> So xml:base has to either affect both or neither.
Well, as I tried to make clear in my examples, it affects both
because it alters the base URI of the document *prior* to any
further resolution. I was only trying to clarify that we weren't
talking about IDs (which I thought was a resolved issue, but was
apparently not), but about references to IDs. You're correct
though -- the base URI of the document affects both, and xml:base
alters it for both.
Murray
......................................................................
Murray Altheim http://kmi.open.ac.uk/people/murray/
Knowledge Media Institute
The Open University, Milton Keynes, Bucks, MK7 6AA, UK .
Moonlight slanting
through all the
bamboo forest...
and nightingale song
-- Basho