XML 1.0 Spec & Schemas

   I was looking in the Spec and was unclear on an issue.
   
   In the 1.0 Spec you allowed a DTD to be included in the XML document.
   
   I was unsure if the spec would allow a schema to included in the same method.
   
   Is this under consideration? Should you include this in the errata?
   
   Peter Lenahan
   pjl@ibi.com
   
   ---------------------------SAMPLE--------------------------------------
   
   <?xml version="1.0"?>
   <!DOCTYPE hello [
      <w3c:schema xmlns:w3c="http://www.w3c.org/1999/XMLSchema" 
        elementFormDefault="unqualified"
        attributeFormDefault="unqualified">
   
         <w3c:complexType       name="myelements">
            <w3c:attribute  name="myattribute"      type="w3c:date"/>
            <w3c:element    name="num1"             type="w3c:positiveInteger"/>
            <w3c:element    name="num2"             type="w3c:positiveInteger"/>
         </w3c:complexType>
   
      </w3c:schema>
   ]>
   
   <myelements myattribute="2000-01-31">
        <num1> 100 </num1>
        <num2> 200 </num2>
   </myelements>
   ---------------------------SAMPLE--------------------------------------

Received on Tuesday, 19 September 2000 11:44:02 UTC