G
gg
<xsd:complexType name="RegexTypes">
<xsd:sequence>
<xsd:element name="RegexType" minOccurs="0"
maxOccurs="unbounded"/>
<xsd:complexType> <!--
got complain here from Netbean 5.5 IDE XML xsd validator
s4s-elt-must-match.1: The content of 'sequence' must match
(annotation?, (element | group | choice | sequence | any)*). A problem was
found starting at: complexType. [63]
what should I do???
-->
<xsd:element ref="comment" minOccurs="0"/>
<xsd:element name="RegexName" type="xsd:string"/>
<xsd:element name="extractType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="link"/>
<xsd:enumeration value="table"/>
<!-- may need more values for extractType -->
</xsd:restriction>
</xsd:element>
<xsd:element name="Regex" type="xsd:string"/>
<xsd:element name="groupCount" type="xsd
ositiveInteger"/>
<xsd:element name="matchGroupNameList" type="xsd:string">
<xsd:documentation annotation="list of match group names
separated by comma"/>
</xsd:element>
<xsd:element name="extractValueType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="bankTx"/>
<xsd:enumeration value="pmt"/>
<xsd:enumeration value="txfr"/>
<xsd:enumeration value="summary"/>
<xsd:enumeration value="stock"/>
<xsd:enumeration value="card">
<xsd:documentation annotation="can be credit
card, line of credit, loan"/>
</xsd:enumeration>
</xsd:restriction>
</xsd:element>
</xsd:complexType>
</xsd:sequence>
</xsd:complexType>
<xsd:sequence>
<xsd:element name="RegexType" minOccurs="0"
maxOccurs="unbounded"/>
<xsd:complexType> <!--
got complain here from Netbean 5.5 IDE XML xsd validator
s4s-elt-must-match.1: The content of 'sequence' must match
(annotation?, (element | group | choice | sequence | any)*). A problem was
found starting at: complexType. [63]
what should I do???
-->
<xsd:element ref="comment" minOccurs="0"/>
<xsd:element name="RegexName" type="xsd:string"/>
<xsd:element name="extractType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="link"/>
<xsd:enumeration value="table"/>
<!-- may need more values for extractType -->
</xsd:restriction>
</xsd:element>
<xsd:element name="Regex" type="xsd:string"/>
<xsd:element name="groupCount" type="xsd
<xsd:element name="matchGroupNameList" type="xsd:string">
<xsd:documentation annotation="list of match group names
separated by comma"/>
</xsd:element>
<xsd:element name="extractValueType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="bankTx"/>
<xsd:enumeration value="pmt"/>
<xsd:enumeration value="txfr"/>
<xsd:enumeration value="summary"/>
<xsd:enumeration value="stock"/>
<xsd:enumeration value="card">
<xsd:documentation annotation="can be credit
card, line of credit, loan"/>
</xsd:enumeration>
</xsd:restriction>
</xsd:element>
</xsd:complexType>
</xsd:sequence>
</xsd:complexType>