W3C home > Mailing lists > Public > xml-editor@w3.org > July to September 2000

XML 1.0 Spec & Schemas

From: <Peter_Lenahan@ibi.com>
Date: Tue, 19 Sep 2000 11:49:30 -0400
Message-Id: <0009199693.AA969378071@tcpgate.ibi.com>
To: <xml-editor@w3.org>
   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
   <?xml version="1.0"?>
   <!DOCTYPE hello [
      <w3c:schema xmlns:w3c="http://www.w3c.org/1999/XMLSchema" 
         <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"/>
   <myelements myattribute="2000-01-31">
        <num1> 100 </num1>
        <num2> 200 </num2>
Received on Tuesday, 19 September 2000 11:44:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:40 UTC