Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Parsing error for special character trademark symbol

Hi I have a xml which has special character (SDâ„¢) . This is to represent the trademark symbol. I'm using UTF-8 foramt to generate the XML.While parsing the xml to java object using XMLBeans, I'm getting the following exception. Could you please help us how to parse the special characters of trademark symbol. Thanks.
org.apache.xmlbeans.XmlException: error: Illegal XML character: 0x1a Illegal XML character: 0x1a
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.yy_refill(
at org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.yylex(
2 people have
this question