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: <5.1.0.14.1.20020314171331.024c4588@localhost>
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
example?

<xsd:element name="DeviceDataType">
     <xsd:simpleType>
       <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="*"/>
       </xsd:restriction>
     </xsd:simpleType>
   </xsd:element>


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

http://www.apc.com 
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