Andrew Layman wrote: > Martin Gudgin wrote: "My point is that the [Busy Developer's Guide] > implies that xsi:type will always be used whereas my feeling is it will > only be used in dynamically typed systems..." > > Martin is correct. for SOAP, yes; for the SOAP "profile" covered by the BDG, no. as far as I can tell, the "BDG" intentionally limits itself to dynamically typed environments. (Frontier, Python, Smalltalk, Perl, Lisp, etc). it works fine for XML-RPC, after all... > For example, the following instance fragment > > <price>12345</price> > > would be valid and sufficient (not require an xsi:type attribute) if the > metadata were like > > int price; > > but would be insufficient (require an xsi:type attribute) if the > metadata were like > > Object price; or if you don't have any metadata at all, of course... (statically typed languages are sooo 20th century ;-) Cheers /FReceived on Thursday, 29 March 2001 15:22:38 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:59 GMT