diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2007-06-12 13:43:00 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2007-06-12 13:43:00 +0000 |
commit | b9e5acc490bb9b7bdea7fd6c382b02e60047135b (patch) | |
tree | ab44565fea29ac35c872c3ba51a34b4b3f888ba2 /result | |
parent | 3130fe95dbb2e5fc6e30cb7611b221e1382ad11b (diff) | |
download | android_external_libxml2-b9e5acc490bb9b7bdea7fd6c382b02e60047135b.tar.gz android_external_libxml2-b9e5acc490bb9b7bdea7fd6c382b02e60047135b.tar.bz2 android_external_libxml2-b9e5acc490bb9b7bdea7fd6c382b02e60047135b.zip |
fix bug #414846 where invalid characters in attributes would sometimes not
* parser.c: fix bug #414846 where invalid characters in attributes
would sometimes not be detected.
* test/errors/attr4.xml result/errors/attr4.xml*: added a specific
test case to the regression tests
Daniel
svn path=/trunk/; revision=3634
Diffstat (limited to 'result')
-rw-r--r-- | result/errors/attr4.xml | 0 | ||||
-rw-r--r-- | result/errors/attr4.xml.err | 12 | ||||
-rw-r--r-- | result/errors/attr4.xml.str | 10 |
3 files changed, 22 insertions, 0 deletions
diff --git a/result/errors/attr4.xml b/result/errors/attr4.xml new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/result/errors/attr4.xml diff --git a/result/errors/attr4.xml.err b/result/errors/attr4.xml.err new file mode 100644 index 00000000..a9966d85 --- /dev/null +++ b/result/errors/attr4.xml.err @@ -0,0 +1,12 @@ +./test/errors/attr4.xml:1: parser error : invalid character in attribute value +<ROOT attr="XY"/> + ^ +./test/errors/attr4.xml:1: parser error : attributes construct error +<ROOT attr="XY"/> + ^ +./test/errors/attr4.xml:1: parser error : Couldn't find end of Start Tag ROOT line 1 +<ROOT attr="XY"/> + ^ +./test/errors/attr4.xml:1: parser error : Extra content at the end of the document +<ROOT attr="XY"/> + ^ diff --git a/result/errors/attr4.xml.str b/result/errors/attr4.xml.str new file mode 100644 index 00000000..eeb9252f --- /dev/null +++ b/result/errors/attr4.xml.str @@ -0,0 +1,10 @@ +./test/errors/attr4.xml:1: parser error : invalid character in attribute value +<ROOT attr="XY"/> + ^ +./test/errors/attr4.xml:1: parser error : attributes construct error +<ROOT attr="XY"/> + ^ +./test/errors/attr4.xml:1: parser error : Couldn't find end of Start Tag ROOT +<ROOT attr="XY"/> + ^ +./test/errors/attr4.xml : failed to parse |