Re: [xml] xmlCopyDtd() does not copy the children of the DTD node...
- From: Anthony Jones <amj30 cam ac uk>
- To: Daniel Veillard <veillard redhat com>
- Cc: xml gnome org
- Subject: Re: [xml] xmlCopyDtd() does not copy the children of the DTD node...
- Date: Thu, 24 Jan 2002 17:44:50 +0000
The patch for this is just about complete and tested - however, I've
noticed a small problem: According to the documentation, xmlEntity nodes do
not have children, but they actually do, eg:
$ ./xmllint --debug test/xml1
DOCUMENT
version=1.0
URL=test/xml1
standalone=true
DTD(test)
ENTITYDECL(example), internal
content=<p>An ampersand (&) may be escaped ...
ELEMENT p
TEXT
content=An ampersand (&) may be escaped numeric...
ELEMENT test
ENTITY_REF(example)
INTERNAL_GENERAL_ENTITY example
content=<p>An ampersand (&) may be escaped ...
Presumably it is the documentation that is incorrect, and xmlCopyEntity
should really copy the node's children as well?
Anthony
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]