W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > May 2006

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

From: Richard Tobin <richard@inf.ed.ac.uk>
Date: Wed, 31 May 2006 15:15:36 +0100 (BST)
To: public-xml-core-wg@w3.org
Message-Id: <20060531141536.0FDF06D7682@macintosh.inf.ed.ac.uk>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:34 GMT