libxml2 r3726 - trunk
- From: veillard svn gnome org
- To: svn-commits-list gnome org
- Subject: libxml2 r3726 - trunk
- Date: Thu, 3 Apr 2008 10:05:06 +0100 (BST)
Author: veillard
Date: Thu Apr 3 10:05:05 2008
New Revision: 3726
URL: http://svn.gnome.org/viewvc/libxml2?rev=3726&view=rev
Log:
* HTMLparser.c: apparently it's okay to forget the semicolumn after
entity refs in HTML, fixing char refs parsing accordingly based on
T. Manske patch, this should fix #517653
Daniel
Modified:
trunk/ChangeLog
trunk/HTMLparser.c
Modified: trunk/HTMLparser.c
==============================================================================
--- trunk/HTMLparser.c (original)
+++ trunk/HTMLparser.c Thu Apr 3 10:05:05 2008
@@ -3115,9 +3115,9 @@
val = val * 16 + (CUR - 'A') + 10;
else {
htmlParseErr(ctxt, XML_ERR_INVALID_HEX_CHARREF,
- "htmlParseCharRef: invalid hexadecimal value\n",
+ "htmlParseCharRef: missing semicolumn\n",
NULL, NULL);
- return(0);
+ break;
}
NEXT;
}
@@ -3130,9 +3130,9 @@
val = val * 10 + (CUR - '0');
else {
htmlParseErr(ctxt, XML_ERR_INVALID_DEC_CHARREF,
- "htmlParseCharRef: invalid decimal value\n",
+ "htmlParseCharRef: missing semicolumn\n",
NULL, NULL);
- return(0);
+ break;
}
NEXT;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]