Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Schema 1.1: xs:anyEnumeration considered? [Thread Next] Flexible schema validation questionTo: xmlschema-dev@--.--- Date: 5/1/2007 7:35:00 AM
How about something akin to "javax". The ability to insert an extra
attribute to a non-conforming element that says "this is extended beyond the
schema". Then you'd still catch mistakes in a standard type (e.g. "runtal"
when "rental" was meant), but still allow true extensions (e.g. "leasing").
I like the idea of providing an enumeration, even in cases where that's just
a serving suggestion or starting point.
Pete Cordell wrote:
>
>
> One thing I often see are sets of enumerations that are not extensible....
>
> <xs:simpleType name="foo">
> <xs:restriction base="xs:string">
> <xs:pattern value="[a-zA-Z0-0]{3,4}"/>
> <xs:enumeration value="ABC"/>
> <xs:enumeration value="DEFG"/>
> <xs:anyEnumeration/> <!-- New -->
> </xs:restriction>
> </xs:simpleType>
>
>
--
View this message in context: http://www.nabble.com/Schema-1.1%3A-xs%3AanyEnumeration-considered--tf3415265.html#a10278076
Sent from the w3.org - xmlschema-dev mailing list archive at Nabble.com.
From hitch4hike@y... Wed May 02 03:18:26 2007
Received: f | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
