[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XMLConf RPC



"Bryan Strickland" writes:
>The proposed RPC actually mixes the RPC tags with tags of
>the data (if the data is an XML document itself). This is
>inconsistent with the treatment of non-xml data since sometimes
>my data integrates as mark-up with the RPC mark-up, and
>sometimes it doesn't.

I don't follow you here. The <rpc> tag is a wrapper for
the operation. It doesn't mix with its contents.

>Also, the lack of data types in the proposed mechanism
>is likely to be regrettable down the road. While someone
>can always encode data types manually in the payload, it
>would be nice if they were defined in the standard.

IMHO, keeping data (foo is "5") separate from meta-data
(foo is an integer) is important. The meta-data should
be in the XML Schema. The RPC need only contain data. If
the other party doesn't know that foo is an integer and
cannot learn this data from the schema, it's probably not
going to care about the true datatype.

Thanks,
 Phil

--
to unsubscribe send a message to xmlconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/xmlconf/>