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 "Martin Waite (JIRA)" <xe...@xml.apache.org> on 2007/10/13 22:04:50 UTC
[jira] Created: (XERCESC-1752) pattern match failure in restriction
of decimal
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
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
[jira] Closed: (XERCESC-1752) pattern match failure in restriction
of decimal
Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESC-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Kolpackov closed XERCESC-1752.
------------------------------------
> 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
[jira] Commented: (XERCESC-1752) pattern match failure in
restriction of decimal
Posted by "David Bertoni (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESC-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534568 ]
David Bertoni commented on XERCESC-1752:
----------------------------------------
You might want to try upgrading to 2.8, because a number of regex bugs have been fixed in 2.8.
> 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
> 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
[jira] Commented: (XERCESC-1752) pattern match failure in
restriction of decimal
Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESC-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534595 ]
Boris Kolpackov commented on XERCESC-1752:
------------------------------------------
I just checked, and yes, this bug is 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
> 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
[jira] Updated: (XERCESC-1752) pattern match failure in restriction
of decimal
Posted by "Martin Waite (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESC-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Waite updated XERCESC-1752:
----------------------------------
Attachment: schema2
vgis2
vgis-test
Attached schema, document and perl script that demonstrate the problem.
> 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
> 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
[jira] Resolved: (XERCESC-1752) pattern match failure in
restriction of decimal
Posted by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org>.
[ 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