- xmllint.[c1] : added return code errors for xmllint
- xpath.c: specific debug dump function for result value trees
Daniel
diff --git a/xmllint.1 b/xmllint.1
index c2cc694..62a85bf 100644
--- a/xmllint.1
+++ b/xmllint.1
@@ -95,6 +95,10 @@
 .TP
 .B \-\-valid
 Validate the document in addition to std well-formed.
+.SH RESULT
+xmllint will return 1 if the XML is not well formed, 2 if the
+Dtd could not be loaded and 3 if the valiadtion fails. If no
+error is detected it will return 0.
 .SH FILES
 .TP 2.2i
 .B /depot/package/libxml_2.0.0/bin/xmllint