is <foo xmlns:xml='http://www.w3.org/XML/1998/namespace' xml:lang='en'>test</foo> legal?

A thread got started in the Schema IG list [1] about whether an instance is
allowed to give an explicit NSDecl for the prefix xml, as long as it is
bound to http://www.w3.org/XML/1998/namespace.  For example,

	<foo xmlns:xml='http://www.w3.org/XML/1998/namespace'
xml:lang='en'>test</foo>

It was pointed out that some namespace aware processors (xerces and oracle)
accept the above instance, while others (MSXML3.0 and IE5.5) reject it.
This suggestions that some clarification is necessary (probably in the
forthcoming? revision to the Namespaces Rec [2]) or at least in the errata.

I think the proper interpretation is that the instance should be accepted.

pvb

References
[1] http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jan/0269.html
and subsequent messages
[2] http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Jan/0276.html

Received on Tuesday, 30 January 2001 12:54:20 UTC