[xml] using --stream with xmllint and DTD validation
- From: Andrew McDermott <andymcd mac com>
- To: xml gnome org
- Subject: [xml] using --stream with xmllint and DTD validation
- Date: Fri, 1 Apr 2005 00:10:41 +0100
I have a document and an associated DTD - the XML document has a DTD
error in it, but is otherwise correct.
If I use:
xmllint --postvalid --dtdattr /foo.xml
then an error message is displayed, as expected.
If I use:
xmllint --stream --postvalid --dtdattr /foo.xml
then no error message is displayed. The return value ($?) is also 0.
Does --stream turn off DTD validation?
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]