[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: xmlrpc crashing out with error
- From: Tim Channon <tc@...>
- Date: Thu, 09 Jan 2014 14:39:40 +0000
"Document validates OK."
according to http://cds.library.brown.edu/service/xmlvalid/
Document in this case is the echoed complaint from the Lua XMLRPC code.
However, passing the contents of a file to a remote validator might be
sanitising something or other.
On 09/01/2014 04:21, Tim Channon wrote:
> Replying to myself, figured how to capture the error message, 18k of it.
>
> It says it isn't an XML document, not a surprise. Given the data source
> this is a surprise (source is a very well known server cloud), either
> way must be handled.
>
> On 09/01/2014 02:15, Tim Channon wrote:
>> I am using xmlrpc heavily. Code is working on a smaller real test then I
>> try the important large test for real.
>>
>> Five or more minutes in it throws an error on what I suspect is
>> convoluted xml.
>> Such as
>> <string>a:6:{i:0;i:610;i:1;i:278;i:2;i:3;i:3;
>> s:24:"width="610"
>> height="278"";s:4:"bits";i:8;s:4:"mime";s:9:"image/png";}</string>
>>
>>
>>
>> stack traceback:
>> [C]: in function 'error'
>> ... \xmlrpc\init.lua:545: in function <...\xmlrpc\init.lua:542>
>> (tail call): ?
>> ( ... is edited out code path, security )
>>
>> This is beyond my understanding. Any clues anyone?
>> Debug here involves print statements or dump to disk.
>>
>> Version
>> _DESCRIPTION = "LuaXMLRPC is a library to make remote procedure calls
>> using XML-RPC"
>> _PKGNAME = "LuaXMLRPC"
>> _VERSION_MAJOR = 1
>> _VERSION_MINOR = 2
>> _VERSION_MICRO = 1
>>
>>
>
>
>