You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2007/08/30 17:32:30 UTC
[jira] Created: (XERCESJ-1265) E2-67 not fully implemented;
rejecting regular expressions like [-], [^-]
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
Current behaviour:
Regex Expected Actual Reason
[b-a] I I backwards
[--+] I I '-' can't be used in a s-e range
[+--] I I '-' can't be used in a s-e range
[-+] V V '-' is at the beginning of a positive character range (PCR)
[+-] V V '-' is at the end of a (PCR)
[^-+] V V '-' is at the beginning of a (PCR)
[^+-] V V '-' is at the end of a (PCR)
[-] V I '-' is at the beginning/end of a (PCR)
[^-] V I '-' is at the beginning/end of a (PCR)
[--] V I '-' is at the beginning and end of a (PCR)
[^--] V I '-' is at the beginning and end of a (PCR)
[---] I I '-' can't be used in a s-e range
V = valid
I = invalid
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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Updated: (XERCESJ-1265) E2-67 not fully implemented;
rejecting regular expressions like [-], [^-]
Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESJ-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Glavassevich updated XERCESJ-1265:
------------------------------------------
Description:
Current behaviour:
Regex Expected Actual Reason
[b-a] I I backwards
[--+] I I '-' can't be used in a s-e range
[+--] I I '-' can't be used in a s-e range
[-+] V V '-' is at the beginning of a positive character range (PCR)
[+-] V V '-' is at the end of a (PCR)
[^-+] V V '-' is at the beginning of a (PCR)
[^+-] V V '-' is at the end of a (PCR)
[-] V I '-' is at the beginning/end of a (PCR)
[^-] V I '-' is at the beginning/end of a (PCR)
[--] V I '-' is at the beginning and end of a (PCR)
[^--] V I '-' is at the beginning and end of a (PCR)
[---] I I '-' can't be used in a s-e range
V = valid
I = invalid
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.
was:
Current behaviour:
Regex Expected Actual Reason
[b-a] I I backwards
[--+] I I '-' can't be used in a s-e range
[+--] I I '-' can't be used in a s-e range
[-+] V V '-' is at the beginning of a positive character range (PCR)
[+-] V V '-' is at the end of a (PCR)
[^-+] V V '-' is at the beginning of a (PCR)
[^+-] V V '-' is at the end of a (PCR)
[-] V I '-' is at the beginning/end of a (PCR)
[^-] V I '-' is at the beginning/end of a (PCR)
[--] V I '-' is at the beginning and end of a (PCR)
[^--] V I '-' is at the beginning and end of a (PCR)
[---] I I '-' can't be used in a s-e range
V = valid
I = invalid
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.
Fixup formatting.
> 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
>
> Current behaviour:
> Regex Expected Actual Reason
> [b-a] I I backwards
> [--+] I I '-' can't be used in a s-e range
> [+--] I I '-' can't be used in a s-e range
> [-+] V V '-' is at the beginning of a positive character range (PCR)
> [+-] V V '-' is at the end of a (PCR)
> [^-+] V V '-' is at the beginning of a (PCR)
> [^+-] V V '-' is at the end of a (PCR)
> [-] V I '-' is at the beginning/end of a (PCR)
> [^-] V I '-' is at the beginning/end of a (PCR)
> [--] V I '-' is at the beginning and end of a (PCR)
> [^--] V I '-' is at the beginning and end of a (PCR)
> [---] I I '-' can't be used in a s-e range
> V = valid
> I = invalid
> 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Updated: (XERCESJ-1265) E2-67 not fully implemented;
rejecting regular expressions like [-], [^-]
Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESJ-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Glavassevich updated XERCESJ-1265:
------------------------------------------
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.
was:
Current behaviour:
Regex Expected Actual Reason
[b-a] I I backwards
[--+] I I '-' can't be used in a s-e range
[+--] I I '-' can't be used in a s-e range
[-+] V V '-' is at the beginning of a positive character range (PCR)
[+-] V V '-' is at the end of a (PCR)
[^-+] V V '-' is at the beginning of a (PCR)
[^+-] V V '-' is at the end of a (PCR)
[-] V I '-' is at the beginning/end of a (PCR)
[^-] V I '-' is at the beginning/end of a (PCR)
[--] V I '-' is at the beginning and end of a (PCR)
[^--] V I '-' is at the beginning and end of a (PCR)
[---] I I '-' can't be used in a s-e range
V = valid
I = invalid
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.
> 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
>
> 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Updated: (XERCESJ-1265) E2-67 not fully implemented;
rejecting regular expressions like [-], [^-]
Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
[ https://issues.apache.org/jira/browse/XERCESJ-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Glavassevich updated XERCESJ-1265:
------------------------------------------
Comment: was deleted
> 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
>
> Current behaviour:
> Regex Expected Actual Reason
> [b-a] I I backwards
> [--+] I I '-' can't be used in a s-e range
> [+--] I I '-' can't be used in a s-e range
> [-+] V V '-' is at the beginning of a positive character range (PCR)
> [+-] V V '-' is at the end of a (PCR)
> [^-+] V V '-' is at the beginning of a (PCR)
> [^+-] V V '-' is at the end of a (PCR)
> [-] V I '-' is at the beginning/end of a (PCR)
> [^-] V I '-' is at the beginning/end of a (PCR)
> [--] V I '-' is at the beginning and end of a (PCR)
> [^--] V I '-' is at the beginning and end of a (PCR)
> [---] I I '-' can't be used in a s-e range
> V = valid
> I = invalid
> 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org
[jira] Resolved: (XERCESJ-1265) E2-67 not fully implemented;
rejecting regular expressions like [-], [^-]
Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
[ 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org