xml-rpc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mike marsh <sanchosmas...@yahoo.com>
Subject Re: need help: cannot marshal <type 'long int'>
Date Fri, 20 Sep 2002 18:21:42 GMT
Thanks!  I made the additions you suggested.  Not
working yet, but soon.  When I get it resolved, I'll
post.

thanks again,
mike

--- Tim Peierls <tim@peierls.net> wrote:
> mike marsh wrote:
> > Unfortunately, the other folks around me are
> python gurus. ...
> > Zope and database browser1 both use the same
> python module for 
> > xmlrpc, which obviously deviates from the xmlrpc
> standard.  
> 
> Deviant Python programmers, I figured it might be
> something like 
> that. Just don't tell Dave Winer I told you any of
> this. :-)
> 
> XmlRpc.java, line 445, method startElement is the
> one that does the 
> parsing, line 601, method characterData does the
> mapping. You would 
> need to define another type constant, LONG, near
> line 145.
> 
> Going the other direction, XmlWriter.java, line 155,
> method writeObject
> is the one that maps parameter values to XML
> elements.
> 
> These line numbers refer to the latest CVS snapshot.
> 
> One thing: <long int> isn't even valid XML, so make
> sure you know
> exactly what tag the Python piece is expecting,
> probably something
> like <long>345</long>, <long-int>345</long-int>, or
> <long_int>345</long_int>.
> 
> --tim
> 


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

Mime
View raw message