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

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 UTC