https://bugzilla.redhat.com/show_bug.cgi?id=1710933
Bug ID: 1710933
Summary: Invalid DocumentLocator object passed to
Product: Fedora
Version: 30
Hardware: x86_64
OS: Linux
Status: NEW
Component: perl-XML-SAX
Assignee: jplesnik(a)redhat.com
Reporter: bug.report.tracker(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: caillon+fedoraproject(a)gmail.com, caolanm(a)redhat.com,
john.j5live(a)gmail.com, jplesnik(a)redhat.com,
kasal(a)ucw.cz, perl-devel(a)lists.fedoraproject.org,
rhughes(a)redhat.com, rstrode(a)redhat.com,
sandmann(a)redhat.com
Target Milestone: ---
Classification: Fedora
Created attachment 1569596
-->
https://bugzilla.redhat.com/attachment.cgi?id=1569596&action=edit
perl XML::SAX::DocumentLocator test
Description of problem:
When parsing XLM data, set_document_locator is passed an empty hash instead of
DocumentLocator object.
Version-Release number of selected component (if applicable):
perl-XML-SAX-Base-1.09-7.fc30.noarch
perl-XML-SAX-1.00-4.fc30.noarch
How reproducible:
Always
Steps to Reproduce:
1. Run the attached test.
Actual results:
Test prints: $VAR2 = {};
Expected results:
A valid DocumentLocator object printed:
$VAR2 = bless( {
'ColumnNumber' => 0,
'Encoding' => undef,
'XMLVersion' => undef,
'LineNumber' => 1,
'SystemId' => undef,
'PublicId' => undef
}, 'XML::SAX::DocumentLocator' );
Additional info:
Test works on
https://f.perl.bot/
--
You are receiving this mail because:
You are on the CC list for the bug.