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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] If prefix is exactly 'xml'

[ Lists Home | Date Index | Thread Index ]

In article <OF905969C5.A51CA293-ON85256CCD.0069D36E@torolab.ibm.com> you write:

>" 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. "

>Does this mean that if the user does use the 'xml' prefix, should the
>processor reject all local parts other than 'lang' and 'space'?  (ie.
>should <A xml:root = " ... " /> be a fatal error?)

No.  It's not about what xml:whatever attributes you can use.  It's about
declaring the prefix "xml" and the namespace 

It means you can't use "xml" as a prefix referring to your namespace,
like this:

  <foo xmlns:xml="http://example.org/my/namespace";>

and that you can't use some other prefix to refer to the xml namespace,
like this:

  <foo xmlns:yml="http://www.w3.org/XML/1998/namespace";>

-- Richard


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

Copyright 2001 XML.org. This site is hosted by OASIS