FWIW, I can't reproduce this on Linux + Perl 5.26 + XML::LibXML::Reader 2.0132, although the bug tracker shows quite a few bugs that could explain the problem. Have you tried upgrading your XML-LibXML? If that doesn't help, do you have the possibility to upgrade your entire Perl? (Strawberry Perl 5.16.3.1 comes with libxml2-2.9.0 and XML-LibXML 2.0014, while Strawberry Perl 5.26.2.1 comes with libxml2-2.9.4 and XML-LibXML 2.0132.)
It could of course in theory also be a problem with the input data, which you haven't shown - if you could provide a minimal sample that still causes your Perl to crash, that might help. See Short, Self-Contained, Correct Example.
Update: The sample data you provided (Update 2: I hope I found the right TBXcoreStructV02.dtd file on the net) still doesn't cause it to crash on my machine, which means it's likely a problem with your version of XML-LibXML and/or libxml2 (or, IMO less likely, your Perl 5.16).
In reply to Re: Perl panicking XML::LibXML::Reader copyCurrentNode (updated)
by haukex
in thread Perl panicking XML::LibXML::Reader copyCurrentNode
by IB2017
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |