Incorrect pattern matching
Posted: Tue Jun 03, 2003 4:12 pm
Hi,
One of my pattern matching validation attribute failed without understandeable reason:
The following schema is used :
The following instance extract is refused :
My environment seems to be correct :
Windows 2000 workstation
Best,
One of my pattern matching validation attribute failed without understandeable reason:
The following schema is used :
Code: Select all
....
<xd:simpleType name="t_no.oj">
<xd:restriction base="xd:string">
<xd:pattern value="\d{1,3}(A|E){0,1}"/>
</xd:restriction>
</xd:simpleType>
....
<xd:element ref="NO.OJ" minOccurs="0"/>
....
<xd:element name="NO.OJ" type="t_no.oj"/>
....
Code: Select all
<NO.OJ>876</NO.OJ>
Windows 2000 workstation
Code: Select all
java version "1.4.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)