From: Dean T. <dth...@me...> - 2001-07-02 19:17:18
|
> 2) Soappy requires a SAX 2 compliant XML parser -- does such a beast exist > in pure Python or do I have to try to integrate a Java implementation > (Xerces ??) into the xml package? Has this already been done somewhere? I have played around with Xerces from within Jython. It went so smoothly that you may find Xerces serves your needs without any integration work. That is, you may find Soappy can happily use the Xerces Java classes directly. I'd be interested in hearing how it goes. Dean -----Original Message----- From: jyt...@li... [mailto:jyt...@li...]On Behalf Of jyt...@li... Sent: Monday, July 02, 2001 3:06 PM To: jyt...@li... Subject: Jython-users digest, Vol 1 #193 - 3 msgs Send Jython-users mailing list submissions to jyt...@li... To subscribe or unsubscribe via the World Wide Web, visit http://lists.sourceforge.net/lists/listinfo/jython-users or, via email, send a message with subject or body 'help' to jyt...@li... You can reach the person managing the list at jyt...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of Jython-users digest..." Today's Topics: 1. soappy in Jython ... (Alan Littleford) 2. soappy in Jython ... (Alan Littleford) 3. Re: soappy in Jython ... (D-Man) --__--__-- Message: 1 From: "Alan Littleford" <al...@li...> To: <jyt...@li...> Date: Sun, 1 Jul 2001 16:18:10 -0700 Subject: [Jython-users] soappy in Jython ... This is a multi-part message in MIME format. ------=_NextPart_000_0039_01C10249.6B8F5BF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I am trying to get soappy (www.actzero.com) running under Jython (2.1). It seems the xml package is absent from Jython so I am wondering: 1) Can I simply copy over the xml package from Python 2.0 2) Soappy requires a SAX 2 compliant XML parser -- does such a beast exist in pure Python or do I have to try to integrate a Java implementation (Xerces ??) into the xml package? Has this already been done somewhere? This is for proof of concept stuff, so I don't need blazing performance on the XML side. Sorry if this is a RTFM question -- I'm still getting up to speed on Jython, and I didn't see much (beyond a brief exchange) about 6 months ago) in the archives. Thanks Alan ------=_NextPart_000_0039_01C10249.6B8F5BF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR></HEAD> <BODY> <DIV><FONT face=3DArial size=3D2><SPAN class=3D513540523-01072001>I am = trying to get=20 soappy (<A href=3D"http://www.actzero.com">www.actzero.com</A>) running = under=20 Jython (2.1). It seems the xml package is absent from Jython so I am=20 wondering:</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D513540523-01072001></SPAN></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D513540523-01072001>1) Can = I simply copy=20 over the xml package from Python 2.0</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D513540523-01072001>2) = Soappy requires a=20 SAX 2 compliant XML parser -- does such a beast exist in pure Python or = do I=20 have to try to integrate a Java implementation (Xerces ??) into the xml = package?=20 Has this already been done somewhere?</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D513540523-01072001></SPAN></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D513540523-01072001>This = is for proof of=20 concept stuff, so I don't need blazing performance on the XML=20 side.</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D513540523-01072001></SPAN></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D513540523-01072001>Sorry = if this is a=20 RTFM question -- I'm still getting up to speed on Jython, and I didn't = see much=20 (beyond a brief exchange) about 6 months ago) in the=20 archives.</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D513540523-01072001></SPAN></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D513540523-01072001>Thanks</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D513540523-01072001></SPAN></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D513540523-01072001>Alan=20 </SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D513540523-01072001></SPAN></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D513540523-01072001></SPAN></FONT> </DIV></BODY></HTML> ------=_NextPart_000_0039_01C10249.6B8F5BF0-- --__--__-- Message: 2 From: "Alan Littleford" <al...@li...> To: <jyt...@li...> Date: Sun, 1 Jul 2001 16:36:02 -0700 Subject: [Jython-users] soappy in Jython ... This is a multi-part message in MIME format. ------=_NextPart_000_003D_01C1024B.EA91F000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I am trying to get soappy (www.actzero.com) running under Jython (2.1). It seems the xml package is absent from Jython so I am wondering: 1) Can I simply copy over the xml package from Python 2.0 2) Soappy requires a SAX 2 compliant XML parser -- does such a beast exist in pure Python or do I have to try to integrate a Java implementation (Xerces ??) into the xml package? Has this already been done somewhere? This is for proof of concept stuff, so I don't need blazing performance on the XML side. Sorry if this is a RTFM question -- I'm still getting up to speed on Jython, and I didn't see much (beyond a brief exchange) about 6 months ago) in the archives. Thanks Alan ------=_NextPart_000_003D_01C1024B.EA91F000 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR></HEAD> <BODY> <DIV><FONT face=3DArial size=3D2> <DIV><FONT face=3DArial size=3D2><SPAN class=3D513540523-01072001>I am = trying to get=20 soappy (<A href=3D"http://www.actzero.com/">www.actzero.com</A>) running = under=20 Jython (2.1). It seems the xml package is absent from Jython so I am=20 wondering:</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D513540523-01072001></SPAN></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D513540523-01072001>1) Can = I simply copy=20 over the xml package from Python 2.0</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D513540523-01072001>2) = Soappy requires a=20 SAX 2 compliant XML parser -- does such a beast exist in pure Python or = do I=20 have to try to integrate a Java implementation (Xerces ??) into the xml = package?=20 Has this already been done somewhere?</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D513540523-01072001></SPAN></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D513540523-01072001>This = is for proof of=20 concept stuff, so I don't need blazing performance on the XML=20 side.</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D513540523-01072001></SPAN></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D513540523-01072001>Sorry = if this is a=20 RTFM question -- I'm still getting up to speed on Jython, and I didn't = see much=20 (beyond a brief exchange) about 6 months ago) in the=20 archives.</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D513540523-01072001></SPAN></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D513540523-01072001>Thanks</SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D513540523-01072001></SPAN></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><SPAN class=3D513540523-01072001>Alan=20 </SPAN></FONT></DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D513540523-01072001></SPAN></FONT> </DIV> <DIV><FONT face=3DArial size=3D2><SPAN=20 class=3D513540523-01072001></SPAN></FONT> </DIV></FONT></DIV></BODY>= </HTML> ------=_NextPart_000_003D_01C1024B.EA91F000-- --__--__-- Message: 3 Date: Mon, 2 Jul 2001 13:41:07 -0400 From: D-Man <ds...@ri...> To: jyt...@li... Subject: Re: [Jython-users] soappy in Jython ... On Sun, Jul 01, 2001 at 04:18:10PM -0700, Alan Littleford wrote: | I am trying to get soappy (www.actzero.com) running under Jython (2.1). It | seems the xml package is absent from Jython so I am wondering: | | 1) Can I simply copy over the xml package from Python 2.0 AFAIK xml in CPython is a few Python modules mainly for API specs, but the core of it is in C (expat, or some other implementation). | 2) Soappy requires a SAX 2 compliant XML parser -- does such a beast exist | in pure Python or do I have to try to integrate a Java implementation | (Xerces ??) into the xml package? Has this already been done somewhere? Since the xml parsing in CPython is C code, I don't know of any pure python implementations. You might want to check out the Jakarta project, a part of the Apache group. They have a bunch of Java stuff including an XML parser (don't know if it is SAX2 or not) and regex stuff. The regex stuff is used by Jython, and the XML stuff is used by the (Java) company I am working for right now (but I haven't worked on that part of the project). HTH, -D --__--__-- _______________________________________________ Jython-users mailing list Jyt...@li... http://lists.sourceforge.net/lists/listinfo/jython-users End of Jython-users Digest |