Hi Joe,

can you please open a new bug report at

http://jira.codehaus.org/brose/CASTOR

and attach all relevant files so that I can replay the problems at hand ?

Kind Regards
Werner

On 10.02.2011 02:20, joea88 wrote:

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

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to