on Thu, 17 Jul 2003 19:15:06 +0200 rufio <[EMAIL PROTECTED]> wrote: > on Thu, 17 Jul 2003 12:37:36 -0400 Ryan Hoegg > <[EMAIL PROTECTED]> wrote: > > > <cut> I think one > > way we > > could accomplish the transport independence is to have the > > XmlRpcClient and XmlRpcServer classes send and receive messages as > > SAX events rather than bytes. > > Great idea, additionally if SAX2 were used, plugins that uses XML > could simply provide XMLFilter implementation.
errata: I don't think it's so good idea anymore. In future you could want to change internal representation, so either you would have to break compatibility with plugins or transform the messages between representations. Prologless String as the representation of message is good enough for both XML and non-XML transport protocols and it's the simplest form. And yes, internal communication shouldn't use bytes, cause it would have to handle encoding. Regards, rufio