diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2004-02-12 12:43:49 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2004-02-12 12:43:49 +0000 |
commit | 0ddb21c46ca6ac5297ff5f6537480de8463223ea (patch) | |
tree | 5b83676fc2a7e605e9d515435d22bc6abd2123e8 /test | |
parent | 036143bb535dd7829c3877d3c51f5d6e1298f07e (diff) | |
download | android_external_libxml2-0ddb21c46ca6ac5297ff5f6537480de8463223ea.tar.gz android_external_libxml2-0ddb21c46ca6ac5297ff5f6537480de8463223ea.tar.bz2 android_external_libxml2-0ddb21c46ca6ac5297ff5f6537480de8463223ea.zip |
fixing bug #132930 with the provided patch, a bit suspicious about it but
* xmlregexp.c: fixing bug #132930 with the provided patch, a bit
suspicious about it but this is fairly contained and regression
tests still passes.
* test/schemas/all1* result/schemas/all1*: added the test to
the regression suite.
Daniel
Diffstat (limited to 'test')
-rw-r--r-- | test/schemas/all1_0.xml | 4 | ||||
-rw-r--r-- | test/schemas/all1_0.xsd | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/test/schemas/all1_0.xml b/test/schemas/all1_0.xml new file mode 100644 index 00000000..f50088c6 --- /dev/null +++ b/test/schemas/all1_0.xml @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<a> + <b/> +</a> diff --git a/test/schemas/all1_0.xsd b/test/schemas/all1_0.xsd new file mode 100644 index 00000000..28fee0eb --- /dev/null +++ b/test/schemas/all1_0.xsd @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:complexType name="A"> + <xs:all> + <xs:element name="b" type="xs:string" minOccurs="0"/> + </xs:all> + </xs:complexType> + + <xs:element name="a" type="A"/> +</xs:schema> |