OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Quiz: how many namespaces are in scope?

"Costello, Roger L." <costello@mitre.org> wrote on 08/30/2010 01:57:35 PM:


> NOTE: it is illegal to explicitly declare the xml namespace. The xml
> namespace is built into every XML application.

It is *legal* [1] to declare it provided that it's bound to the 'xml' prefix (with namespace name 'http://www.w3.org/XML/1998/namespace').

> Since the xml namespace is implicitly declared in every XML
> document, you can immediately use the xml:lang attribute and the
> xml:space attribute, e.g.,

[1] http://www.w3.org/TR/REC-xml-names/#xmlReserved

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com

E-mail: mrglavas@apache.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS