XSLT 2 Processor

2007-12-08 Thread anand nalya
Hi,
I wanted to know if there is a XSLT 2 processor for python??
Thanks,
Anand Nalya
-- 
http://mail.python.org/mailman/listinfo/python-list

XSLT 2 Processor

2007-12-08 Thread anand nalya
Hi,
I wanted to know if there is a XSLT 2 processor for python??
Thanks,
Anand Nalya
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: xpath and current python xml libraries

2007-12-11 Thread anand nalya
Is there a package that supports XSLT 2?

On 11/12/2007, Paul Boddie <[EMAIL PROTECTED]> wrote:
>
> On Dec 11, 2:03 am, [EMAIL PROTECTED] wrote:
> > PyXML seems to be long gone. Is lxml the way to go if i want to have
> > xpath supported?
>
> The libxml2dom package (which I maintain) also supports XPath and is
> also based on libxml2. If you want to migrate code from using PyXML
> without too much effort, it might be a solution. See here for details:
>
> http://www.python.org/pypi/libxml2dom
>
> Paul
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list

Error accessing a java web service

2007-12-11 Thread anand nalya
Hi,

I'm trying to access a web service written in java from python, but it is
returning a NullPointerException. The parameter that I'm passing is somehow
not reaching the server.

Here is the code I'm using for invoking the service

import SOAPpy
from SOAPpy import SOAPProxy
import fpconst
import xml

namespace = 'http://wev.onyomo.com/'
url = 'http://localhost:8176/XSLTTransformerService/XSLTTransformer'
server = SOAPProxy(url,namespace)

server.config.dumpSOAPOut = 1
server.config.dumpSOAPIn = 1

server.convert('');

*** Outgoing SOAP **

http://schemas.xmlsoap.org/soap/encoding/";
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
  xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
  xmlns:xsd="http://www.w3.org/1999/XMLSchema";
>

http://wev.onyomo.com/"; SOAP-ENC:root="1">
<results />




*** Incoming SOAP **
http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
http://www.w3.org/2001/XMLSchema";
xmlns:ns1="http://wev.onyomo.com/";>http://schemas.xmlsoap.org/soap/envelope/
">soapenv:Server
java.lang.NullPointerException


Traceback (most recent call last):
  File "", line 1, in ?
  File "/home/anand/Desktop/SOAPpy-0.12.0/SOAPpy/Client.py", line 470, in
__call__
  File "/home/anand/Desktop/SOAPpy-0.12.0/SOAPpy/Client.py", line 492, in
__r_call
  File "/home/anand/Desktop/SOAPpy-0.12.0/SOAPpy/Client.py", line 406, in
__call
SOAPpy.Types.faultType: 


When I access the same web service through a java client, it works fine.

Am I missing something here??

Cheers,
Anand Nalya
-- 
http://mail.python.org/mailman/listinfo/python-list

python glibc error

2008-09-02 Thread anand nalya
I'm getting the following errors while trying to run a python script:

*** glibc detected *** python: free(): invalid next size (normal):
0x0d2da210 ***

*** glibc detected *** python: malloc(): memory corruption:
0x1b81da60 ***

Is this a bug in my script or python or gllbc?

Relevent version numbers are:
#uname -a
Linux myserver 2.6.18-92.1.10.el5 #1 SMP Tue Aug 5 07:42:41 EDT 2008 x86_64
x86_64 x86_64 GNU/Linux
# python -V
Python 2.4.3
/lib/libc.so.6 | head -1
GNU C Library stable release version 2.5, by Roland McGrath et al.

The same script is running fine of fedora 4:
On Fedora:
uname -a
Linux onyomo.com 2.6.11-1.1369_FC4smp #1 SMP Thu Jun 2 23:08:39 EDT 2005
i686 i686 i386 GNU/Linux
python -V
Python 2.4.1
/lib/libc.so.6 | head -1
GNU C Library development release version 2.3.5, by Roland McGrath et al.

Regards,
Anand
--
http://mail.python.org/mailman/listinfo/python-list