Re: [xml] Exit code of xmllint always 0?

On Wed, Dec 18, 2002 at 09:35:26PM +0100, Fischer, Oliver wrote:
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.

  Can you try the enclosed patch ? Untested yet,


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

Attachment: valid.patch
Description: Text document

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