Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
2.4 KiB

  1. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  2. <xsd:element name="assembly">
  3. <xsd:complexType>
  4. <xsd:sequence>
  5. <xsd:element name="assemblyIdentity" type="assemblyIdentityType" />
  6. <xsd:element name="description" type="xsd:string" />
  7. <xsd:element name="dependency">
  8. <xsd:complexType>
  9. <xsd:sequence>
  10. <xsd:element name="dependentAssembly">
  11. <xsd:complexType>
  12. <xsd:sequence>
  13. <xsd:element name="assemblyIdentity" type="assemblyIdentityType" />
  14. <xsd:element name="install">
  15. <xsd:complexType>
  16. <xsd:attribute name="codebase" type="xsd:string" use="required" />
  17. <xsd:attribute name="type" type="xsd:string" />
  18. </xsd:complexType>
  19. </xsd:element>
  20. <xsd:element name="subscription">
  21. <xsd:complexType>
  22. <xsd:attribute name="synchronizeInterval" type="xsd:positiveInteger" use="required" />
  23. <xsd:attribute name="intervalUnit" type="xsd:string" use="required" />
  24. <xsd:attribute name="synchronizeEvent" type="xsd:string" use="required" />
  25. <xsd:attribute name="eventDemandConnection" type="xsd:string" use="required" />
  26. </xsd:complexType>
  27. </xsd:element>
  28. </xsd:sequence>
  29. </xsd:complexType>
  30. </xsd:element>
  31. </xsd:sequence>
  32. </xsd:complexType>
  33. </xsd:element>
  34. </xsd:sequence>
  35. <xsd:attribute name="manifestVersion" type="xsd:decimal" fixed="1.0" use="required" />
  36. </xsd:complexType>
  37. </xsd:element>
  38. <xsd:complexType name="assemblyIdentityType">
  39. <xsd:attribute name="type" type="xsd:string" />
  40. <xsd:attribute name="name" type="xsd:string" use="required" />
  41. <xsd:attribute name="version" type="versionType" use="required" />
  42. <xsd:attribute name="publicKeyToken" type="bytesAsHex" use="required" />
  43. <xsd:attribute name="processorArchitecture" type="xsd:string" />
  44. <xsd:attribute name="language" type="xsd:string" />
  45. </xsd:complexType>
  46. <xsd:simpleType name="versionType">
  47. <xsd:restriction base="xsd:string">
  48. <xsd:pattern value="((\d)+)\.((\d)+)\.((\d)+)\.((\d)+)" />
  49. </xsd:restriction>
  50. </xsd:simpleType>
  51. <xsd:simpleType name="bytesAsHex">
  52. <xsd:restriction base="xsd:string">
  53. <xsd:pattern value="(((\d|[a-f]){2})*|((\d|[A-F]){2})*)" />
  54. </xsd:restriction>
  55. </xsd:simpleType>
  56. </xsd:schema>