Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Best XML library to validate XML from untrusted source

by ikegami (Pope)
on Oct 19, 2014 at 17:54 UTC ( #1104326=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ cat a.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    ...
    0 1 foo
    1 5 xxe
    0 15 foo
    
  2. or download this
    $ cat bad.xml
    <foo><bar></foo>
    ...
    
    $ if [ $? -eq 0 ]; then echo "well-formed" ; else echo "error" ; fi
    error
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2019-11-20 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (100 votes). Check out past polls.

    Notices?