mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-28 00:21:53 +03:00
- 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
This commit is contained in:
12
DOCBparser.c
12
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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user