OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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: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/.
>
>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]