1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-24 13:33:01 +03:00

fix an HTML parsing error on large data sections reported by Mike Day add

* HTMLparser.c: fix an HTML parsing error on large data sections
  reported by Mike Day
* test/HTML/utf8bug.html result/HTML/utf8bug.html.err
  result/HTML/utf8bug.html.sax result/HTML/utf8bug.html: add the
  reproducer to the test suite
daniel

svn path=/trunk/; revision=3797
This commit is contained in:
Daniel Veillard
2008-09-25 16:06:18 +00:00
parent 2e36da9f6f
commit a57ba4ce96
6 changed files with 1132 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
./test/HTML/utf8bug.html:45: HTML parser error : htmlParseEntityRef: expecting ';'
<img src="showimage.aspx?path=Files_Upload\192.png&width=%>" border="0" />
^
./test/HTML/utf8bug.html:118: HTML parser error : htmlParseEntityRef: expecting ';'
<a href="showimage.aspx?path=Files_Upload\302.JPG&Width=" rel="lightbox" tit
^
./test/HTML/utf8bug.html:119: HTML parser error : htmlParseEntityRef: expecting ';'
<img src="showimage.aspx?path=Files_Upload\302.JPG&Width=220" align="left" b
^
./test/HTML/utf8bug.html:121: HTML parser error : Tag s1 invalid
ز همکاران است. روی آن کلیک کند.</FONT></FONT></STRONG><S1
^
./test/HTML/utf8bug.html:177: HTML parser error : htmlParseEntityRef: expecting ';'
<EFBFBD>ین پاسخ را برای نویسنده مقاله رجانیوز copy&paste
^