W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > August 2005

Re: Q about DTD for XML Schema

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Wed, 24 Aug 2005 16:40:21 +0100
To: "Paul Grosso" <pgrosso@ptc.com>
Cc: <public-xml-core-wg@w3.org>
Message-ID: <f5bu0hftkbe.fsf@erasmus.inf.ed.ac.uk>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

So I've created a new schema document for the XML namespace [1],
member-visible only for the time being, which is a candidate to
replace the current schema document at [2].  The schema document
currently there will persist at [3].  The diff is below, if that's
helpful.

Let's give this a week for people to consider, then I'll do it.

ht

[1] http://www.w3.org/2005/08/xml.xsd
[2] http://www.w3.org/2001/xml.xsd
[3] http://www.w3.org/2004/10/xml.xsd


*** 2004/10/xml.xsd	Fri Oct 22 16:20:45 2004
- --- 2005/08/xml.xsd	Wed Aug 24 16:34:37 2005
***************
*** 79,85 ****
   <xs:annotation>
    <xs:documentation>In keeping with the XML Schema WG's standard versioning
     policy, this schema document will persist at
!    http://www.w3.org/2004/10/xml.xsd.
     At the date of issue it can also be found at
     http://www.w3.org/2001/xml.xsd.
     The schema document at that URI may however change in the future,
- --- 78,84 ----
   <xs:annotation>
    <xs:documentation>In keeping with the XML Schema WG's standard versioning
     policy, this schema document will persist at
!    http://www.w3.org/2005/08/xml.xsd.
     At the date of issue it can also be found at
     http://www.w3.org/2001/xml.xsd.
     The schema document at that URI may however change in the future,
***************
*** 88,106 ****
     Schema or XML namespaces change, the version of this document at
     http://www.w3.org/2001/xml.xsd will change
     accordingly; the version at
!    http://www.w3.org/2004/10/xml.xsd will not change.
    </xs:documentation>
   </xs:annotation>
  
!  <xs:attribute name="lang" type="xs:language">
    <xs:annotation>
     <xs:documentation>Attempting to install the relevant ISO 2- and 3-letter
           codes as the enumerated possible values is probably never
           going to be a realistic possibility.  See
           RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
           at http://www.iana.org/assignments/lang-tag-apps.htm for
!          further information.</xs:documentation>
    </xs:annotation>
   </xs:attribute>
  
   <xs:attribute name="space">
- --- 87,117 ----
     Schema or XML namespaces change, the version of this document at
     http://www.w3.org/2001/xml.xsd will change
     accordingly; the version at
!    http://www.w3.org/2005/08/xml.xsd will not change.
    </xs:documentation>
   </xs:annotation>
  
!  <xs:attribute name="lang">
    <xs:annotation>
     <xs:documentation>Attempting to install the relevant ISO 2- and 3-letter
           codes as the enumerated possible values is probably never
           going to be a realistic possibility.  See
           RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
           at http://www.iana.org/assignments/lang-tag-apps.htm for
!          further information.
! 
!          The union allows for the 'un-declaration' of xml:lang with
!          the empty string.</xs:documentation>
    </xs:annotation>
+   <xs:simpleType>
+    <xs:union memberTypes="xs:language">
+     <xs:simpleType>    
+      <xs:restriction base="xs:string">
+       <xs:enumeration value=""/>
+      </xs:restriction>
+     </xs:simpleType>
+    </xs:union>
+   </xs:simpleType>
   </xs:attribute>
  
   <xs:attribute name="space">

- -- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFDDJTlkjnJixAXWBoRAmAhAJ41UWYat0Zz+qY2a3i0FWdlpfWDRwCfbrpG
t5mPs30rf9BswMyk63XZgPU=
=uY3A
-----END PGP SIGNATURE-----
Received on Wednesday, 24 August 2005 15:40:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:33 GMT