Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Are there standard namespaces that don't need URIs?

From: Eric Amick <eric-amick@-------.--->
To: NULL
Date: 2/3/2007 9:36:00 AM

On Sat, 3 Feb 2007 08:02:34 -0600, Grant Robertson <bogus@b...>
wrote:

>As I am learning about XML I seen that xmlns is used with a colon after 
>it as if it were a namespace itself. However, I have never seen a URI 
>given for it. Is "xmlns" a sort of predefined word in that all XML 
>software just knows what it means without it needing a URI?
>
>Are there any more of these special words that need no definition within 
>any schema? I know there are other special words like "element" and 
>"targetNamespace" but these seem to be defined within the XML Schema 
>schema definition. It seems that only "xmlns" must be known before 
>anything else can be known.

xmlns is a namespace prefix, not a namespace; namespaces are identified
by a URI. Anyway, the xmlns prefix is associated with the URI
http://www.w3.org/2000/xmlns/, and the namespace standard forbids any
other prefix from being associated with that URI. You can get all the
details, including a description of other reserved prefixes, from the
standard at http://www.w3.org/TR/2006/REC-xml-names-20060816/.
-- 
Eric Amick
Columbia, MD


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent