[xml] Exit code of xmllint always 0?



Hello,

since today I validate all documents before I transform them via xmllint. It does a very good job and my documents are now much closer to the DTD then before. ;-)

But one small thing bothers me: It seems, that xmllint always exits with 0 even if the document not fits the DTD.

Is there a way that it returns in this case another value then 0 to signal a failure? Would be usefull for my ant and makefiles.

Bye

Oliver


--
Oliver Fischer - plexus[AT]snafu[DOT]de
[de] Das Internet stammt aus dem letzten Jahrtausend!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]