On 17 Oct 2005, at 07:41, Jochen Wiedmann wrote:
Hi,
I'd like to read other committers and users opinions on whether and
how to deal with the questions outlined in
issues.apache.org/jira/browse/XMLRPC-71
What do you think?
Hi Jochen!
As far as I understand the issue we are streaming the response back
to the user. If we hit an error in the response (in this case we find
a data item we can't serialise) we generate a fault response and then
stop.
Comments:
1/ this means that we generate a response which is not only illegal
according to the XML-RPC spec it's illegal according to the XML spec.
2/ I don't understand how we can stream the output. The XML-RPC spec
says "The Content-Length must be specified and must be correct." so
we have to generate the whole response before sending any of it
because we need to know how long it is.
I think that the Apache XML-RPC implementation should produce output
which conforms to both the XML and XML-RPC specs.
John Wilson
The Wilson Partnership
http://www.wilson.co.uk