OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   XML Schema Regex Pattern Question

[ Lists Home | Date Index | Thread Index ]

Is this legal?

<xsd:simpleType name="AGE"><!-- Age -->
  <xsd:restriction base="xsd:string">
    <xsd:pattern value="NN|NB|BB|99|[0-9]{2}" />
    <!-- NN = Under one day (NewNate); NB = New born 1-6 days; BB = Baby 7-364 days; 99 = Over 98 years old -->
  </xsd:restriction>
</xsd:simpleType>

len




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS