W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > July 2004

Problem with xml:space in the Schema document for the XML namespace

From: by way of Paul Grosso <mimasa@w3.org>
Date: Wed, 14 Jul 2004 12:57:43 -0500
Message-Id: <4.3.2.7.2.20040714125728.01407270@172.27.10.30>
To: XML Core WG <public-xml-core-wg@w3.org>


Dear XML Core Working Group,

I'm contacting you on behalf of the HTML Working Group.  If I understand
correctly, you are now in charge of the Schema document for the XML
namespace at http://www.w3.org/2001/xml.xsd [1].

This Schema provides a default value of "preserve" for the xml:space
attribute as follows:

 <xs:attribute name="space" default="preserve">
  <xs:simpleType>
   <xs:restriction base="xs:NCName">
    <xs:enumeration value="default"/>
    <xs:enumeration value="preserve"/>
   </xs:restriction>
  </xs:simpleType>
 </xs:attribute>

We believe such an implementation of the XML Schema prohibits an XML
application, such as XHTML (using XML Schemas and including the xml.xsd
for XML attributes), from defining a fixed value for xml:space to be
"preserve", as XML Schema does not allow an attribute to have both
a default value and a fixed value.

We would be grateful if you could kindly remove the default value from
this Schema so that other Schemas can import and define an appropriate
default or fixed value if necessary.

[1] http://lists.w3.org/Archives/Member/w3c-xml-core-wg/2004AprJun/0036

Thanks,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
HTML Activity Lead, Team Contact for the HTML WG
Received on Wednesday, 14 July 2004 14:01:23 GMT

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