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: jples...@redhat.com
          Reporter: bug.report.trac...@gmail.com
        QA Contact: extras...@fedoraproject.org
                CC: caillon+fedoraproj...@gmail.com, caol...@redhat.com,
                    john.j5l...@gmail.com, jples...@redhat.com,
                    ka...@ucw.cz, perl-devel@lists.fedoraproject.org,
                    rhug...@redhat.com, rstr...@redhat.com,
                    sandm...@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.
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org

Reply via email to