Hello Everyone I'm using STAF to set up an automatic test frame work. Inside which, I'm using minidom to parse xml files. But, it seems that minidom did not work correctlly:
------------------------------------------------ com.ibm.staf.service.stax.STAXPythonEvaluationException: Traceback (innermost last): File "<pyExec string>", line 9, in ? File "/home/caoy/STAF/STAFscripts/bin/./suit_dom.py", line 27, in getTestList File "/usr/local/staf/data/STAF/lang/java/shared_jython/2.1-staf-v3/Lib/xml/dom/minidom.py", line 908, in parse File "/usr/local/staf/data/STAF/lang/java/shared_jython/2.1-staf-v3/Lib/xml/dom/minidom.py", line 899, in _doparse File "/usr/local/staf/data/STAF/lang/java/shared_jython/2.1-staf-v3/Lib/xml/dom/pulldom.py", line 306, in parse File "/usr/local/staf/data/STAF/lang/java/shared_jython/2.1-staf-v3/Lib/xml/sax/sax2exts.py", line 34, in make_parser File "/usr/local/staf/data/STAF/lang/java/shared_jython/2.1-staf-v3/Lib/xml/sax/saxexts.py", line 64, in make_parser File "/usr/local/staf/data/STAF/lang/java/shared_jython/2.1-staf-v3/Lib/xml/sax/saxexts.py", line 37, in _create_parser File "/usr/local/staf/data/STAF/lang/java/shared_jython/2.1-staf-v3/Lib/xml/sax/drivers2/drv_xmlproc.py", line 9, in ? File "/usr/local/staf/data/STAF/lang/java/shared_jython/2.1-staf-v3/Lib/xml/parsers/xmlproc/xmlproc.py", line 14, in ? File "/usr/local/staf/data/STAF/lang/java/shared_jython/2.1-staf-v3/Lib/xml/parsers/xmlproc/dtdparser.py", line 20, in ? NameError: XMLCommonParser ------------------------------------------------ I could run the same python script by using /user/bin/python, Did any one have some idea about this issue? Thanks Cao Yu ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ staf-users mailing list staf-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/staf-users