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.

116 lines
5.1 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="application">
  8. <xsd:complexType>
  9. <xsd:sequence>
  10. <xsd:element name="shellState">
  11. <xsd:complexType>
  12. <xsd:attribute name="friendlyName" type="xsd:string" use="required" />
  13. <xsd:attribute name="entryImageType" type="xsd:string" use="required" fixed=".NetAssembly" />
  14. <xsd:attribute name="entryPoint" type="xsd:string" use="required" fixed="" />
  15. <xsd:attribute name="showCommand" type="xsd:string" use="required" fixed="normal" />
  16. <xsd:attribute name="hotKey" type="xsd:string" use="required" fixed="" />
  17. </xsd:complexType>
  18. </xsd:element>
  19. <xsd:element name="activation">
  20. <xsd:complexType>
  21. <xsd:attribute name="assemblyName" type="xsd:string" use="required" />
  22. <xsd:attribute name="assemblyClass" type="xsd:string" />
  23. <xsd:attribute name="assemblyMethod" type="xsd:string" />
  24. <xsd:attribute name="assemblyMethodArgs" type="xsd:string" />
  25. </xsd:complexType>
  26. </xsd:element>
  27. </xsd:sequence>
  28. </xsd:complexType>
  29. </xsd:element>
  30. <xsd:element name="file" type="fileType" minOccurs="0" maxOccurs="unbounded" />
  31. <xsd:element name="dependency" maxOccurs="unbounded">
  32. <xsd:complexType>
  33. <xsd:sequence>
  34. <xsd:element name="dependentAssembly" minOccurs="0" maxOccurs="unbounded">
  35. <xsd:complexType>
  36. <xsd:sequence>
  37. <xsd:element name="assemblyIdentity" type="assemblyIdentityType" />
  38. <xsd:element name="install">
  39. <xsd:complexType>
  40. <xsd:attribute name="codebase" type="xsd:string" use="required" />
  41. <xsd:attribute name="size" type="xsd:integer" />
  42. </xsd:complexType>
  43. </xsd:element>
  44. </xsd:sequence>
  45. </xsd:complexType>
  46. </xsd:element>
  47. <xsd:element name="platform" minOccurs="2" maxOccurs="unbounded">
  48. <xsd:complexType>
  49. <xsd:sequence>
  50. <xsd:choice>
  51. <xsd:element name="osVersionInfo">
  52. <xsd:complexType>
  53. <xsd:sequence>
  54. <xsd:element name="os" maxOccurs="unbounded">
  55. <xsd:complexType>
  56. <xsd:attribute name="majorVersion" type="xsd:integer" use="required" />
  57. <xsd:attribute name="minorVersion" type="xsd:integer" use="required" />
  58. <xsd:attribute name="buildNumber" type="xsd:integer" />
  59. <xsd:attribute name="servicePackMajor" type="xsd:integer" />
  60. <xsd:attribute name="servicePackMinor" type="xsd:integer" />
  61. </xsd:complexType>
  62. </xsd:element>
  63. </xsd:sequence>
  64. </xsd:complexType>
  65. </xsd:element>
  66. <xsd:element name="dotNetVersionInfo">
  67. <xsd:complexType>
  68. <xsd:sequence>
  69. <xsd:element name="supportedRuntime" maxOccurs="unbounded">
  70. <xsd:complexType>
  71. <xsd:attribute name="version" type="xsd:string" use="required" />
  72. </xsd:complexType>
  73. </xsd:element>
  74. </xsd:sequence>
  75. </xsd:complexType>
  76. </xsd:element>
  77. </xsd:choice>
  78. <xsd:element name="platformInfo">
  79. <xsd:complexType>
  80. <xsd:attribute name="friendlyName" type="xsd:string" use="required" />
  81. <xsd:attribute name="href" type="xsd:string" use="required" />
  82. </xsd:complexType>
  83. </xsd:element>
  84. </xsd:sequence>
  85. </xsd:complexType>
  86. </xsd:element>
  87. </xsd:sequence>
  88. </xsd:complexType>
  89. </xsd:element>
  90. </xsd:sequence>
  91. <xsd:attribute name="manifestVersion" type="xsd:decimal" fixed="1.0" use="required" />
  92. </xsd:complexType>
  93. </xsd:element>
  94. <xsd:complexType name="assemblyIdentityType">
  95. <xsd:attribute name="type" type="xsd:string" />
  96. <xsd:attribute name="name" type="xsd:string" use="required" />
  97. <xsd:attribute name="version" type="versionType" use="required" />
  98. <xsd:attribute name="publicKeyToken" type="bytesAsHex" use="required" />
  99. <xsd:attribute name="processorArchitecture" type="xsd:string" />
  100. <xsd:attribute name="language" type="xsd:string" />
  101. </xsd:complexType>
  102. <xsd:complexType name="fileType">
  103. <xsd:attribute name="name" type="xsd:string" use="required" />
  104. <xsd:attribute name="hash" type="bytesAsHex" use="required" />
  105. <xsd:attribute name="size" type="xsd:integer" />
  106. </xsd:complexType>
  107. <xsd:simpleType name="versionType">
  108. <xsd:restriction base="xsd:string">
  109. <xsd:pattern value="((\d)+)\.((\d)+)\.((\d)+)\.((\d)+)" />
  110. </xsd:restriction>
  111. </xsd:simpleType>
  112. <xsd:simpleType name="bytesAsHex">
  113. <xsd:restriction base="xsd:string">
  114. <xsd:pattern value="(((\d|[a-f]){2})*|((\d|[A-F]){2})*)" />
  115. </xsd:restriction>
  116. </xsd:simpleType>
  117. </xsd:schema>