Re: [xml] XInclude produced invalid document



On Tue, Nov 11, 2003 at 01:59:53PM +0300, Vitaly Ostanin wrote:
Hello, All!

In the attached test I get invalid document:

$ xmllint --valid final.xml 
final.xml:946: parser error : EntityValue: '%' forbidden except
for entities references<!ENTITY percnt "%">

final.xml is result of XInclude processing from main.xml (DTD
DocBook) and included.xml (our extension for DTD DocBook).

When included.xml uses DTD DocBook, XInclude produce valid
document.

I try current cvs version (from anoncvs.gnome.org:/cvs/gnome) and
error still exists.

$ xmllint --version
xmllint: using libxml version 20602
   compiled with: DTDValid FTP HTTP HTML C14N Catalog XPath
XPointer XInclude Iconv Unicode Regexps Automata Schemas

Please, tell me, it's error in our extension for DTD DocBook or
in the libxml2 ?

  I can't tell... I don't know where the
   <!ENTITY percnt "%">
which is an error comes from.
Please make more debugging on your side, I just can't guess myself what's
happening there, especially if you modified DTDs.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]