[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Famous web services with apparent serious XML schema error
----- Original Message ----- From: "Rich Salz" <rsalz@d...> To: "Jeff Greif" <jgreif@a...> Cc: <xml-dev@l...> Sent: Saturday, January 11, 2003 5:28 PM Subject: Re: Famous web services with apparent serious XML schema errors > 3. For some reason, possibly to satisfy the caprices of some early soap > > tools, the services return results that look like this: > > <Authors SOAP-ENC:arrayType="xsd:string[2]" > > xsi:type="SOAP-ENC:Array"> > > <Author xsi:type="xsd:string">Reiner Westermeier</Author> > > <Author xsi:type="xsd:string">Tom Naven</Author> > > </Authors> > > Xerces correctly rejects these also, since the declared type of Authors is > > derived from the xsi:type, which is backwards and illegal. (Notice that the > > soap-enc:arrayType is a typo -- should be "tns:Author[2]"). > > That looks like self-describe SOAP 1.1 array to me. Declaring the type > via xsi:type allows interpretation without a schema. And you're wrong > about the tns:Author[2]. But surely it's not supposed to be incorrect with respect to the schema that's used to specify how these results are supposed to look? Are you forbidden from validating SOAP 1.1 content against a schema? Jeff
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|