W3C home > Mailing lists > Public > www-international@w3.org > October to December 2005

Re: New article published: xml:lang in XML document schemas

From: Sebastian Rahtz <sebastian.rahtz@oucs.ox.ac.uk>
Date: Thu, 24 Nov 2005 16:36:28 +0000
Message-ID: <4385EC0C.2070708@oucs.ox.ac.uk>
To: Richard Ishida <ishida@w3.org>
CC: www-international@w3.org

To follow on from Felix' note, there is an amusing contradiction in the
document:

It says that "XML Schema requires that the xml namespace be declared and
imported before using xml:lang (and other xml namespace values)"
and then "RELAX NG predeclares the xml namespace, as in XML, so no
additional declaration is needed." 

But an XML Schema itself is an XML document, like the document instance
which needs no declaration; so why declare the XML namespace in a schema?
If I can declare xml:lang in my schema, I can presumably *mis*declare
it, thereby setting up an internal conflict.

I do find the W3C Schema approach to the XML namespace rather flawed. 
It's a pain in the neck on a daily basis
when one's schema has to import xml.xsd all the time, for attributes
which we all agree have a fixed
definition.

-- 
Sebastian Rahtz      
Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431

OSS Watch: JISC Open Source Advisory Service
http://www.oss-watch.ac.uk
Received on Thursday, 24 November 2005 16:36:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:17:06 GMT