Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.3
-
None
-
f3f95d4282ffbfb307e98d20a166ced4cc982061
Description
Validation of the attached XML file will fail when validating it against the attached .xsd file using the qtversion/examples/xmlpatterns/schema example.
The type that fails is defined by regular expression.
The problematic line is the following in the xml file:
<START_DATE>2009-12-16T23:14:10.823218Z</START_DATE>
validated against the following type in the xsd file:
<xsd:simpleType name="AN_UTC_MICROSEC_DATE_TIME">
<xsd:annotation>
<xsd:documentation>An UTC date-time value with a precision of one microsecond</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:dateTime">
<xsd:pattern value="\d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\d\d\d\dZ"/>
</xsd:restriction>
</xsd:simpleType>