summaryrefslogtreecommitdiff
path: root/DOCBparser.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-05-22 15:08:55 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-05-22 15:08:55 +0000
commit81418e38c80cf1ddac6fe1426d8037a3da39853f (patch)
tree0904bda605503c1695979c8d0125d480d0781f22 /DOCBparser.c
parentaf86c7f4631c95b93f9132825113ce6bd2144f44 (diff)
downloadlibxml2-81418e38c80cf1ddac6fe1426d8037a3da39853f.tar.gz
- catalog.[ch]: fixes and add xmlLoadCatalogs()
- DOCBparser.c: small cleanup - xmllint.c: added a --catalogs option to load catalogs from $SGML_CATALOG_FILES - tree.c: cleanup - configure.in: iconv library fixup, ICONV_LIBS Daniel
Diffstat (limited to 'DOCBparser.c')
-rw-r--r--DOCBparser.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/DOCBparser.c b/DOCBparser.c
index 779e7abc..fe498d1e 100644
--- a/DOCBparser.c
+++ b/DOCBparser.c
@@ -3392,18 +3392,6 @@ docbParseDocTypeDecl(docbParserCtxtPtr ctxt) {
*/
if (RAW != '[') {
return;
-
- /*
- * We should be at the end of the DOCTYPE declaration.
- */
- if (CUR != '>') {
- if ((ctxt->sax != NULL) && (ctxt->sax->error != NULL))
- ctxt->sax->error(ctxt->userData,
- "DOCTYPE unproperly terminated\n");
- ctxt->wellFormed = 0;
- /* We shouldn't try to resynchronize ... */
- }
- NEXT;
}
/*