W3C home > Mailing lists > Public > public-xml-versioning@w3.org > November 2006

"name" overloaded

From: Xan Gregg <xan.gregg@jmp.com>
Date: Wed, 22 Nov 2006 12:51:57 -0500
Message-Id: <F7112684-6AE4-42C8-94AD-EE8CBF5D8CFD@jmp.com>
To: public-xml-versioning@w3.org

This is a comment on Guide to Versioning XML Languages using XML  
Schema 1.1 WD / 28 September 2006.

The word "name" is overloaded to the point of being confusing. "Name"  
is used for the following

   - an element local name for the example
   - a complexType name for the example
   - a namespace prefix for the example
   - an attribute local name for XML Schema

All are used in the single line:

     <xs:element name="name" type="name:name"/>

Please consider a different example. Perhaps a travel itinerary with  
origin and destination, later extended to include layovers and more  
details per stop.

xan
Received on Wednesday, 22 November 2006 17:52:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:22:05 GMT