Ola a todos,
Estou tentando parserar um texto em xml usando o jdom, porem está dando erro, o xml é este:
<?xml version="1.0" encoding="UTF-8" ?>
<response>
<operation name="get" path="/services/packet/1to1singletag/srvc-1/cfgm/service">
<execution status="success" />
<1to1SingleTagAccessService>
<Interface>
<Address>/unit-1/port-32/chan-1/vcc-1</Address>
</Interface>
<Specific>
<Svid>132</Svid>
<STagPriority>CoS0</STagPriority>
<VLANHandling>Add</VLANHandling>
</Specific>
</1to1SingleTagAccessService>
</operation>
</response>
O erro é este:
The content of elements must consist of well-formed character data or markup. [5]
Jogeui como arquivo no Netbeans e mandei validar deu o mesmo erro, o interessante é que a tag <1to1SingleTagAccessService> fica com uma colaração diferente as outras, acho que o erro está ai, porém não sei qual é, alguem sabe?