Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^7: Is there any XML reader like this?

by tobyink (Abbot)
on Jan 15, 2012 at 16:29 UTC ( #948002=note: print w/ replies, xml ) Need Help??


in reply to Re^6: Is there any XML reader like this?
in thread Is there any XML reader like this?

What if the addition was:

<ip note="UNDER NO CIRCUMSTANCES USE THIS IP ON PAIN OF SUBSTANTIAL LEGAL REPRISALS; INCLUDING EXTRADITION AND LIFE IMPRISONMENT">67.215.65.132</ip>

which your LibXML program will blithely process in just the same way as every other IP it finds

And your XML::Simple example with NoAttr => 1 will also blithely process in just the same way as every other IP it finds. What exactly was your point?


Comment on Re^7: Is there any XML reader like this?
Select or Download Code
Re^8: Is there any XML reader like this?
by BrowserUk (Pope) on Jan 15, 2012 at 16:38 UTC
    . What exactly was your point?

    I had to add that configuration option, having encountered an anomaly, before it would make that mistake.

    LibXML code wouldn't notice the sudden additional attribute and would process that IP silently.


    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://948002]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2014-09-16 23:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (53 votes), past polls