2008-07-21 22:02

xmllint est un programme bien pratique, fourni en standard dans la plupart des distributions, dans le paquet libxml2-utils.

$ xmllint /tmp/truc.xml 
/tmp/truc.xml:3: parser error : Opening and ending tag mismatch: tata line 2 and toto
</toto>
       ^
/tmp/truc.xml:4: parser error : Premature end of data in tag toto line 1

^
2008-07-21 22:02 · Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>