Skip Menu |

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

Report information
The Basics
Id: 121617
Status: new
Priority: 0/
Queue: XML-Pastor

People
Owner: Nobody in particular
Requestors: yohuang [...] nvidia.com
Cc:
AdminCc:

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



Subject: Deep recursion on subroutine "XML::Pastor::Schema::Parser::*"
Date: Thu, 11 May 2017 15:23:17 +0000
To: "bug-XML-Pastor [...] rt.cpan.org" <bug-XML-Pastor [...] rt.cpan.org>
From: Justin Huang <yohuang [...] nvidia.com>
Hi XML-Pastor developers, I downloaded XML-Pastor-1.0.4 and followed the example in cpan to parse IEEE1685-2014 standard xsd file as shown below. The code reports 'Deep recursion on subroutine ...'. Is this a known bug for this module? Thanks, Justin ####### #!/home/utils/perl5/perlbrew/perls/5.20.2-004/bin/perl -w use lib "Data-HashArray-1.03/lib"; use lib "XML-Pastor/lib"; # XML-Pastor-1.0.4 use XML::Pastor; my $pastor = XML::Pastor->new(); $pastor->generate( mode =>'offline', style => 'multiple', schema=>'http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd', class_prefix=>'MyApp::Data::', destination=>'/tmp/test', ); Deep recursion on subroutine "XML::Pastor::Schema::Parser::_processNode" at XML-Pastor/lib/XML/Pastor/Schema/Parser.pm line 217. Deep recursion on subroutine "XML::Pastor::Schema::Parser::_processNode" at XML-Pastor/lib/XML/Pastor/Schema/Parser.pm line 217. Deep recursion on subroutine "XML::Pastor::Schema::Parser::_process" at XML-Pastor/lib/XML/Pastor/Schema/Parser.pm line 94. Deep recursion on subroutine "XML::Pastor::Schema::Parser::_process" at XML-Pastor/lib/XML/Pastor/Schema/Parser.pm line 85. Deep recursion on subroutine "XML::Pastor::Schema::Parser::_processInclude" at XML-Pastor/lib/XML/Pastor/Schema/Parser.pm line 285. Deep recursion on subroutine "XML::Pastor::Schema::Parser::includeSchema" at XML-Pastor/lib/XML/Pastor/Schema/Parser.pm line 694. ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----------------------------------------------------------------------------------