diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-09-10 14:40:43 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-09-10 14:40:43 +0000 |
commit | 7a51d6df13c7c9356b477c306bd6dd91c7e83c9e (patch) | |
tree | ea15a14886eb6fe55345b34e25a7f4086b77b742 | |
parent | 05c13a20b9ac8153adb9158359e2aa09bfe965d0 (diff) | |
download | libxml2-7a51d6df13c7c9356b477c306bd6dd91c7e83c9e.tar.gz |
fixing bug 59732, simple but allocates a new error code. Daniel
* include/libxml/xmlerror.h SAX.c: fixing bug 59732, simple
but allocates a new error code.
Daniel
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | SAX.c | 2 | ||||
-rw-r--r-- | include/libxml/xmlerror.h | 3 |
3 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon Sep 10 16:39:42 CEST 2001 Daniel Veillard <daniel@veillard.com> + + * include/libxml/xmlerror.h SAX.c: fixing bug 59732, simple + but allocates a new error code. + Sun Sep 9 10:33:15 CEST 2001 Daniel Veillard <daniel@veillard.com> * xmllint.c: John Fleck fixed typos in the options output @@ -971,6 +971,8 @@ startElement(void *ctx, const xmlChar *fullname, const xmlChar **atts) "Validation failed: no DTD found !\n"); } ctxt->validate = 0; + ctxt->valid = 0; + ctxt->errNo = XML_ERR_NO_DTD; } diff --git a/include/libxml/xmlerror.h b/include/libxml/xmlerror.h index 88daeff9..5b437349 100644 --- a/include/libxml/xmlerror.h +++ b/include/libxml/xmlerror.h @@ -133,7 +133,8 @@ typedef enum { XML_ERR_ENTITY_BOUNDARY, /* 90 */ XML_ERR_INVALID_URI, /* 91 */ XML_ERR_URI_FRAGMENT, /* 92 */ - XML_WAR_CATALOG_PI /* 93 */ + XML_WAR_CATALOG_PI, /* 93 */ + XML_ERR_NO_DTD /* 94 */ }xmlParserErrors; /* |