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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]