OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Proposed change to W3C XML Schema for XML namespace

[ Lists Home | Date Index | Thread Index ]
  • To: xml-dev@lists.xml.org
  • Subject: Proposed change to W3C XML Schema for XML namespace
  • From: ht@inf.ed.ac.uk (Henry S. Thompson)
  • Date: Wed, 08 Sep 2004 12:05:47 +0100
  • Cc: xml-editor@w3.org
  • 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@w3.org, 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@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]




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS