mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-15 23:24:06 +03:00
Test case for 570702
This commit is contained in:
parent
11e28e4dfb
commit
be390ed0a1
1
result/schemas/570702_0_0
Normal file
1
result/schemas/570702_0_0
Normal file
@ -0,0 +1 @@
|
||||
./test/schemas/570702_0.xml validates
|
0
result/schemas/570702_0_0.err
Normal file
0
result/schemas/570702_0_0.err
Normal file
13
test/schemas/570702_0.xml
Normal file
13
test/schemas/570702_0.xml
Normal file
@ -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>
|
||||
|
25
test/schemas/570702_0.xsd
Normal file
25
test/schemas/570702_0.xsd
Normal file
@ -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>
|
Loading…
x
Reference in New Issue
Block a user