[MOBY-dev] Verifying data

Paul Gordon gordonp at ucalgary.ca
Fri Sep 22 13:46:33 UTC 2006


I agree with Martin.  My MobyServlet will throw an exception if the 
float is blank.  The stricter we are, the better off MOBY-S is in the 
long run.  Support for broken HTML tags since Netscape 1.0 still haunts 
the Web...
> My 2c's:
>
> An empty output means no output. Which may not be an error but which
> definitely means that we have nothing to pass to a downstream service.
>
> Also a case when a service A returns an exception indicates that there is no
> much sense to call a downstream service B.
>
> My conclusion is therefore: Each service should check first that it gets an
> input (well, each services that expects an input, of course). If if does
> not, it should stop and again produce no output (potentially, adding its own
> exception to those already existing in the service notes).
>
> I can add this strict behaviour to Moses, or to Perl Moses.
>
> Cheers,
> Martin
>
>   




More information about the MOBY-dev mailing list