Yes, it worked. The problem was the ordering of the sub-elements of the
process element.

Thank you

2010/1/6 David Bender <bda...@us.ibm.com>

>
> Hi,
>
> Yes, it is still supported.  Can you run the following STAX job as a test
> (on Windows):
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <!DOCTYPE stax SYSTEM "stax.dtd">
>
> <stax>
>
>   <defaultcall function="main"/>
>
>   <function name="main">
>
>     <sequence>
>
>       <process>
>         <location>'local'</location>
>         <command mode="'shell'">'set TEST_VARIABLE'</command>
>         <env>'TEST_VARIABLE=xyz'</env>
>         <stderr mode="'stdout'"/>
>         <returnstdout/>
>       </process>
>
>       <message log="1">STAXResult[0][1]</message>
>
>     </sequence>
>
>   </function>
>
> </stax>
>
> When I run this job, the output is:
>
> 20100106-08:15:45        TEST_VARIABLE=xyz
>
>
>
> Assuming the test job works correctly, what is the exact error that you get
> with your STAX job?  Are you sure the <env> is in the correct location
> within the <env>?  Note that the ordering of the <process> sub-elements is
> important (and the STAX User's Guide shows the required order for the
> optional sub-elements).
>
> Thanks,
> David
>
> ------------------------------
>  *David 
> Bender*<http://w3.ibm.com/bluepages/simpleSearch.wss?searchBy=Name&searchFor=David+Bender>
> STAF/STAX Development
> IBM Software Group, WPLC
>   11501 Burnet Rd.
> Bldg. 903-5B002
> Austin, TX 78758-3400
>   Phone (T/L): 1-512-286-5315 (363-5315)
> ITN: 23635315
> Email: *bda...@us.ibm.com* <bda...@us.ibm.com>
>
>
> ------------------------------
>
>
>
>  From: Ahmed Mostafa <eng.ahmed2...@gmail.com> To: STAF <
> staf-users@lists.sourceforge.net> Cc: Nikunja Bihari Das <
> nikunja....@gmail.com> Date: 01/06/2010 06:14 AM Subject: [staf-users]
> [STAX] Process element env(s)
> ------------------------------
>
>
>
> Hello,
>
> I have STAX 3.3.8 and it seems that the env element of the process element
> is missing, STAX monitor is not able to validate my XML and also stax.dtd I
> generated from STAX Get request.
> But the option is still in the documentation. Is it still supported or not.
>
> Thank you
> --
> Ahmed Mostafa Abdel-Baky
> Associate Software Engineer
> DB2 NSE Support
> Cairo Technology Development Center
> IBM Egypt
> Mobile: 0110887370
> Office: +202-35361459
> E-mail: *ab...@eg.ibm.com* <ab...@eg.ibm.com>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev_______________________________________________
> staf-users mailing list
> staf-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/staf-users
>
>
>


-- 
Ahmed Mostafa Abdel-Baky
Associate Software Engineer
DB2 NSE Support
Cairo Technology Development Center
IBM Egypt
Mobile: 0110887370
Office: +202-35361459
E-mail: ab...@eg.ibm.com
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to