Josef Bajada wrote:
Why do you see it as specific? Its just giving the user a choice whether to include the <string> tag or not for a string response. Given that it complies with the specification (and the specification actually recommends using <string>, it just has an ending note saying that if there is nothing than one can assume its a string), why should the user have to override the XmlWriter to just achieve this functionality?
There are *many* more syntactical details, that the XML-RPC may wish to customize. Examples? May be, the base64 encoder should produce lines of 76 characters or less? May be, some strings should be trimmed? Whatever. Why should we prefer to implement a solution for just one specific detail and not a solution that allows others to ensure their specific wishes as well?
Jochen