Hi, Daniel, if I get your patch right, then the the character handling is a matter of encoding only. However, if that's the case ...
> + if (isUnicode) > + { ... > + } > + else > + { > + throw new XmlRpcException(0, "Invalid character data > " > + + "corresponding to XML " > + + "entity &#" > + + String.valueOf((int) c) > + + ';'); > + } then I see no reason to throw an exception here. One should simply fall back to writing a numeric entity reference, as in the case "c < 0x20". Or do I get things wrong? Jochen