[XML-SIG] WDDX for Python

Simeon Simeonov simeons@allaire.com
Fri, 18 Dec 1998 11:06:06 -0500


>There are three conventions that should be followed:
>
> * SGML convention is that the URI should be to a document describing the
>object type. That way if you ever "find" a packet, (e.g. as a
>serialization of a large data structure) then you can research it.
>
> * XML Namespaces convention is that applications should not depend on any
>particular type of data at the other end (or of the URI pointing to
>anything at all)
>
> * general URL convention is that you or your organization should own the
>domain name.
>


I like the XML Namespaces approach. The type URI should be no more than a
unique ID that both ends of a data exchange will use (most likely) to plug
into some kind of an object factory. So a generic Python object can
serialize its data to a structure w/ a type= attribute obtained from this
object factory.

Sim
Allaire