[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: If prefix is exactly 'xml'


prefix xml
In article <OF905969C5.A51CA293-ON85256CCD.0069D36E@t...> 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 
http://www.w3.org/XML/1998/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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.