Archive of UserLand's first discussion group, started October 5, 1998.

Re: Is XML-RPC a scripting environment?

Author:Fredrik Lundh
Posted:1/20/1999; 8:13:44 AM
Topic:Frontier on MacOS X Server
Msg #:2303 (In response to 2293)
Prev/Next:2302 / 2304

My own opinion, at this moment, is that we should try for the first approach, to get a rigorous set of rules in place about what coercions will take place.

Here's my proposal:

1) simply add the relevant parts of your response to Mr. Nitpicker to the official specification as a requirement. XML RPC implementations must be strict in what they write -- if a value doesn't have a valid syntax, the implementation is broken.

2) in the spirit of XML, recommend that both clients and servers simply refuse to deal with malformed packages.

3) don't define any conversions at all in the protocol; if a method can accept either a or a chunk, or a instead of an , it's up to the server implementor to define that.

I think most other solutions would reduce interoperability rather than improve it...


There are responses to this message:


This page was archived on 6/13/2001; 4:47:26 PM.

© Copyright 1998-2001 UserLand Software, Inc.