W3C home > Mailing lists > Public > xml-names-editor@w3.org > January 2001

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

From: Biron,Paul V <Paul.V.Biron@kp.org>
Date: Tue, 30 Jan 2001 09:47:56 -0800
Message-Id: <376E771642C1D2118DC300805FEAAF43014BA9A8@pars-exch-1.ca.kp.org>
To: "'xml-names-editor@w3.org'" <xml-names-editor@w3.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:56:48 UTC