[xml] XInclude produced invalid document



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 ?

-- 
Regards, Vyt
mailto:  vyt vzljot ru
JID:     vyt vzljot ru

Attachment: xinclude-test.tar.bz2
Description: BZip2 compressed data



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