Re: Appling inheritance rule to xml:base, was Re: FINAL minutes for the XML

John Boyer scripsit:

> Can you provide an example where copying the xml:base breaks something?
> I have not found such an example before...

<a xml:base="http://example.com/foo/bar/baz/zam/papo/pippo">
  <b xml:base="../..">
    <c href="foobar"/>
  </b>
</a>

If this is canonicalized, the c element will be rewritten as

    <c xml:base="../.." href="foobar"/>

which obviously gives the URI in the href attribute different semantics.

-- 
John Cowan  www.ccil.org/~cowan  www.ap.org  cowan@ccil.org
There are books that are at once excellent and boring.  Those that at
once leap to the mind are Thoreau's Walden, Emerson's Essays, George
Eliot's Adam Bede, and Landor's Dialogues.  --Somerset Maugham

Received on Monday, 6 March 2006 18:02:55 UTC