Hi,
I am using Castor to marshal an Object to XML file. However the object
contains a special unicode \u001C char(appeared as '  ' in the log)
and caused the marshaller to fail:

Caused by: java.io.IOException: The character '  ' is an invalid XML character
        at org.apache.xml.serialize.BaseMarkupSerializer.characters(Unknown
Source)
        at 
org.exolab.castor.xml.util.DocumentHandlerAdapter.characters(DocumentHandlerAdapter.java:93)
        at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:1595)
        ... 48 more


Any thing I can do to tell Castor to ignore this char?

Thanks!

-Herbert

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

    http://xircles.codehaus.org/manage_email

Reply via email to