StringUtils { public static String escapeXml10( String s ) { return escape( s, xmlChr, xmlEsc ); }  static String escapeJson( String s ); static String escapeXml10( String s );  }
@Test public void xmlEncodingTest() { for( int i=0; i<raw.length; i++ ) { Assert.assertEquals( "xml encoding mismatch for raw: " + raw[i], xml[i], StringUtils.escapeXml10( raw[i] ) ); } }