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

Re: My report on experiments with unused namespaces

  • From: Bjoern Hoehrmann <derhoermi@gmx.net>
  • To: "Pete Cordell" <petexmldev@codalogic.com>
  • Date: Wed, 22 Sep 2010 19:04:19 +0200

Re:  My report on experiments with unused namespaces
* Pete Cordell wrote:
>As far as I'm concerned by using it as a name it's defined as a name, either 
>by you or someone else.  By using a random string xmlfoo as a name, you have 
>defined the name xmlfoo.

Definitions explain things by relating them to other things.

>In the section:
>
>    Names beginning with the string "xml", or with any string which would
>    match (('X'|'x') ('M'|'m') ('L'|'l')), are reserved for standardization 
>in this
>    or future versions of this specification.
>
>I interpret "reserved" to mean "set aside for".  In other words, you, not 
>acting on behalf of W3C, MUST not define names starting with "xml".  If you 
>do, then it's not a valid name and therefore the document is not 
>well-formed.
>
>Therefore:
>
> <xmlfoo>
>   <xmlbar/>
> </xmlfoo>
>
>is not well-formed and so is not XML!!!

"Reserved" here means, if you use "xmlfoo", and a later version defines
"xmlfoo" in a way that conflicts with your use, and your stuff breaks
because of that, then that is entirely your fault. You cannot jump from
"reserved" to "must not" to "not valid" and then to "not well-formed".
The last three terms all have well-defined semantics in the context of
the XML specification, and the definition of "well-formed" does not in-
clude any provisions about the use of reserved names.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


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


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.