This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] xincludes with Xerces 2.6.2
- From: "George Cristian Bina" <george at sync dot ro>
- To: "Claus Rasmussen" <cra at web500 dot com>, <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 22 Mar 2004 19:37:50 +0200
- Subject: Re: [docbook-apps] xincludes with Xerces 2.6.2
- References: <41B1F3824343174FBDE97F5033F08BA4828067@venus.web500.com>
Hi Claus,
This is indeed a bug in the Xerces XInclude support, we had a similar report
[1]. There is however a workaround for this, you should add the xmlns:xi
attribute in the local.common.attrib as below.
<!ENTITY % local.common.attrib
"xml:base CDATA #IMPLIED
xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'" >
[1] http://www.oxygenxml.com/forum/viewtopic.php?t=291
Hope that helps,
George
-------------------------------------------------------
George Cristian Bina mailto:george@oxygenxml.com
<oXygen/> XML Editor - http://www.oxygenxml.com/
----- Original Message -----
From: "Claus Rasmussen" <cra@web500.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Monday, March 22, 2004 5:06 PM
Subject: RE: [docbook-apps] xincludes with Xerces 2.6.2
> ::> I'm including the same file in two different documents - the
> included
> ::> file is a "section", and it gets included in "article" files.
> However,
> ::> when processing one of the articles I get this error:
> ::>
> ::> "Error reported by XML parser: The prefix "xi" for element
> "xi:include"
> ::> is not bound."
> ::>
> ::
> ::looks like you didn't define the namspace for xi in one of the
> articles
> ::(or if you nest the xincludes in the xincluding parts).
>
> I know. However, this is not the case - I've declared the namespace both
> directly in the element and in XSL. Also, like I said, the error doesn't
> appear if I include the file right under "article", but only when I put
> it inside an existing "section" element...
>
> /claus
>
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.