"name" overloaded

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

"name" overloaded

Xan Gregg-2

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.