There are a couple problems with the job: 1. The <paralleliterate> should be within the <sequence>:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE stax SYSTEM "stax.dtd"> <stax> <defaultcall function="main"/> <function name="main"> <sequence> <import file=" 'C:\AppSetup.xml' "/> <paralleliterate var="file" in="fileList"> <call function="'Primary'">machine,file</call> </paralleliterate> </sequence> </function> </stax> 2. You should not need to specify the dtd as C:\Documents and Settings\prakaa2\Desktop\stax.dtd, you should be able to just use stax.dtd. 3. There seem to be some unexpected characters in the white space. For example, prior to the <function you have the following characters (in hex): 20 20 C2 A0 C2 A0 C2 A0 20 3C 66 75 6E 63 74 69 6F 6E Thanks, David 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 arul prakash <arulprakas...@gmail.com> 12/22/2009 05:15 AM To staf-users@lists.sourceforge.net cc Subject [staf-users] paralleliterate problem hi , I am trying to execute a function in parallel which has been imported from the file 'AppSetup.xml'.'fileList' contains list of files which is given as input in each iteration.But my XML is not getting validated.Can anyone suggest a sol. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE stax SYSTEM "C:\Documents and Settings\prakaa2\Desktop\stax.dtd"> <stax> <defaultcall function="main"/> <function name="main"> <sequence> <import file=" 'C:\AppSetup.xml' "/> </sequence> <paralleliterate var="file" in="fileList"> <call function="'Primary'">machine,file</call> </paralleliterate> </function> </stax> ------------------------------------------------------------------------------ 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
------------------------------------------------------------------------------ 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