M
marco
Hi,
this problem occurs using JAXB with for unmarshalling an XML file.
The code is:
JAXBContext jc = JAXBContext.newInstance("Resource");
Unmarshaller u = jc.createUnmarshaller();
//u.setValidating(true); //deprecated!!
MyResType res = (MyResType)u.unmarshal(new FileInputStream("foo.xml"));
Anyone can help?
Thanks
this problem occurs using JAXB with for unmarshalling an XML file.
The code is:
JAXBContext jc = JAXBContext.newInstance("Resource");
Unmarshaller u = jc.createUnmarshaller();
//u.setValidating(true); //deprecated!!
MyResType res = (MyResType)u.unmarshal(new FileInputStream("foo.xml"));
Anyone can help?
Thanks