Next in thread →
Next in month →
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:] :: Sent: 26. marts 2004 18:37 :: To: Claus Rasmussen; :: 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 :: :: :: :: ----- Original Message ----- :: From: "Claus Rasmussen" <> :: To: <> :: 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
Next in thread →
Next in month →