I have following code. I ran it from python command line window and it
works fine. But I got error running it from stax xml file.
*********************************************
from xml.dom import minidom
xmldoc = minidom.parse('C:/test.xml')
**********************************************
I got error like this:
Com.ibm.staf.service.STAXPythonEvaluationException:
Trackback(innermost last):
File "<pyExec string>", line 6, in?
File
"c:\MyDir\lang\java\shared_jython\2.1-staf-v3\Lib\xml\dom\minidom.py",
line 908, in parse
File
"c:\MyDir\lang\java\shared_jython\2.1-staf-v3\Lib\xml\dom\minidom.py",
line 900, in _doparse
File
"c:\MyDir\lang\java\shared_jython\2.1-staf-v3\Lib\xml\dom\pulldom.py",
line 251, in getEvent
AttributeError:feed
Thanks,
Chi
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
staf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users