Olá a todos,
Estou tentando tratar uma informação que vem via xml, porem no meio do xml tem uma tag que nao é fechada, vejam a tag
<?xml version="1.0" encoding="UTF-8" ?>
<response>
<operation name="Download Cps c:\Keymile\PCOM_GVT_DMS_R2a112.cps" path="cps">
<execution status="app_error" />
<error>
<id> Cause: Error while sending the file c:\Keymile\PCOM_GVT_DMS_R2a112.cps to the NE
Cause: Profile/CPS is already existing and cannot be overwritten<id>
<source>Milegate</source>
</error>
</operation>
</response>
org.jdom.input.JDOMParseException: Error on line 9 of document file:/c:/teste.xml: The element type "id" must be terminated by the matching end-tag "</id>".
SAXBuilder sb = new SAXBuilder(true);
Porem tenho o seguinte erro:
[code]
org.jdom.input.JDOMParseException: Error on line 2 of document file:/c:/teste.xml: Document is invalid: no grammar found.
[/code/
Aguem sabe como posso resolver este problema?
Att,
Paulo