[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Pete Cordell" <petexmldev@c...>
  • To: "David Carlisle" <davidc@n...>
  • Date: Wed, 22 Sep 2010 17:42:08 +0100

Original Message From: "David Carlisle"
> On 22/09/2010 16:06, Pete Cordell wrote:
>> By reserving names that start with "xml" I'm assuming the W3C is saying
>> that you (anyone not acting on behalf of the W3C) can not define names
>> that start with "xml".
>
> but what does "define" mean there. i can make the document

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.

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!!!

Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using XML C++
data binding to convert XSD schemas to C++ classes.
Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com
for more info





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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member