Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Bug in XML::Parser

by McA (Priest)
on Oct 22, 2013 at 16:22 UTC ( #1059233=note: print w/ replies, xml ) Need Help??

in reply to Bug in XML::Parser


now, after you've formatted the xml-file, someone lazy like me can press the download link to get the xml source. I took the xml file and did the following:

xmllint --format file.xml

This gives me the following:

xmllint --format file.xml file.xml:259: parser error : Opening and ending tag mismatch: CallDeta +ilByService line 207 and CallGroupInfo </CallGroupInfo> ^ file.xml:260: parser error : Opening and ending tag mismatch: CallGrou +pInfo line 203 and ServiceInfo </ServiceInfo> ^ file.xml:261: parser error : Opening and ending tag mismatch: ServiceI +nfo line 80 and InvoiceDetails </InvoiceDetails> ^ file.xml:265: parser error : Opening and ending tag mismatch: InvoiceD +etails line 7 and CustomerInvoice </CustomerInvoice> ^ file.xml:266: parser error : Premature end of data in tag CustomerInvo +ice line 2 ^

That proves what Anonymous Monk said early with his X-ray-view. The xml file is not valid.

So, my advice: On Linux the program xmllint is a valuable tool which you can find regularly in the libxml2 package.


Comment on Re: Bug in XML::Parser
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1059233]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2015-11-27 19:20 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (731 votes), past polls