Hi guys, several times I faced this issue on my portal dedicated to linux users.
People asked for help about PPPD and they entered what they saw on screen. Including code, that is not XML friendly like "&#c" I set it as with element.setText() and serialize it to string and save to database. But when the cache is flushed, the code reads it from database and tries to reconstruct XML from string. And it fails, because that sequence looks like escape sequence. org.dom4j.DocumentException: Error on line 21 of document : Character reference "&#c" is an invalid XML character. It seems, that Dom4J 1.4 doesn't detect this and blindly copies it to string during serialization. How to avoid it? When it happens, portal is dead until I manually find it in database and remove it. Thanks for ideas/fix Have a nice weekend! Leos ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ dom4j-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-dev