Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Errors building XML::LibXML (source code)

by atreyu (Sexton)
on Feb 25, 2014 at 15:30 UTC ( #1076148=note: print w/replies, xml ) Need Help??


in reply to Re: Errors building XML::LibXML (source code)
in thread Errors building XML::LibXML

"You are aware that you have free access to all of the source code involved, right?"
indeed, but alas, I am not a Perl Monk. I am more of a Perl Acolyte wannabe. I did try to run that very test manually, but could not make sense of the output. Here's a sample:
perl -Mblib t/02parse.t 1..531 ok 1 - The object isa XML::LibXML::Document ok 2 - The object isa XML::LibXML::Document ok 3 - The object isa XML::LibXML::Document ok 4 - The object isa XML::LibXML::Document ok 5 - The object isa XML::LibXML::Document ok 6 - The object isa XML::LibXML::Document ok 7 - The object isa XML::LibXML::Document ok 8 - The object isa XML::LibXML::Document ok 9 - The object isa XML::LibXML::Document ok 10 - The object isa XML::LibXML::Document ok 11 - The object isa XML::LibXML::Document ok 12 - The object isa XML::LibXML::Document ok 13 - The object isa XML::LibXML::Document ok 14 - The object isa XML::LibXML::Document ok 15 - The object isa XML::LibXML::Document ok 16 - The object isa XML::LibXML::Document ok 17 - The object isa XML::LibXML::Document ok 18 - The object isa XML::LibXML::Document ok 19 - The object isa XML::LibXML::Document ok 20 - The object isa XML::LibXML::Document ok 21 - The object isa XML::LibXML::Document ok 22 - The object isa XML::LibXML::Document ok 23 - The object isa XML::LibXML::Document ok 24 - The object isa XML::LibXML::Document ok 25 - The object isa XML::LibXML::Document ok 26 - The object isa XML::LibXML::Document ok 27 - The object isa XML::LibXML::Document ok 28 - The object isa XML::LibXML::Document ok 29 - parses undef string with an error ok 30 - Error thrown passing '' ok 31 - Error thrown passing '<?xml version="1.0"?>\n' ok 32 - Error thrown passing '<!--ouch-->' ok 33 - Error thrown passing '<!DOCTYPE ...o "bar">]>' ok 34 - Error thrown passing '<ouch>' ok 35 - Error thrown passing '<ouch/>foo' ok 36 - Error thrown passing 'foo<ouch/>' ok 37 - Error thrown passing '<ouch foo=bar/>' ok 38 - Error thrown passing '<ouch foo="bar/>' ok 39 - Error thrown passing '<ouch>&</ouch>' ok 40 - Error thrown passing '<ouch>&\#0x20;</ouch>' ok 41 - Error thrown passing '<foobär/>' ok 42 - Error thrown passing '<ouch>&foo;</ouch>' ok 43 - Error thrown passing '<ouch>&gt</ouch>' ok 44 - Error thrown passing '<?xml vers...;="ouch"/>' ok 45 - Error thrown passing '<?xml vers...ar &foo;/>' ok 46 - Error thrown passing '<ouch><!---></ouch>' ok 47 - Error thrown passing '<ouch><!-----></ouch>' ok 48 - The object isa XML::LibXML::Document

I looked at the 02parse.t code, but could not spot anything.

Being that it seems related to XML parsing, I updated XML::SAX and XML::SAX::Base, in the hopes that it would help. It did not. Ironically, it did fix my original Perl code issue, which was why I was trying to package XML::LibXML in the first place. I'd still like to figure out this problem, though.

Replies are listed 'Best First'.
Re^3: Errors building XML::LibXML (TAP)
by tye (Sage) on Feb 25, 2014 at 15:34 UTC

    You need to skip to the first line that says "not ok".

    - tye        

      You need to skip to the first line that says "not ok".
      Sry, I'm not following...

        Your problem is not with any test that passes, i.e., a test that is reported 'ok'. You need to pay attention to tests that do not pass, i.e., tests for which the report is not ok n, where n is the test number. Look through the test output for the first not ok test (or for some terrible crash) and pay attention to that point in the test process, then proceed from there.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1076148]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-12-17 04:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (462 votes). Check out past polls.

    Notices?