[libxml2] Test case for 570702



commit be390ed0a1cff06a6157ea189984d9d9e8cedcb1
Author: Daniel Veillard <veillard redhat com>
Date:   Wed Aug 12 12:40:39 2009 +0200

    Test case for 570702

 result/schemas/570702_0_0     |    1 +
 test/schemas/570702_0.xml     |   13 +++++++++++++
 test/schemas/570702_0.xsd     |   25 +++++++++++++++++++++++++
 3 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 0000000..41716e7
--- /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 0000000..e69de29
diff --git a/test/schemas/570702_0.xml b/test/schemas/570702_0.xml
new file mode 100644
index 0000000..774e56f
--- /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 0000000..397a4d6
--- /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>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]