<!DOCTYPE xsd:schema 
  PUBLIC "-//W3C//DTD XMLSCHEMA 200105//EN"
         "http://www.w3.org/2001/XMLSchema.dtd" [
<!ENTITY % schemaAttrs "
  xmlns:this CDATA #IMPLIED
  xmlns:xsd  CDATA #IMPLIED"
>
<!ENTITY % p "xsd:">
<!ENTITY % s ":xsd">
<!ENTITY % html-for-documentation SYSTEM
  "ancillary/xhtml-for-annotation.dtd">
%html-for-documentation;

]>
<xsd:schema 
 xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
 xmlns:tns="http://www.w3.org/XML/2008/xsdl-exx/ns1" 
 targetNamespace="http://www.w3.org/XML/2008/xsdl-exx/ns1"
 elementFormDefault="qualified" 
 >
 <xsd:annotation>
  <xsd:documentation>
   <div xmlns="http://www.w3.org/1999/xhtml"
    >
    <p>Sample schema for discussion and testing purposes.
     This relates to bug <a href=
      "http://www.w3.org/Bugs/Public/show_bug.cgi?id=5003"
      >5003</a>, in particular to the question
     "Are the validity and assigned type of an element
     independent of its ancestry?"
    </p>
    <p>
     14 January 2008.
    </p>
   </div>
  </xsd:documentation>
  <xsd:appinfo>
  </xsd:appinfo>
 </xsd:annotation>

 <xsd:complexType name="testdata">
  <xsd:choice minOccurs="0" maxOccurs="unbounded">
   <xsd:element ref="tns:pi"/>
   <xsd:element ref="tns:indiana-almost"/>
   <xsd:element ref="tns:II_Chronicles"/>
  </xsd:choice>
 </xsd:complexType>

 <xsd:element name="test" type="tns:testdata"/>	
 <xsd:element name="pi" type="xsd:decimal" fixed="3.141592"/>	
 <xsd:element name="indiana-almost">
  <xsd:complexType>
   <xsd:sequence>
    <xsd:element name="pi" type="xsd:decimal" fixed="4"/>	
   </xsd:sequence>
  </xsd:complexType>
 </xsd:element>
 <xsd:element name="II_Chronicles">
  <xsd:complexType>
   <xsd:sequence>
    <xsd:element name="pi" type="xsd:decimal" fixed="3"/>	
   </xsd:sequence>
  </xsd:complexType>
 </xsd:element>

 
</xsd:schema>
<!-- Keep this comment at the end of the file
Local variables: 
mode: xml 
sgml-default-dtd-file:nil 
sgml-omittag:t 
sgml-shorttag:t 
End:
-->

