[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] xincludes with Xerces 2.6.2
Sorry for not posting the error message - here goes: "Error reported by XML parser: Elements from namespace 'http://www.w3.org/2003/XInclude', other than 'fallback', are not allowed to be children of 'include' elements. However, 'include' was found." I'll see if I can get around to testing with xmllint. /claus :: -----Original Message----- :: From: Bob Stayton [mailto:bobs@sagehill.net] :: Sent: 26. marts 2004 18:37 :: To: Claus Rasmussen; docbook-apps@lists.oasis-open.org :: Subject: Re: [docbook-apps] xincludes with Xerces 2.6.2 :: :: When you say it doesn't work, what exactly happens? Is there an error :: message? Does it fail completely? :: :: You might try processing the file with xmllint --xinclude if you have :: access :: to the libxml2 toolkit. That would tell you if it is a bug in the Xerces :: XInclude processor. :: :: Bob Stayton :: Sagehill Enterprises :: DocBook Consulting :: bobs@sagehill.net :: :: :: ----- Original Message ----- :: From: "Claus Rasmussen" <cra@web500.com> :: To: <docbook-apps@lists.oasis-open.org> :: Sent: Friday, March 26, 2004 1:42 AM :: Subject: RE: [docbook-apps] xincludes with Xerces 2.6.2 :: :: :: After being happy for a while, another related anomaly occurred: :: :: I using xincludes in a docbook xml "article". I'm including "section"s, :: which in turn all include some raw text snippets (code listings). The :: following works like a charm: :: :: <article> :: :: [..content..] :: :: <section> :: [..content..] :: [..xinclude goes here..] :: </section> :: :: </article> :: :: However, if there has been another xinclude before, I can not nest the :: xinclude in a section. So this doesn't work: :: :: <article> :: :: [..content..] :: :: [..xinclude A goes here..] :: :: <section> :: [..content..] :: [..xinclude B goes here..] :: </section> :: :: </article> :: :: Whereas these two both work fine: :: :: <article> :: :: [..content..] :: :: <section> :: [..content..] :: [..xinclude B goes here..] :: </section> :: :: </article> :: :: <article> :: :: [..content..] :: :: [..xinclude A goes here..] :: :: [..content..] :: [..xinclude B goes here..] :: :: </article> :: :: Anyone experienced anything like this? :: :: /claus
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]