diff --git a/expat/doc/xmlwf.xml b/expat/doc/xmlwf.xml
index 5e2a4ae9..b1ebd003 100644
--- a/expat/doc/xmlwf.xml
+++ b/expat/doc/xmlwf.xml
@@ -383,19 +383,35 @@ supports both.
&dhpackage; prints a single line describing
the problem to standard output. If a file is well formed,
&dhpackage; outputs nothing.
- Note that the result code is not set.
+
+
+ EXIT STATUS
+ The following exit status codes are returned:
+
+
+
+ The input files are well-formed.
+
+
+
+
+ An internal error occurred.
+
+
+
+
+ An input file was not well-formed or could not be parsed.
+
+
+
+
+
+
BUGS
-
- &dhpackage; returns a 0 - noerr result,
- even if the file is not well-formed. There is no good way for
- a program to use &dhpackage; to quickly
- check a file -- it must parse &dhpackage;'s
- standard output.
-
The errors should go to standard error, not standard output.