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

Michael Glavassevich resolved XERCESJ-1265.
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.9.1

Fix committed to SVN by Khaled. Thanks to Ed Merks who helped devise this patch.

> E2-67 not fully implemented; rejecting regular expressions like [-], [^-]
> -------------------------------------------------------------------------
>
>                 Key: XERCESJ-1265
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1265
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: XML Schema Structures
>    Affects Versions: 2.9.0
>            Reporter: Michael Glavassevich
>            Priority: Minor
>             Fix For: 2.9.1
>
>
> 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.

-- 
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]

Reply via email to