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

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

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
Received on Thursday, 24 November 2005 16:36:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:40:51 UTC