xref: /PHP-7.4/ext/soap/tests/bugs/xml.xsd (revision 0384e2ae)
1<?xml version='1.0'?>
2<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "XMLSchema.dtd" >
3<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">
4
5 <xs:attribute name="lang" type="xs:language">
6  <xs:annotation>
7   <xs:documentation>In due course, we should install the relevant ISO 2- and 3-letter
8         codes as the enumerated possible values . . .</xs:documentation>
9  </xs:annotation>
10 </xs:attribute>
11
12 <xs:attribute name="space" default="preserve">
13  <xs:simpleType>
14   <xs:restriction base="xs:NCName">
15    <xs:enumeration value="default"/>
16    <xs:enumeration value="preserve"/>
17   </xs:restriction>
18  </xs:simpleType>
19 </xs:attribute>
20
21 <xs:attribute name="base" type="xs:anyURI">
22  <xs:annotation>
23   <xs:documentation>See http://www.w3.org/TR/xmlbase/ for
24                     information about this attribute.</xs:documentation>
25  </xs:annotation>
26 </xs:attribute>
27
28 <xs:attributeGroup name="specialAttrs">
29  <xs:attribute ref="xml:base"/>
30  <xs:attribute ref="xml:lang"/>
31  <xs:attribute ref="xml:space"/>
32 </xs:attributeGroup>
33
34</xs:schema>
35