Ron <[EMAIL PROTECTED]> (26/04/2007):
> I create my graphs with a program and the program doesn't check for
> stderr of graphviz.

May I suggest that your not checking stderr is a bug? Or at least bad
practice. OK, YMMV, but well... BTW, checking the output of a program by
running it ``by hand'' is quite common. Please do so when bugreporting,
especially when you can include debug information (e.g. dot -v).

> I consider it a bug for a program to continue in the case of an error.
> It should abort when given nonsensical input. Don't you agree with
> that in general?

I do not. If the error is critical and may crash the application, or
something like that, yes. In this particular case, it is about parsing a
given syntax. Should web browsers stop and refuse to display buggy web
pages when there's a typo in an attribute? I do not think so. And
indeed, they do not behave this way. So does graphviz by trying to parse
your buggy input, by telling you it is buggy, and by not interpreting
the buggy part.

Cheers,

-- 
Cyril Brulebois

Attachment: pgpThUe3Zut72.pgp
Description: PGP signature

Reply via email to