- From: Umit Yalcinalp <umit.yalcinalp@ORACLE.COM>
- Date: Fri, 10 Sep 2004 15:24:46 -0700
- To: public-ws-media-types@w3.org, WS Description List <www-ws-desc@w3.org>
Issue 252[1] has been resolved to use attribute syntax for indicating expectedMediaTypes in the schema in the media-types note [2]. Glen also sent messages to solicit opinion outside the wg on this topic [3]. The example used in [3] is repeated below for comparison. <xs:element name="picture" type="myNS:image" xmlmime:expectedMediaType="image/*"/> There is yet a third way of accomplishing the same goal, by keeping the annotation component but using an attribute part of the annotation. Since this option has not been considered, I am bringing it to your attention and propose that we reopen the issue. This is new information on this topic. The example is rewritten below. <xs:element name="picture" type="myNS:image"> <xs:annotation xmlmime:expectedMediaType="image/*"/> </xs:element> This keeps annotation syntax in place, but does not require appInfo elements. It also preserves the expectedMediaType as an attribute for simplicity. The downside is that one still needs <xs:annotation> tags in the schema, if our simplification motivation is to eliminate them altogether. FYI, we are working on changes to the note [2] to reflect the resolution that has been reached in the F2F [4] as planned. Therefore, if this new information changes the current resolution for Issue 252, then it will have to be reflected in the note at a later time. Cheers, --umit [1] http://dev.w3.org/cvsweb/%7Echeckout%7E/2002/ws/desc/issues/wsd-issues.html#x252 [2] http://www.w3.org/TR/xml-media-types/ [3] http://lists.w3.org/Archives/Public/www-ws-desc/2004Sep/0014.html [4] http://lists.w3.org/Archives/Public/www-ws-desc/2004Aug/0055.html -- Umit Yalcinalp Consulting Member of Technical Staff ORACLE Phone: +1 650 607 6154 Email: umit.yalcinalp@oracle.com
Received on Friday, 10 September 2004 22:25:23 UTC