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

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 UTC