W3C home > Mailing lists > Public > www-ws-desc@w3.org > April 2005

Media-type note: new wordings to take into account the issue that schema mapping tools have

From: Anish Karmarkar <Anish.Karmarkar@oracle.com>
Date: Thu, 21 Apr 2005 13:07:07 -0700
Message-ID: <426807EB.50901@oracle.com>
To: www-ws-desc@w3.org
CC: Joe Fialli <joe.fialli@Sun.COM>

Here are the wordings Glen, Umit, Roberto and I agreed on to resolve the 
issue:

The xmime:expectedContentType annotation can be used  in conjunction
with either type or element declarations. Certain data-binding
frameworks which use static type mappings prefer the
xmime:expectedContentTypes annotation to be on named complexType
declarations as opposed to on element declarations using those types. To
achieve maximum interoperability with these tools, the use of
expectedContentTypes on element declarations using named complex types
is not recommended. An example is provided in Example 6.

-Anish
--
Received on Thursday, 21 April 2005 20:09:38 GMT

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