�Hi all,
When i try to unmarshall using castor,
Sample code:
BufferedReader br = new BufferedReader(new FileReader("C:\\Test.xml"));
resp=(Response) Unmarshaller.unmarshal(Response.class,br);
i get this error at the above line:
org.xml.sax.SAXException: Parsing Error : Premature end of file.
Line : -1
Column : -1
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1186)
at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:605)
at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:513)
at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:691)
Any idea why this happens?
Reg
Jana
Life is not a bed of roses!
----------------------------
With warmest regards,
T.K.Janarthanan.-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user