Project

Profile

Help

RE: How to specify the xsd schema used to validate with s... » elt.test.datatypes.xsd

Alex Muir, 2014-04-04 11:50

 
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="test.datatypes">

<xs:complexType>

<xs:sequence>

<xs:element ref="URI.Uniform.Resource.Identifier"/>

<xs:element ref="Binary.content.coded.as.base64"/>

<xs:element ref="Boolean.true.or.false"/>

<xs:element ref="Signed.value.of.8.bits"/>

<xs:element ref="Gregorian.calendar.date"/>

<xs:element ref="Instant.of.time.Gregorian.calendar"/>

<xs:element ref="Decimal.numbers"/>

<xs:element ref="IEEE.64-bit.floating-point"/>

<xs:element ref="IEEE.32-bit.floating-point"/>

<xs:element ref="Recurring.period.of.time.monthly.day"/>

<xs:element ref="Recurring.period.of.time.yearly.month"/>

<xs:element ref="Recurring.period.of.time.yearly.day"/>

<xs:element ref="Period.of.one.year"/>

<xs:element ref="Period.of.one.month"/>

<xs:element ref="Binary.contents.coded.in.hexadecimal"/>

<xs:element ref="Definition.of.unique.identifiers"/>

<xs:element ref="Definition.of.references.to.unique.identifiers"/>

<xs:element ref="Definition.of.lists.of.references.to.unique.identifiers"/>

<xs:element ref="A.32-bit.signed.integers"/>

<xs:element ref="Signed.integers.of.arbitrary.length"/>

<xs:element ref="RFC.1766.language.codes"/>

<xs:element ref="A.64-bit.signed.integers"/>

<xs:element ref="XML.1.O.name"/>

<xs:element ref="Unqualified.names"/>

<xs:element ref="Strictly.negative.integers.of.arbitrary.length"/>

<xs:element ref="XML.1.0.name.token.NMTOKEN"/>

<xs:element ref="List.of.XML.1.0.name.tokens.NMTOKEN"/>

<xs:element ref="Integers.of.arbitrary.length.positive.or.equal.to.zero"/>

<xs:element ref="Integers.of.arbitrary.length.negative.or.equal.to.zero"/>

<xs:element ref="Whitespace-replaced.strings"/>

<xs:element ref="Strictly.positive.integers.of.arbitrary.length"/>

<xs:element ref="Namespaces.in.XML-qualified.names"/>

<xs:element ref="A.16-bit.signed.integers"/>

<xs:element ref="Point.in.time.recurring.each.day"/>

<xs:element ref="Whitespace-replaced.and.collapsed.strings"/>

<xs:element ref="Unsigned.value.of.8.bits"/>

<xs:element ref="Unsigned.integer.of.32.bits"/>

<xs:element ref="Unsigned.integer.of.64.bits"/>

<xs:element ref="Unsigned.integer.of.16.bits."/>
<xs:element ref="text"/>
<!-- <xs:element ref="definition.text.type"/>-->

</xs:sequence>

</xs:complexType>

</xs:element>
<xs:element name="text" type="xs:string"/>
<!--
<xs:element name="definition.text.type" type="text"/>
<xs:simpleType name="text">
<xs:restriction base="xs:string">
<xs:pattern value=".*"/>
</xs:restriction>
</xs:simpleType>-->
<xs:element name="URI.Uniform.Resource.Identifier" type="xs:anyURI"/>
<xs:element name="Binary.content.coded.as.base64" type="xs:base64Binary"/>
<xs:element name="Boolean.true.or.false" type="xs:boolean"/>
<xs:element name="Signed.value.of.8.bits" type="xs:byte"/>
<xs:element name="Gregorian.calendar.date" type="xs:date"/>
<xs:element name="Instant.of.time.Gregorian.calendar" type="xs:dateTime"/>
<xs:element name="Decimal.numbers" type="xs:decimal"/>
<xs:element name="IEEE.64-bit.floating-point" type="xs:double"/>
<xs:element name="IEEE.32-bit.floating-point" type="xs:float"/>
<xs:element name="Recurring.period.of.time.monthly.day" type="xs:gDay"/>
<xs:element name="Recurring.period.of.time.yearly.month" type="xs:gMonth"/>
<xs:element name="Recurring.period.of.time.yearly.day" type="xs:gMonthDay"/>
<xs:element name="Period.of.one.year" type="xs:gYear"/>
<xs:element name="Period.of.one.month" type="xs:gYearMonth"/>
<xs:element name="Binary.contents.coded.in.hexadecimal" type="xs:hexBinary"/>
<xs:element name="Definition.of.unique.identifiers" type="xs:ID"/>
<xs:element name="Definition.of.references.to.unique.identifiers" type="xs:IDREF"/>
<xs:element name="Definition.of.lists.of.references.to.unique.identifiers" type="xs:IDREFS"/>
<xs:element name="A.32-bit.signed.integers" type="xs:int"/>
<xs:element name="Signed.integers.of.arbitrary.length" type="xs:integer"/>
<xs:element name="RFC.1766.language.codes" type="xs:language"/>
<xs:element name="A.64-bit.signed.integers" type="xs:long"/>
<xs:element name="XML.1.O.name" type="xs:Name"/>
<xs:element name="Unqualified.names" type="xs:NCName"/>
<xs:element name="Strictly.negative.integers.of.arbitrary.length" type="xs:negativeInteger"/>
<xs:element name="XML.1.0.name.token.NMTOKEN" type="xs:NMTOKEN"/>
<xs:element name="List.of.XML.1.0.name.tokens.NMTOKEN" type="xs:NMTOKENS"/>
<xs:element name="Integers.of.arbitrary.length.positive.or.equal.to.zero" type="xs:nonNegativeInteger"/>
<xs:element name="Integers.of.arbitrary.length.negative.or.equal.to.zero" type="xs:nonPositiveInteger"/>
<xs:element name="Whitespace-replaced.strings" type="xs:normalizedString"/>
<xs:element name="Strictly.positive.integers.of.arbitrary.length" type="xs:positiveInteger"/>
<xs:element name="Namespaces.in.XML-qualified.names" type="xs:QName"/>
<xs:element name="A.16-bit.signed.integers" type="xs:short"/>
<xs:element name="Point.in.time.recurring.each.day" type="xs:time"/>
<xs:element name="Whitespace-replaced.and.collapsed.strings" type="xs:token"/>
<xs:element name="Unsigned.value.of.8.bits" type="xs:unsignedByte"/>
<xs:element name="Unsigned.integer.of.32.bits" type="xs:unsignedInt"/>
<xs:element name="Unsigned.integer.of.64.bits" type="xs:unsignedLong"/>
<xs:element name="Unsigned.integer.of.16.bits." type="xs:unsignedShort"/>
</xs:schema>
(1-1/3)