Author: mrglavas Revision: 1023648 Modified property: svn:log Modified: svn:log at Mon Oct 18 04:39:14 2010 ------------------------------------------------------------------------------ --- svn:log (original) +++ svn:log Mon Oct 18 04:39:14 2010 @@ -1 +1 @@ -Fixing subtle bugs with string tokenization. The regex "\\s+" matches a couple characters which are not XML white spaces. Use a StringTokenizer instead with the four white spaces chars (0x9, 0xA, 0xD, 0x20) as delimiters. Should be slightly faster too since the split() method ends up compiling a Pattern every time you call it. +Fixing subtle bugs with string tokenization. The regex "\\s+" matches a couple characters (0xB and 0xC) which are not XML white spaces. Use a StringTokenizer instead with the four white spaces chars (0x9, 0xA, 0xD, 0x20) as delimiters. Should be slightly faster too since the split() method ends up compiling a Pattern every time you call it.
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
