1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-27 04:55:04 +03:00
libxml2/test/schemas/bug152470_1.xsd
Kasimier T. Buchcik 289dbb45d9 Removed inheritance of "mixed" content type for short-hand restrictions of
* xmlschemas.c: Removed inheritance of "mixed" content type for
  short-hand restrictions of "anyType" (reported by Guy Fabrice
  to the mailing list). Added the namespace conversion (chameleon
  includes) for the base type reference of <restriction> and
  <extension>.
* test/schemas/bug152470_1.xsd: Adapted due to the above change
  of "mixed" inheritance.
2005-03-17 12:39:31 +00:00

50 lines
1.3 KiB
XML
Executable File

<?xml version="1.0"?>
<schema
targetNamespace="urn:oma:bac:dldrm:roap-1.0"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:roap="urn:oma:bac:dldrm:roap-1.0"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"
elementFormDefault="unqualified"
attributeFormDefault="unqualified">
<!-- Basic Types -->
<complexType name="Request" abstract="true"/>
<!-- Basic types to identify entities -->
<complexType name="Identifier">
<choice>
<element name="keyIdentifier" type="roap:X509SPKIHash"/> <!-- was: type="roap:KeyIdentifier" -->
</choice>
</complexType>
<complexType name="KeyIdentifier" /> <!-- removed: abstract="true" -->
<complexType name="X509SPKIHash">
<complexContent>
<extension base="roap:KeyIdentifier">
<sequence>
<element name="hash" type="base64Binary"/>
</sequence>
<attribute name="algorithm" type="anyURI"
default="http://www.w3.org/2000/09/xmldsig#sha1"/>
</extension>
</complexContent>
</complexType>
<element name="deviceHello" type="roap:DeviceHello"/>
<complexType name="DeviceHello">
<complexContent>
<extension base="roap:Request">
<sequence>
<element name="deviceID" type="roap:Identifier"
maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
</schema>