hey Mike,

On 16.12.2016 09:03, [email protected] wrote:
> +            if ((int)c < 20 && c != '\t' && c != '\n' && c != 'r') {
> +                sb.replace(t, t + 1, "");
> +            }

c!='r' should probably be '\r' ?

it would be cleaner to use an xml library to escape strings properly (we've got 
Xerces in OJ, you could use it's XMLSerializer). 

easier would be to use apache's StringEscapeUtils.escapeXml(str) .

..ede

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to