I'm using castor-1.1.2.1.tar to generate XML from Java POJO as follows:
FileWriter writer = new FileWriter("test.xml");
Marshaller.marshal(receiptData, writer);When I open the generated XML using XML editor, I get the error that the XML is not well formed. I intend to transform this XML further to PDF using stylesheets but if the error continues I doubt Xalan may throw parsing errors upon execution. Apart from this, currency symbols from the Java POJO are not rendered correctly in the XML generated by Castor. If anyone has any clue about above mentioned issues, please revert back at the earliest. -- View this message in context: http://www.nabble.com/Castor-generating-incorrectly-formed-XML-tp14643792p14643792.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

