Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.9.0
-
None
Description
Current behaviour:
[b-a], Expected: Invalid, Actual: Invalid, Reason: backwards
[--+], Expected: Invalid, Actual: Invalid, Reason: '-' can't be used in a s-e range
[+--], Expected: Invalid, Actual: Invalid, Reason: '-' can't be used in a s-e range
[-+], Expected: Valid, Actual: Valid, Reason: '-' is at the beginning of a positive character range (PCR)
[+-], Expected: Valid, Actual: Valid, Reason: '-' is at the end of a (PCR)
[^-+], Expected: Valid, Actual: Valid, Reason: '-' is at the beginning of a (PCR)
[^+-], Expected: Valid, Actual: Valid, Reason: '-' is at the end of a (PCR)
[-], Expected: Valid, Actual: Invalid, Reason: '-' is at the beginning/end of a (PCR)
[^-], Expected: Valid, Actual: Invalid, Reason: '-' is at the beginning/end of a (PCR)
[--], Expected: Valid, Actual: Invalid, Reason: '-' is at the beginning and end of a (PCR)
[^--], Expected: Valid, Actual: Invalid, Reason: '-' is at the beginning and end of a (PCR)
[---], Expected: Invalid, Actual: Invalid, Reason: '-' can't be used in a s-e range
The current version of Xerces in SVN gives the wrong answer for 4 cases.
This was originally reported as a bug against Eclipse XSD. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=197103 for more details.