Hi
I'm getting.. The character '' is an invalid XML character" exception.
Below is my test case.
Marshaller marshaller = new Marshaller(new FileWriter(new
File("target/test.xml")));
String str = "as \u0007 he describes them areɇ a ẜnew breed of sav";
marshaller.setEncoding("UTF-8");
marshaller.marshal(str);
And this is my dependency..
<dependency>
<groupId>org.codehaus.castor</groupId>
<artifactId>castor-xml</artifactId>
<version>1.3.1</version>
</dependency>
Could anyone help me please? I need to preserve those characters. They are
perfectly valid in xml 1.1.
Did I missed any configs? Dependencies?
Thanks
Joe
--
View this message in context:
http://old.nabble.com/Invalid-xml-character-tp30888718p30888718.html
Sent from the Castor - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email