aboutsummaryrefslogtreecommitdiffstats
path: root/HTMLparser.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-10-23 13:10:19 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-10-23 13:10:19 +0000
commit5151c06f30d840c373d7afaaeb654e77b37da8cc (patch)
treefafd2b348911eb68a6fc526c86028c20d138c6b8 /HTMLparser.c
parentb6b0fd8962e95bdb27e9e65bc785ce8cf1a3622c (diff)
downloadandroid_external_libxml2-5151c06f30d840c373d7afaaeb654e77b37da8cc.tar.gz
android_external_libxml2-5151c06f30d840c373d7afaaeb654e77b37da8cc.tar.bz2
android_external_libxml2-5151c06f30d840c373d7afaaeb654e77b37da8cc.zip
fixed an erroneous validation bug when PE refs occurs in external parsed
* parser.c: fixed an erroneous validation bug when PE refs occurs in external parsed entities referenced from the internals subset * test/valid/index.xml test/valid/dtds/nitf-2-5.dtd test/valid/dtds/NewsMLv1.0.dtd result/valid/index.xml*: added the associated testcase, it's a nice one. * HTMLparser.c: generate the DTD node as HTML still ... * HTMLtree.c: fixed errors in Set/GetMetaEncoding Daniel
Diffstat (limited to 'HTMLparser.c')
-rw-r--r--HTMLparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/HTMLparser.c b/HTMLparser.c
index 428248ed..0b9061d0 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -1823,7 +1823,7 @@ htmlNewDocNoDtD(const xmlChar *URI, const xmlChar *ExternalID) {
cur->_private = NULL;
if ((ExternalID != NULL) ||
(URI != NULL))
- xmlCreateIntSubset(cur, BAD_CAST "html", ExternalID, URI);
+ xmlCreateIntSubset(cur, BAD_CAST "HTML", ExternalID, URI);
return(cur);
}