[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Schema 1.1: xs:anyEnumeration considered?

From: Bryce Nesbitt <bryce1@obviously.com>
Date: Wed, 02 May 2007 12:08:16 -0700
Message-ID: <4638E1A0.2040804@obviously.com>
To: xmlschema-dev@w3.org
CC: Pete Cordell <petexmldev@tech-know-ware.com>, Chuck Herrick <cherrick@spamcop.net>
Re: Schema 1.1: xs:anyEnumeration considered?

The original poster (that's me) was drawing an analogy between Java and
XML, perhaps a little unfair.  In the Java world packages outside the
core get an "x" in their name (for "experimental" or "extended") until
they are eventually folded into the core.

For XML enums it might look like this.  Imagine an enumeration
containing "schwinn", "huffy" and "specialized", then:

    <vendor>specialized</vendor>
    <vendor>heffy</vendor>
    <vendor>Schwinn</vendor>
    <vendor enum_extension="true">breezer</vendor>

when validated "heffy" would be invalid, but "breezer" is clearly marked
as existing outside the predefined list of bicycle manufacturers.



Pete Cordell wrote:
>
> Gee, thanks.  Believe it or not I had already tried that, but it didn't
> actually give me any additional insight into what the OP was suggesting.
> About as useful as suggesting:
>
> http://www.google.com/search?hl=en&q=computer+science&btnG=Google+Search
Received on Wednesday, 2 May 2007 19:08:22 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.