W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > December 2008

RE: Return code from p:exec?

From: <Toman_Vojtech@emc.com>
Date: Thu, 4 Dec 2008 05:03:24 -0500
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870DA6B7A3@CORPUSMX10A.corp.emc.com>
To: <public-xml-processing-model-comments@w3.org>

> >> Does anyone else think it's odd that we don't provide the 
> exit value
> >> given by the exec'd process?
> >> 
> >
> > Good point. I think we could add "exit-value" port to p:exec with no
> > harm.
> 
> It can only ever be an integer, so can't we just say that it's an
> attribute on the c:result that exec produces?

Fine by me, as long as it does not matter that we will have to change
the schema for c:result (and that "exit-value" will not make any sense
for the other steps that produce c:result).

> 
> More challenging: should p:exec have a parameter input port and should
> it use those parameters to set environment variables?
> 

Hmm, why not?

Regards,
Vojtech
Received on Thursday, 4 December 2008 10:04:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 4 December 2008 10:04:39 GMT