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