W3C home > Mailing lists > Public > xml-dist-app@w3.org > January 2002

Re: Question about the SOAP 1.2 envelope schema

From: Bob Cunnings <cunnings@lectrosonics.com>
Date: Wed, 16 Jan 2002 15:55:37 -0700
To: xml-dist-app@w3.org
Message-ID: <3C45A27B.14436.AD01743@localhost>
Hello,

A little confusing. Isn't it allowed? SOAP 1.1 states [1] that the 
encodingStyle attribute "may appear on any element", and of 
course the examples typically placed in in the "Envelope" tag. [2]

The SOAP 1.2 draft also states [3] that this attribute may appear 
on "any element information item in the SOAP message...".

RC

[1] http://www.w3.org/TR/SOAP/#_Toc478383495
[2] http://www.w3.org/TR/SOAP/#_Toc478383490
[3] http://www.w3.org/TR/soap12-part1/#soapencattr

> This was the case with the SOAP 1.1 schema aswell[2]. My recollection is
> that the reason we don't allow encodingStyle on elements in the SOAP
> namespace is that those elements do not follow a particular encoding style.
> It is the *children* of soap:Header/soap:Body that have a particular
> encoding style.
> 
> Gudge
> 
> ----- Original Message -----
> From: "Simon Fell" <soap@zaks.demon.co.uk>
> To: <xml-dist-app@w3.org>
> Sent: Wednesday, January 16, 2002 7:37 PM
> Subject: Question about the SOAP 1.2 envelope schema
> 
> 
> Hi,
> 
> I've been looking at the SOAP 1.2 Envelope schema[1], I don't beleive that
> the schema as it stands allows for the encodingStyle attribute to appear on
> the Envelope or Header elements, whilst the prose allow for that situation,
> however my understanding of XSD is shakey enough that i could be wrong.
> Shouldn't the Envelope and Header complex types include an attributeGroup
> reference to the encodingStyle attribute group ? Also is there any reason
> why encodingStyle uses an attribute group ?
> 
> Thanks
> Simon
> www.pocketsoap.com
> [1] http://www.w3.org/2001/12/soap-envelope
> 
Received on Wednesday, 16 January 2002 17:55:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:06 GMT