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: <>
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:restriction base="xs:NCName">
    <xs:enumeration value="default"/>
    <xs:enumeration value="preserve"/>

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

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:33 UTC