diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-03-23 12:02:56 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-03-23 12:02:56 +0000 |
commit | ef8dd7be297e74e70bd179c54aaf66e62207f1b0 (patch) | |
tree | 6c64d79a57e7cea25e7ccf98cc1f933811730eb1 /xmlreader.c | |
parent | 2cfd9dff284ed2a18685f94511e7486628043d64 (diff) | |
download | android_external_libxml2-ef8dd7be297e74e70bd179c54aaf66e62207f1b0.tar.gz android_external_libxml2-ef8dd7be297e74e70bd179c54aaf66e62207f1b0.tar.bz2 android_external_libxml2-ef8dd7be297e74e70bd179c54aaf66e62207f1b0.zip |
fixing bug #108976 get the ID/REFs to reference the ID in the document
* parser.c: fixing bug #108976 get the ID/REFs to reference
the ID in the document content and not in the entity copy
* SAX.c include/libxml/parser.h: more checking of the ID/REF
stuff, better solution for #107208
* xmlregexp.c: removed a direct printf, dohhh
* xmlreader.c: fixed a bug on streaming validation of empty
elements in entities
* result/VC/ElementValid8 test/VCM/v20.xml result/valid/xhtml1.xhtml:
cleanup of the validation tests
* test/valid/id* test/valid/dtds/destfoo.ent result/valid/id*:
added more ID/IDREF tests to the suite
Daniel
Diffstat (limited to 'xmlreader.c')
-rw-r--r-- | xmlreader.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlreader.c b/xmlreader.c index 31bdcef3..d696bd8b 100644 --- a/xmlreader.c +++ b/xmlreader.c @@ -524,6 +524,8 @@ xmlTextReaderValidateEntity(xmlTextReaderPtr reader) { if (node->children != NULL) { node = node->children; continue; + } else if (node->type == XML_ELEMENT_NODE) { + xmlTextReaderValidatePop(reader); } if (node->next != NULL) { node = node->next; |