diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2006-10-17 15:56:35 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2006-10-17 15:56:35 +0000 |
commit | 48519092e5576516cfadc36c789bfeea2c492ee3 (patch) | |
tree | ac119eb1b7d4774e864ba7a41597578c843fa843 /result | |
parent | dab39b568a00f16eed3e7e01a5fd794428e18abd (diff) | |
download | android_external_libxml2-48519092e5576516cfadc36c789bfeea2c492ee3.tar.gz android_external_libxml2-48519092e5576516cfadc36c789bfeea2c492ee3.tar.bz2 android_external_libxml2-48519092e5576516cfadc36c789bfeea2c492ee3.zip |
fixing HTML entities in attributes parsing bug #362552 added to the
* HTMLparser.c: fixing HTML entities in attributes parsing bug #362552
* result/HTML/entities2.html* test/HTML/entities2.html: added to
the regression suite
Daniel
Diffstat (limited to 'result')
-rw-r--r-- | result/HTML/entities2.html | 6 | ||||
-rw-r--r-- | result/HTML/entities2.html.err | 0 | ||||
-rw-r--r-- | result/HTML/entities2.html.sax | 23 |
3 files changed, 29 insertions, 0 deletions
diff --git a/result/HTML/entities2.html b/result/HTML/entities2.html new file mode 100644 index 00000000..0b85cafc --- /dev/null +++ b/result/HTML/entities2.html @@ -0,0 +1,6 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html><body> +<form> + <input type="text" name="test" value="š"> +</form> +</body></html> diff --git a/result/HTML/entities2.html.err b/result/HTML/entities2.html.err new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/result/HTML/entities2.html.err diff --git a/result/HTML/entities2.html.sax b/result/HTML/entities2.html.sax new file mode 100644 index 00000000..c6efbe53 --- /dev/null +++ b/result/HTML/entities2.html.sax @@ -0,0 +1,23 @@ +SAX.setDocumentLocator() +SAX.startDocument() +SAX.startElement(html) +SAX.ignorableWhitespace( +, 1) +SAX.startElement(body) +SAX.characters( +, 1) +SAX.startElement(form) +SAX.characters( + , 3) +SAX.startElement(input, type='text', name='test', value='š') +SAX.endElement(input) +SAX.characters( +, 1) +SAX.endElement(form) +SAX.characters( +, 1) +SAX.endElement(body) +SAX.ignorableWhitespace( +, 1) +SAX.endElement(html) +SAX.endDocument() |