Re: xml:base irrelevant to same document reference

> <p xml:base="http://www.example.org/foo"><a name="xyzzy"/></p>
> <p xml:base="http://www.example.org/bar"><a href="#xyzzy"/></p>
>
> Even with the proposed RFC2396 revision, the second href will refer to
> the first href (at least I think so), whereas in the analagous case in
> RDF it will not.  Surely there is something wrong somewhere if XHTML and
> RDF behave inconsistently in this respect. And I have never come across
> another XML vocabulary that scopes IDs to the current base URI.

But isn't this mixing two different things?

Something looking for the "fragment named xyzzy" would properly see the first
one.  Your use of an HREF doesn't really affect things in an RDF sense.  Or does
it?  Isn't the concatenation of a URI and it's rdf:ID the only relevent
combination from an RDF/XML serialization aspect?

Or am I missing yet another startlingly unexpected aspect of RDF serialized in
XML?

-Bill Kearney

Received on Sunday, 15 June 2003 20:36:19 UTC