Bug 461557

Summary: entitiy declaration in XML files causes array error
Product: [Fedora] Fedora Reporter: Jeff Fearn 🐞 <jfearn>
Component: perl-XML-TreeBuilderAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: mmcallis, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.09-11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-15 03:26:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeff Fearn 🐞 2008-09-09 04:27:47 UTC
Description of problem:
If an entity is declared in an XML file the array reference is wrong causing an access error.

Version-Release number of selected component (if applicable):
perl-XML-TreeBuilder-3.09-10

How reproducible:
Always

Steps to Reproduce:
1. Create an xml file
2. declare an entity in the XML file
3. parse file
  
Actual results:
+ xmlClean -in RELEASE-NOTES.xml -out ../xml/RELEASE-NOTES.xml -book
RELEASE-NOTES -lang en-US
Modification of non-creatable array value attempted, subscript -1 at
/usr/lib/perl5/vendor_perl/5.10.0/XML/TreeBuilder.pm line 39.

Expected results:
No error

Additional info:

Comment 1 Jeff Fearn 🐞 2008-10-15 03:26:23 UTC
Add ErrorContext pass through
Fix crash on Entity declaration.

Comment 2 Fedora Update System 2008-10-15 03:49:06 UTC
perl-XML-TreeBuilder-3.09-11.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/perl-XML-TreeBuilder-3.09-11.fc9

Comment 3 Fedora Update System 2008-10-16 22:44:08 UTC
publican-0.38-0.fc9,perl-XML-TreeBuilder-3.09-11.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/publican-0.38-0.fc9,perl-XML-TreeBuilder-3.09-11.fc9

Comment 4 Fedora Update System 2008-11-07 02:55:27 UTC
publican-0.38-0.fc9, perl-XML-TreeBuilder-3.09-11.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.