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 /RogerReceived on Wednesday, 6 April 2005 23:13:46 GMT
This archive was generated by hypermail 2.2.0 + w3c-0.30 : Wednesday, 6 April 2005 23:13:46 GMT