Re: [docbook-apps] xincludes with Xerces 2.6.2

From
George Cristian Bina <>
Date
2004-03-22T17:28:28+00:00
ID
013401c41034$69a5bdb0$30a14d52@notebook
Thread
Re: [docbook-apps] xincludes with Xerces 2.6.2
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:
<oXygen/> XML Editor - http://www.oxygenxml.com/


----- Original Message -----
From: "Claus Rasmussen" <>
To: <>
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
, or visit
http://www.oasis-open.org/mlmanage/.
>
>