Author: knoaman
Date: Tue Oct 20 20:26:35 2009
New Revision: 827779
URL: http://svn.apache.org/viewvc?rev=827779&view=rev
Log:
Fix a problem with range tokens where lower case characters where not added (in
a case insensitive mode)
Modified:
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xpath/regex/RangeToken.java
Modified:
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xpath/regex/RangeToken.java
URL:
http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xpath/regex/RangeToken.java?rev=827779&r1=827778&r2=827779&view=diff
==============================================================================
---
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xpath/regex/RangeToken.java
(original)
+++
xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xpath/regex/RangeToken.java
Tue Oct 20 20:26:35 2009
@@ -462,7 +462,7 @@
if (ch > 0xffff)
lowers.addRange(ch, ch);
else {
- char uch = Character.toUpperCase((char)ch);
+ char uch = Character.toLowerCase((char)ch);
lowers.addRange(uch, uch);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]