[Home] [By Thread] [By Date] [Recent Entries]

  • To: xml-dev@l...
  • Subject: Proposed change to W3C XML Schema for XML namespace
  • From: ht@i... (Henry S. Thompson)
  • Date: Wed, 08 Sep 2004 12:05:47 +0100
  • Cc: xml-editor@w...
  • User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security ThroughObscurity, linux)

The W3C's XML Core WG is considering a change to the W3C XML Schema
for the http://www.w3.org/XML/1998/namespace namespace (i.e. the xml:
namespace).  The current schema document is available at
http://www.w3.org/2001/xml.xsd.

Currently, that schema says that the default value of xml:space is
"preserve".  This is inconsistent with the description of xml:space in
Section 2.10 of the XML 1.0 and XML 1.1 Recommendations, which say:

	The root element of any document is considered to have
	signaled no intentions as regards application space
	handling, unless it provides a value for this attribute
	or the attribute is declared with a default value.

In particular, XSLT behaves differently when xml:space is present in a
document with the value "preserve" (either explicitly or by inheritance
from a schema), and WXS-aware implementations of XSLT are now becoming
available.  Forcing xml:space to be in effect present with a value of
"preserve", except where explicitly specified otherwise, would break
existing expectations.

Therefore, the XML Core WG propose to remove the default value
of xml:space from the XML Schema.

Please send comments to xml-editor@w..., which is copied on this
message.

ht, for the XML Core WG
-- 
 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@i...
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member