[topicmapmail] xml:base and #foo URIs
Murray Altheim
m.altheim@open.ac.uk
Wed, 23 Apr 2003 12:58:04 +0100
Lars Marius Garshol wrote:
> (Moving this to a separate thread. This is SAM issue xtm-same-doc-refs.)
>
> * Murray Altheim
[...]
> | In his paragraph beginning "The document infoitem's [base URI]
> | property..." you'll see where xml:base operates, by redefining
> | the base URI.
>
> I know that. What I'm saying is that as far as I can tell,
> same-document references are not resolved relative to the base URI,
> but relative to the document URI. If you have reason to think
> differently, could you tell me why? I'm not 100% convinced either way
> here, but I would like to be.
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. As Paul said, you attach the fragment
identifier (what he called a form of XPointer, since that's his
language and purpose in describing it to you).
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.
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?
Murray
......................................................................
Murray Altheim <http://kmi.open.ac.uk/people/murray/>
Knowledge Media Institute
The Open University, Milton Keynes, Bucks, MK7 6AA, UK ^
Boundless wind and moon - the eye within eyes,
Inexhaustible heaven and earth - the light beyond light,
The willow dark, the flower bright - ten thousand houses,
Knock at any door - there's one who will respond.
-- The Blue Cliff Record