[Zope] Re: XML-RPC and dates
Ulrich Wisser
ulrich.wisser at relevanttraffic.se
Tue Jun 8 07:28:53 EDT 2004
Michael Haubenwallner wrote:
> Ulrich Wisser wrote:
>
>> Hello Michael,
>>
>>>> I would like to include dates in my xml-rpc answers. Zope gives me
>>>> an error "long int exceeds XML-RPC limits". In my Script (Python) I
>>>> am not allowed to import the DateTime class from xmlrpclib.
>>>>
>>>> Do I really have to use external methods?
>>>
>>> Have you tried to convert the date to string and send a string?
>>
>> Yes I did. But then it it send as <string /> markup, not as
>> <date.iso8601 /> markup.
>
> how about this?
> http://www.python.org/doc/current/lib/datetime-objects.html
Yes, that works very well in my external method. But I can not import
xmlrpclib in a Python Script object.
/Ulrich
More information about the Zope
mailing list