- From: Anish Karmarkar <Anish.Karmarkar@oracle.com>
- Date: Wed, 06 Apr 2005 16:13:34 -0700
- To: "Roger L. Costello" <costello@mitre.org>
- CC: public-ws-media-types@w3.org
Roger, Thanks for the feedback. The updated doc is located at [1]. Example 1 was corrected based on previous feedback. The latest version does not have the errors that you mention. -Anish -- [1] http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/media-types/xml-media-types.html?content-type=text/html;%20charset=utf-8 Roger L. Costello wrote: > 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 Wednesday, 6 April 2005 23:13:46 UTC