[Richard Tobin: Re: Canonicalization xml:base processing]

I forgot to copy this to the group.

---- Start of forwarded text ----
> From: Richard Tobin <richard@inf.ed.ac.uk>
> Subject: Re: Canonicalization xml:base processing
> To: Konrad Lanz <Konrad.Lanz@iaik.tugraz.at>,
> 	Richard Tobin <richard@inf.ed.ac.uk>
> In-Reply-To: Konrad Lanz's message of Wed, 31 May 2006 14:56:25 +0200
> Message-Id: <20060531135138.E16926D75E6@macintosh.inf.ed.ac.uk>
> Date: Wed, 31 May 2006 14:51:38 +0100 (BST)
> 
> > You are right --> example updated. Btw. I did not have a lot of time to 
> > construct this example, so I had to make some more corrections.
> > I hope it is now more understandable. However the point I was trying to 
> > make was that the "Base URI Fixup" (http://www.w3.org/TR/xinclude/#base) 
> > should also work for parts of documents.
> 
> Bare fragments in the result of XInclude processing will be references
> to the result document.  Both RFC2396 and RFC 3986 say that bare
> fragments are same-document references, and XML Base can't change
> that, nor can XInclude fix it up, since it doesn't know which
> attributes are links.  Usually it is what you want: if you have
> cross-references between chapters you don't want them to point to the
> original chapter files, you want them to point to the chapter in the
> included file.
> 
> Your example wasn't quite right:
> 
> > <chapter xmlns="http://docbook.org/docbook-ng"
> >          version="ipa"
> >          xml:base="chapters/chap01.xml">
> 
> The attribute id="c1-start" should appear here in the output, so the
> link will point to it.
> 
> -- Richard
> 
---- End of forwarded text ----

Received on Wednesday, 31 May 2006 14:15:45 UTC