in reply to XML::Simple giving a non-specific error
In order for the parser to know this you would have to use a DTD to describe the valid document tree.
Consider this syntactically valid set of tags:
Now, if you remove the last line, the XML becomes invalid. It would be tempting to fix the problem in line 4 but this would give a completely different document structure.<ERROR> <FOO> </FOO> <ERROR> <BAR> </BAR> </ERROR> </ERROR>
|
---|