W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2003

RE: Including the namespace namespace in the root element

From: Anli Shundi <ashundi@tibco.com>
Date: Tue, 29 Apr 2003 18:04:21 -0400
Message-ID: <339902DC0E58D411986A00B0D03D843201C17E1B@extmail.rtp.tibco.com>
To: "'Hugh Wallis'" <hugh_wallis@hyperion.com>, xmlschema-dev@w3.org
As you say declaring the "xml" prefix is unnecessary but not an error as
restricted by:
http://www.w3.org/XML/xml-names-19990114-errata#NE05
<http://www.w3.org/XML/xml-names-19990114-errata#NE05> 
 
The prefix xml is by definition bound to the namespace name
http://www.w3.org/XML/1998/namespace. It may, but need not, be declared, and
must not be bound to any other namespace name. No other prefix may be bound
to this namespace name. 
 
 
Anli Shundi
Tibco Software
www.tibco.com <http://www.tibco.com> 

-----Original Message-----
From: Hugh Wallis [mailto:hugh_wallis@hyperion.com]
Sent: Tuesday, April 29, 2003 4:30 PM
To: xmlschema-dev@w3.org
Subject: Including the namespace namespace in the root element


While it appears to be unnecessary, is it allowed to include
xmlns:xml="http://www.w3.org/XML/1998/namespace" in the root element of an
XML document?
 
Nothing I can see at
http://www.w3.org/TR/1999/REC-xml-names-19990114/#xmlreserved
<http://www.w3.org/TR/1999/REC-xml-names-19990114/#xmlreserved>  or
http://www.w3.org/TR/1999/REC-xml-names-19990114/#nsc-NSDeclared
<http://www.w3.org/TR/1999/REC-xml-names-19990114/#nsc-NSDeclared>  seems to
prohibit it
 
Thanks
 
Hugh



************************************************************************

If you received this e-mail in error please delete it and notify the sender
as soon as possible. The contents of this e-mail may be confidential and the
unauthorized use, copying, or dissemination of it and any attachments to it,
is prohibited.

Internet communications are not secure and Hyperion does not, therefore,
accept legal responsibility for the contents of this message nor for any
damage caused by viruses. The views expressed here do not necessarily
represent those of Hyperion.

For more information about Hyperion, please visit our Web site at
www.hyperion.com 
Received on Tuesday, 29 April 2003 18:11:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:36 GMT