- From: Roger L. Costello <costello@mitre.org>
- Date: Tue, 5 Apr 2005 09:13:34 -0400
- To: <public-ws-media-types@w3.org>
- Cc: <costello@mitre.org>
Received on Tuesday, 5 April 2005 13:13:38 UTC
Hi Folks,
I believe that the schemas in this document have some bugs. For example, in
Example 1 there is:
<xs:element name="MyBinaryData"/>
I believe that the slash at the end should not be there.
All of the examples show a restriction of a simpleContent, e.g.,
<xs:complexType name="JPEGPreferredPictureType">
<xs:simpleContent>
<xs:restriction base="xs:base64Binary" >
<xs:attribute ref="xmlmime:contentType" use="required" />
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
I believe that it should an extension of a simpleContent, e,g,
<xs:complexType name="JPEGPreferredPictureType">
<xs:simpleContent>
<xs:extension base="xs:base64Binary" >
<xs:attribute ref="xmlmime:contentType" use="required" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
All the examples have similar problems /Roger
Received on Tuesday, 5 April 2005 13:13:38 UTC