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.

Received on Wednesday, 22 November 2006 17:52:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:38:24 UTC