You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org> on 2007/10/18 10:36:51 UTC

[jira] Resolved: (XERCESC-1752) pattern match failure in restriction of decimal

     [ https://issues.apache.org/jira/browse/XERCESC-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov resolved XERCESC-1752.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.8.0

Fixed in 2.8.0.

> pattern match failure in restriction of decimal
> -----------------------------------------------
>
>                 Key: XERCESC-1752
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1752
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Validating Parser (Schema) (Xerces 1.5 or up only)
>    Affects Versions: 2.7.0
>         Environment: debian etch
> libxerces27                   2.7.0-3 
> libxml-xerces-perl            2.7.0-0-2
>            Reporter: Martin Waite
>             Fix For: 2.8.0
>
>         Attachments: schema2, vgis-test, vgis2
>
>
> I have a simple type based on a restriction of decimal with a pattern.   The pattern is "(\d+)|(\d+\.\d+)" which should match 700.00, but fails with this error:
>    Value '700.00' does not match regular expression facet '(\d+)|(\d+\.\d+)'
> If I reverse change the order of the branches so it reads '(\d+\.\d+)|(\d+)', the pattern match succeeds.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org