commit | 10ea86cba4b8bc812223e526cf2bc171464e494d | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Wed Jun 20 13:55:33 2001 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Wed Jun 20 13:55:33 2001 +0000 |
tree | 9b2f0df703838eff6cbfd28d6038e9a1f95a8a78 | |
parent | 39196eba1746f2ecc9d340a31c66f437092fe5fd [diff] [blame] |
- valid.c: fixed a bug found when post validating an entity ref - xmllint.c: added --loaddtd and sligly changed --postvalid to activate it too Daniel
diff --git a/valid.c b/valid.c index e9049e0..217fd45 100644 --- a/valid.c +++ b/valid.c
@@ -4205,6 +4205,13 @@ CHECK_DTD; + /* + * Entities references have to be handled separately + */ + if (elem->type == XML_ENTITY_REF_NODE) { + return(1); + } + ret &= xmlValidateOneElement(ctxt, doc, elem); attr = elem->properties; while(attr != NULL) {