aboutsummaryrefslogtreecommitdiffstats
path: root/HTMLparser.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-03-27 21:25:38 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-03-27 21:25:38 +0000
commit6560a42c7b89e7c5df3d87eedad1f34e94ae53bb (patch)
treecf744bd89404cff3ac79fedeeed497a47d89c27f /HTMLparser.c
parent6c5b2d3fff87ae143d30c6871200aaf489056a52 (diff)
downloadandroid_external_libxml2-6560a42c7b89e7c5df3d87eedad1f34e94ae53bb.tar.gz
android_external_libxml2-6560a42c7b89e7c5df3d87eedad1f34e94ae53bb.tar.bz2
android_external_libxml2-6560a42c7b89e7c5df3d87eedad1f34e94ae53bb.zip
two patches from James Bursa on the HTML parser and a typo reindenting,
* HTMLparser.c tree.c: two patches from James Bursa on the HTML parser and a typo * xmlschemastypes.c: reindenting, fixing a memory access problem with dates. Daniel
Diffstat (limited to 'HTMLparser.c')
-rw-r--r--HTMLparser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/HTMLparser.c b/HTMLparser.c
index 24186a24..57fca745 100644
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -2631,9 +2631,9 @@ htmlParsePubidLiteral(htmlParserCtxtPtr ctxt) {
} else if (CUR == '\'') {
NEXT;
q = CUR_PTR;
- while ((IS_LETTER(CUR)) && (CUR != '\''))
+ while ((IS_PUBIDCHAR(CUR)) && (CUR != '\''))
NEXT;
- if (!IS_LETTER(CUR)) {
+ if (CUR != '\'') {
if ((ctxt->sax != NULL) && (ctxt->sax->error != NULL))
ctxt->sax->error(ctxt->userData, "Unfinished PubidLiteral\n");
ctxt->wellFormed = 0;