xmlmime 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?xml version="1.0" ?>
  2. <!--
  3. W3C XML Schema defined in the Describing Media Content of Binary Data in XML
  4. specification
  5. http://www.w3.org/TR/xml-media-types
  6. Copyright © 2005 World Wide Web Consortium,
  7. (Massachusetts Institute of Technology, European Research Consortium for
  8. Informatics and Mathematics, Keio University). All Rights Reserved. This
  9. work is distributed under the W3C® Software License [1] in the hope that
  10. it will be useful, but WITHOUT ANY WARRANTY; without even the implied
  11. warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12. [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
  13. $Id: xmlmime.xsd,v 1.1 2005/04/25 17:08:35 hugo Exp $
  14. -->
  15. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  16. xmlns:xmime="http://www.w3.org/2005/05/xmlmime"
  17. targetNamespace="http://www.w3.org/2005/05/xmlmime" >
  18. <xs:attribute name="contentType">
  19. <xs:simpleType>
  20. <xs:restriction base="xs:string" >
  21. <xs:minLength value="3" />
  22. </xs:restriction>
  23. </xs:simpleType>
  24. </xs:attribute>
  25. <xs:attribute name="expectedContentTypes" type="xs:string" />
  26. <xs:complexType name="base64Binary" >
  27. <xs:simpleContent>
  28. <xs:extension base="xs:base64Binary" >
  29. <xs:attribute ref="xmime:contentType" />
  30. </xs:extension>
  31. </xs:simpleContent>
  32. </xs:complexType>
  33. <xs:complexType name="hexBinary" >
  34. <xs:simpleContent>
  35. <xs:extension base="xs:hexBinary" >
  36. <xs:attribute ref="xmime:contentType" />
  37. </xs:extension>
  38. </xs:simpleContent>
  39. </xs:complexType>
  40. </xs:schema>