Hi Jorge,
this should be fixed by this commit: http://svn.apache.org/viewvc?view=rev&revision=369417

Alberto

At 13.15 09/01/2007 -0600, jhh wrote:
Hello,

I have just migrated from xerces 2.6 to xerces 2.7.  I encountered
problems in 2.7 handling regular exceptions defined in an .xsd file,
with the following definition:

        <xsd:simpleType name="String20to1000by5">
                <xsd:restriction base="xsd:string">
                        <xsd:minLength value="2"/>
                        <xsd:maxLength value="4"/>
<xsd:pattern value="(([2-9][05])|([1-9][0-9][05])|1000)"/>
                </xsd:restriction>
        </xsd:simpleType>

When validating an XML instance document against the schema, I get
SAXParseExceptions when performing the validation (for example for
a value of 1000) that match the schema definition for the element.
This used to work with the 2.6 version.

Does anyone have any feedback on why I could be hitting these errors?

Thanks!

Jorge

Reply via email to