Skip Menu |

This queue is for tickets about the XML-Mini CPAN distribution.

Report information
The Basics
Id: 29273
Status: resolved
Priority: 0/
Queue: XML-Mini

People
Owner: Nobody in particular
Requestors: nharsha [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT"
Platform: $XML::Mini::Document::VERSION = '1.28'; uname -a SunOS 5.10 Generic_118822-23 sun4u sparc SUNW,Sun-Fire-V240 perl -v This is perl, v5.8.4 built for sun4-solaris-64int Information: I have attached a xml file with this bug report (WAtest.xml) this file has 4790 lines of XML content. I opened this xml file in the browsers, it did not report any error in the xml. Problem: Using XML::Mini lib when I try to parse the content I get the following error: Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 470. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 470. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 470. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 470. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 470. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 470. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 470. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 470. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 470. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 470. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 470. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 470. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 470. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 470. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 470. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 470. Deep recursion on subroutine "XML::Mini::Document::fromSubStringBT" at lib/XML/Mini/Document.pm line 472. Expected Result: The parsing should not go into recursion when the XML file is correct and valid
Subject: WAtest.xml

Message body is not shown because it is too large.

Not much to do about the message, since XML::Mini uses "deep" recursion on purpose and without issue. But the annoying messages have been quashed in 1.38.