IllegalDataException while parsing special character

Ricochet

New Member
I have an input box in my web app, If I type the following input:char ??on server side when I try to build an xml doc using Jdom it crashes raising the following exception:org.jdom.IllegalDataException: The data "char (3A" is not legal for a JDOM attribute: 0x1a is not a legal XML character.\[code\] at org.jdom.Attribute.setValue(Attribute.java:491) at org.jdom.Attribute.<init>(Attribute.java:228) at org.jdom.Attribute.<init>(Attribute.java:251) at org.jdom.Element.setAttribute(Element.java:1128)\[/code\]this is how the browser encodes the ajax call...&MESSAGE=char%20(3%1AAon server side when I dopRequest.getParameter("MESSAGE");it returns me: "char (3A"Any ideas what's going on there?
 
Back
Top