"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>></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.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|