aboutsummaryrefslogtreecommitdiffstats
path: root/HTMLparser.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2002-03-04 17:09:44 +0000
committerDaniel Veillard <veillard@src.gnome.org>2002-03-04 17:09:44 +0000
commit044fc6b7476798cbb95277b4905e5111d7c2775d (patch)
treefcc99619f9766b8a9a1f501318c2e8ba6b7309bb /HTMLparser.c
parentd4f41aacfc67b15fa166523007fbf01d5999659e (diff)
downloadandroid_external_libxml2-044fc6b7476798cbb95277b4905e5111d7c2775d.tar.gz
android_external_libxml2-044fc6b7476798cbb95277b4905e5111d7c2775d.tar.bz2
android_external_libxml2-044fc6b7476798cbb95277b4905e5111d7c2775d.zip
fixing #61290 "namespace nodes have no parent" long standing divergence
* xpath.c: fixing #61290 "namespace nodes have no parent" long standing divergence from the XPath REC. NodeSets simply hold a copy of namespace nodes and those node ->next points to the parent (which may not be the node carrying the definition). * include/libxml/xpath.h: flagged but didn't added a possible speedup * DOCBparser.c HTMLparser.c: removed some warnings from push parser due to new state being added. * tree.c: new fix from Boris Erdmann * configure.in c14n.c include/libxml/c14n.h testC14N.c: added the XML Canonalization support from Aleksey Sanin Daniel
Diffstat (limited to 'HTMLparser.c')
-rw-r--r--HTMLparser.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/HTMLparser.c b/HTMLparser.c
index 014acc97..24394ead 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -4605,6 +4605,17 @@ htmlParseTryOrFinish(htmlParserCtxtPtr ctxt, int terminate) {
"HPP: entering CONTENT\n");
#endif
break;
+ case XML_PARSER_PUBLIC_LITERAL:
+ xmlGenericError(xmlGenericErrorContext,
+ "HPP: internal error, state == XML_PARSER_LITERAL\n");
+ ctxt->instate = XML_PARSER_CONTENT;
+ ctxt->checkIndex = 0;
+#ifdef DEBUG_PUSH
+ xmlGenericError(xmlGenericErrorContext,
+ "HPP: entering CONTENT\n");
+#endif
+ break;
+
}
}
done: