Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Keep It Simple, Stupid
 
PerlMonks  

Re^9: Is there any XML reader like this? (XML::Simple beats LibXML hands down in the speed stakes!)

by ikegami (Pope)
on Jan 16, 2012 at 20:06 UTC ( #948201=note: print w/ replies, xml ) Need Help??


in reply to Re^8: Is there any XML reader like this? (XML::Simple beats LibXML hands down in the speed stakes!)
in thread Is there any XML reader like this?

"Unencoded"? XML::Simple doesn't handle such broken XML.

$ perl -MXML::Simple -e'XMLin("<root><foo>\xE9</foo></root>");'
Entity: line 1: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xE9 0x3C 0x2F 0x66
<root><foo>�</foo></root>
           ^

Just as I don't use a chainsaw to trim my toenails, I use the XML tool that suits my purpose.

I didn't not try to get you to use XML::LibXML. I was just contradicting obviously incorrect information.


Comment on Re^9: Is there any XML reader like this? (XML::Simple beats LibXML hands down in the speed stakes!)
Re^10: Is there any XML reader like this? (XML::Simple beats LibXML hands down in the speed stakes!)
by BrowserUk (Pope) on Jan 16, 2012 at 20:17 UTC
    I was just contradicting obviously incorrect information.

    "contradict". Far from it. You proved it for me.

    NOW, just stop!


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2014-04-19 02:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (475 votes), past polls