[Bug 1710933] New: Invalid DocumentLocator object passed to

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
          Reporter: bug.report.tracker@xxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: caillon+fedoraproject@xxxxxxxxx, caolanm@xxxxxxxxxx,
                    john.j5live@xxxxxxxxx, jplesnik@xxxxxxxxxx,
                    kasal@xxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx,
                    rhughes@xxxxxxxxxx, rstrode@xxxxxxxxxx,
                    sandmann@xxxxxxxxxx
  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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]

  Powered by Linux