Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^2: XML::Twig parse html trouble

by remiah (Hermit)
on Feb 20, 2014 at 20:36 UTC ( #1075645=note: print w/ replies, xml ) Need Help??

in reply to Re: XML::Twig parse html trouble
in thread XML::Twig parse html trouble

Thanks for reply, roboticus!

I forgot to report module version and error message.


not well-formed (invalid token) at line 2, column 8, byte 34 at C:/stra
rl/vendor/lib/XML/ line 187.
 at line 6.

>perl -MXML::Twig -e "print $XML::Twig::VERSION;"
>perl -MHTML::TreeBuilder -e "print $HTML::TreeBuilder::VERSION;"
I got same error with your test data.
This is very strange for me, cause I used XML::Twig as HTML parser for several times, and I got no such error like this. I can't think that there was no "character entity references" at that time...

I would like to try available older version of modules.

Comment on Re^2: XML::Twig parse html trouble

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1075645]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2015-11-25 19:52 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (688 votes), past polls