W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2002

XML Schema wildcard question

From: by way of <Maureen.Harig@apcc.com>
Date: Thu, 14 Mar 2002 17:13:39 -0700
Message-Id: <>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>
Is it possible to add a wildcard in the following XML schema enumeration

<xsd:element name="DeviceDataType">
       <xsd:restriction base="xsd:string">
         <xsd:enumeration value="b"/>
         <xsd:enumeration value="f"/>
         <xsd:enumeration value="flag"/>
         <xsd:enumeration value="h"/>
         <xsd:enumeration value="i"/>
         <xsd:enumeration value="s"/>
                           <xsd:enumeration value="*"/>

Will the enumeration line that contains:  value="*" match any value that
wasn't equal to
b, f, flag, h, i, or s?  Does a wildcard feature exist in XML Schemas?

Thank you for your help,

Maureen C. Harig

Received on Thursday, 14 March 2002 19:15:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:57 UTC