| 
      
      
      From: Ivan H. <pil...@ya...> - 2006-04-11 08:49:08
      
     | 
| Ciao yinglcs,
     can you help me, please?
     i have exactly the same problem. how could you fix it? i've read
     on the list, taht some files needs to be copied from the python
     xml libraries. is it the way to do so?
Saturday, November 19, 2005, 6:05:20 AM, you wrote:
yac> okay. I find out how to fix it.
yac> Thanks.
yac> -----Original Message-----
yac> From: yinglcs
yac> To: jyt...@li...
yac> Sent: Fri, 18 Nov 2005 21:17:50 -0500
yac> Subject: use xml.dom module in jython.
yac>   Hi,
yac>  I try the xml.dom module with jython
yac>   But I get this error I am not sure why I have this 'AttributeError:
yac> feed' error. Can someone please help?
yac>  Traceback (innermost last):
yac>  File "/workspace/test/CompositeTestCase.py", line 42, in runTest
yac>  File "/workspace/test/CompositeTestCase.py", line 45, in testMatch1
yac>   File
yac> "/home/scheung/programs/jython-2.1/Lib/xml/dom/minidom.py", line
yac> 908, in parse
yac>   File
yac> "/home/scheung/programs/jython-2.1/Lib/xml/dom/minidom.py", line
yac> 900, in _doparse
yac>   File
yac> "/home/scheung/programs/jython-2.1/Lib/xml/dom/pulldom.py", line
yac> 251, in getEvent
yac>  AttributeError: feed
yac>  Thank you.
yac>  My test xml file is this:
yac>  <testcases>
yac>  <test>
yac>  <source>
yac>   x:27 y:0 w:956 h:61 area:58316 areaPerCent:0.03072933 type:3
yac> path:/-/1/3
yac>   x:65 y:66 w:918 h:42 area:38556 areaPerCent:0.020316895 type:3
yac> path:/-/1/5
yac>  </source>
yac>  <expectedResult>
yac>   [[x:27 y:0 w:956 h:61 area:58316 areaPerCent:0.03072933 type:3
yac> path:/-/1/3
yac>   , x:65 y:66 w:918 h:42 area:38556 areaPerCent:0.020316895 type:3
yac> path:/-/1/5
yac>  </expectedResult>
yac>  </test>
yac>  </testcases>
yac> ________________________________________________________________________
yac>   Check Out the new free AIM(R) Mail -- 2 GB of storage and
yac> industry-leading spam and email virus protection.
yac> ________________________________________________________________________
yac> Check Out the new free AIM(R) Mail -- 2 GB of storage and
yac> industry-leading spam and email virus protection.
yac> -------------------------------------------------------
yac> This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
yac> Register for a JBoss Training Course.  Free Certification Exam
yac> for All Training Attendees Through End of 2005. For more info visit:
yac> http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
yac> _______________________________________________
yac> Jython-users mailing list
yac> Jyt...@li...
yac> https://lists.sourceforge.net/lists/listinfo/jython-users
-- 
Best regards,
 Ivan
 mailto:pil...@ya...
 http://pillesoft.freeweb.hu
 |