Pessoal boa tarde.
Estou tentando abrir um arquivo xml e atribuir a uma variavel de referencia
this.relatorio = (Relatorio) xstream.fromXML(new FileInputStream(this.pathOpen));
mas esta gerando o erro abaixo.
alguem me diz pq essa bagaça esta errada?
vlw
[Fatal Error] :1118:108: Character reference “” is an invalid XML character.
Exception in thread “AWT-EventQueue-0” com.thoughtworks.xstream.io.StreamException: : Character reference “” is an invalid XML character.
at com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:105)
at com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:81)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:913)
at br.com.topsoft.topBI.Interface.FormPrincipal.jMenuItem1ActionPerformed(FormPrincipal.java:608)