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

Re: Clarification on use of encodingStyle attribute

From: Jacek Kopecky <jacek@systinet.com>
Date: Wed, 20 Mar 2002 20:22:16 +0100 (CET)
To: Herve Ruellan <ruellan@crf.canon.fr>
cc: Henrik Frystyk Nielsen <henrikn@microsoft.com>, <xml-dist-app@w3.org>, <soap@zaks.demon.co.uk>, Martin Gudgin <marting@develop.com>
Message-ID: <Pine.LNX.4.44.0203202016230.18693-100000@mail.idoox.com>
 as far as I know, it is not true that "[encodingStyle] it
doesn't apply on [Envelope, Header] but only on contained element
information items for which an encodingStyle is meaningfull". 
 I think that encodingStyle indicates what _this_element_ and its 
contents (not marked otherwise with the attribute), not just to 
those of its contents where it makes sense - who's to say it 
makes sense on anything? 8-)
 Anyway, I agree that the Body element may be marked with 
encodingStyle, but I think Header element cannot use the SOAP 
Encoding encodingStyle because we define attributes like 
mustUnderstand and role while the Encoding does not allow for 
adding arbitrary attributes based on the encoded data.
 Best regards,
                   Jacek Kopecky

                   Senior Architect, Systinet (formerly Idoox)

On Wed, 20 Mar 2002, Herve Ruellan wrote:

 > Henrik,
 > Henrik Frystyk Nielsen wrote:
 > >  [snip]
 > > As a result, it makes sense to allow encodingStyle on Body - it doesn't
 > > apply to the Body element information item but to its contents. On the
 > > other hand, it doesn't make sense to put the attribute on the Envelope
 > > and Header element information items as Header blocks don't follow any
 > > particular encoding style and neither does Envelope contents.
 > I think it would be usefull to allow the use of the SOAP Data Model and 
 > of the SOAP Encoding in the content of Header blocks.
 > If we allow this, I think we should follow the same reasoning for the 
 > Envelope and Header element information items as for the Body element 
 > information item: the encodingStyle attribute is allowed on all these, 
 > it doesn't apply on these but only on contained element information 
 > items for which an encodingStyle is meaningfull.
 > In this way, by defining the encodingStyle for the Envelope element 
 > information items, a sender is able to define once the encoding it used 
 > for a Header block content, for the Body content...
 > Does it make sense ?
 > Hervé.
Received on Wednesday, 20 March 2002 14:22:19 GMT

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