Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.7.0
-
None
-
debian etch
libxerces27 2.7.0-3
libxml-xerces-perl 2.7.0-0-2
Description
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.