aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2009-08-12 12:40:39 +0200
committerDaniel Veillard <veillard@redhat.com>2009-08-12 12:40:39 +0200
commitbe390ed0a1cff06a6157ea189984d9d9e8cedcb1 (patch)
tree7e42dcfc4abd5f28bd548e5f75e58868a22f5c02
parent11e28e4dfb84804474a3d7a4bfb08bae8f00bc0a (diff)
downloadandroid_external_libxml2-be390ed0a1cff06a6157ea189984d9d9e8cedcb1.tar.gz
android_external_libxml2-be390ed0a1cff06a6157ea189984d9d9e8cedcb1.tar.bz2
android_external_libxml2-be390ed0a1cff06a6157ea189984d9d9e8cedcb1.zip
Test case for 570702
-rw-r--r--result/schemas/570702_0_01
-rw-r--r--result/schemas/570702_0_0.err0
-rw-r--r--test/schemas/570702_0.xml13
-rw-r--r--test/schemas/570702_0.xsd25
4 files changed, 39 insertions, 0 deletions
diff --git a/result/schemas/570702_0_0 b/result/schemas/570702_0_0
new file mode 100644
index 00000000..41716e71
--- /dev/null
+++ b/result/schemas/570702_0_0
@@ -0,0 +1 @@
+./test/schemas/570702_0.xml validates
diff --git a/result/schemas/570702_0_0.err b/result/schemas/570702_0_0.err
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/result/schemas/570702_0_0.err
diff --git a/test/schemas/570702_0.xml b/test/schemas/570702_0.xml
new file mode 100644
index 00000000..774e56f9
--- /dev/null
+++ b/test/schemas/570702_0.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- edited with XML Spy v4.3 U (http://www.xmlspy.com) by asdf (fdsa) -->
+<!--Sample XML file generated by XML Spy v4.3 U (http://www.xmlspy.com)-->
+<dn_len_list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xsi:noNamespaceSchemaLocation="Z:\proto\wsif\temp.xsd">
+ <dn_length>15</dn_length>
+ <destroy>127</destroy>
+ <dn_length>15</dn_length>
+ <destroy>127</destroy>
+ <dn_length>15</dn_length>
+ <destroy>127</destroy>
+</dn_len_list>
+
diff --git a/test/schemas/570702_0.xsd b/test/schemas/570702_0.xsd
new file mode 100644
index 00000000..397a4d6e
--- /dev/null
+++ b/test/schemas/570702_0.xsd
@@ -0,0 +1,25 @@
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+elementFormDefault="qualified" attributeFormDefault="unqualified">
+<xs:element name="dn_len_list">
+<xs:complexType>
+ <xs:sequence maxOccurs="3">
+ <xs:element name="dn_length" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>Destination Number Length</xs:documentation>
+ </xs:annotation>
+ <xs:simpleType>
+ <xs:restriction base="xs:byte">
+ <xs:minInclusive value="1"/>
+ <xs:maxInclusive value="15"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="destroy" type="xs:byte" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation>destroy flag</xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+</xs:complexType>
+</xs:element>
+</xs:schema>