The XML-RPC spec doesn't mention or use the encoding attribute.  I have
heard grumbling about this before, but (given that I'm basing this reading
on offhand informal comments from a couple people) consensus is that the
spec is the spec and therefore the encoding attribute should be left off.

FWIW the principle of being strict about what you generate and generous
about what you accept implies that implementations should accept it but
not generate it.

> > I'm aware of these facts but I'm curious as to whether the standard
> XML-RPC
> > spec includes the use of the encoding attribute in the xml declaration.
> From
> > the recent problems posted on this list about different encoding systems,
> it
> > would seem so, but I'd just like some confirmation.
>
> Phil,
>
> Dave Winner says that XML-RPC suports all of XML. So XML-RPC implementations
> should allow the encoding attirbute in the XML declaration.
>
> John Wilson
> The Wilson Partnership
> http://www.wilson.co.uk

Reply via email to