You can use the relative path only if the file being imported resides on 
the same machine as the STAX XML file that is importing the file.


Thanks and Regards,
Sunny Arora




From:
arul prakash <arulprakas...@gmail.com>
To:
staf-users@lists.sourceforge.net
Date:
06/02/2010 01:43 PM
Subject:
[staf-users] relative path not resolving in linux



hi,
    I am using relative path to specify the  working directory for the 
process, but STAX is not able to resolve it.

workDirectory='%s/../../bin' % (STAXCurrentXMLFile)

the path doesnt get resolved in linux but in windows

the error i am getting is 'invalid working directory' in STAX.

-- 
Regards,
Arul

------------------------------------------------------------------------------

_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users


=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


------------------------------------------------------------------------------

_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to