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

RE: Clarification on use of encodingStyle attribute

From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Date: Wed, 20 Mar 2002 10:29:38 -0800
Message-ID: <79107D208BA38C45A4E45F62673A434D06DEDA59@red-msg-07.redmond.corp.microsoft.com>
To: "Simon Fell" <soap@zaks.demon.co.uk>
Cc: <xml-dist-app@w3.org>

>encodingStyle in SOAP 1.1 is described as "... This attribute MAY
>appear on any element, and is scoped to that element's contents and
>all child elements not themselves containing such an attribute, much
>as an XML namespace declaration is scoped. ...." This makes a lot of
>sense to me, it works like many things in XML, namespaces, xml:base,

I agree that the SOAP 1.1 wording is less than stellar with respect to
using the attribute.

>I can see your point WRT to headers, but wouldn't this also apply to
>body though ?, it can have 0..n children.

As we don't say anything about the structure of the body is is possible
to have the encodingstyle apply to the complete body contents:

<env:Envelope xmlns:env="http://www.w3.org/2001/12/soap-envelope" >
  <env:Body env:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
xmlns:m="http://example.org/2001/06/quotes" >

However, we *do* say quite a bit about the structure of the Header as
well as the Envelope.

Received on Wednesday, 20 March 2002 13:30:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:11:48 UTC