private static String charArrayLiteral(CharSequence cs) {
        if (cs == null) {
            return "null";
        }
        StringBuilder sb = new StringBuilder();
        sb.append('{');
        int len = cs.length();
        for (int i = 0; i < len; i++) {
            sb.append(" \'");
            sb.append(unquotedCharLiteral(cs.charAt(i)));
            sb.append("\',");
        }
        if (sb.length() > 1) {
            sb.deleteCharAt(sb.length() - 1);
        }
        sb.append(" }");
        return sb.toString();
    }
@see org.xml.sax.ContentHandler#skippedEntity(java.lang.String)
src/nu/validator/xml/SaxCompiler.java