Source code of Windows XP (NT5)
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.

112 lines
5.5 KiB

  1. <?xml version="1.0"?>
  2. <Schema name="myschema" xmlns="urn:schemas-microsoft-com:xml-data"
  3. xmlns:dt="urn:schemas-microsoft-com:datatypes">
  4. <!-- Attributes -->
  5. <AttributeType name="manifestVersion" dt:type="enumeration" dt:values="1.0"/>
  6. <AttributeType name="name" dt:type="string"/>
  7. <AttributeType name="type" dt:type="enumeration" dt:values="win32 win32-policy" required="yes"/>
  8. <AttributeType name="publicKeyToken" dt:type="bin.hex" />
  9. <AttributeType name="language" dt:type="string"/>
  10. <AttributeType name="processorArchitecture" dt:type="string"/>
  11. <AttributeType name="version" dt:type="string"/>
  12. <AttributeType name="optional" dt:type="enumeration" dt:values="yes no"/>
  13. <AttributeType name="clsid" dt:type="string"/>
  14. <AttributeType name="description" dt:type="string"/>
  15. <AttributeType name="threadingModel" dt:type="string"/>
  16. <AttributeType name="tlbid" dt:type="string"/>
  17. <AttributeType name="progid" dt:type="string"/>
  18. <AttributeType name="helpdir" dt:type="string"/>
  19. <AttributeType name="iid" dt:type="string"/>
  20. <AttributeType name="numMethods" dt:type="ui4"/>
  21. <AttributeType name="resourceid" dt:type="string"/>
  22. <AttributeType name="flags" dt:type="enumeration" dt:values="control hidden restricted hasdiskimage"/>
  23. <AttributeType name="loadFrom" dt:type="string"/>
  24. <AttributeType name="hashalg" dt:type="enumeration" dt:values="SHA1 SHA MD5 MD4 MD2"/>
  25. <AttributeType name="hash" dt:type="string"/>
  26. <AttributeType name="proxyStubClsid32" dt:type="string"/>
  27. <AttributeType name="baseInterface" dt:type="string"/>
  28. <AttributeType name="versioned" dt:type="enumeration" dt:values="yes no"/>
  29. <AttributeType name="oldVersion" dt:type="string"/>
  30. <AttributeType name="newVersion" dt:type="string"/>
  31. <!-- Elements-->
  32. <ElementType name="assembly" model = "closed" content="eltOnly">
  33. <attribute type ="manifestVersion" required="yes"/>
  34. <element type="noInherit" minOccurs="0" maxOccurs="1"/>
  35. <element type="noInheritable" minOccurs="0" maxOccurs="1"/>
  36. <element type="assemblyIdentity" minOccurs="1" maxOccurs="1"/>
  37. <element type="description" minOccurs="0" maxOccurs="1"/>
  38. <element type="dependency" minOccurs="0" maxOccurs="*"/>
  39. <element type="file" minOccurs="0" maxOccurs="*"/>
  40. <element type="comInterfaceExternalProxyStub" minOccurs="0" maxOccurs="*"/>
  41. </ElementType>
  42. <ElementType name="assemblyIdentity" model = "closed">
  43. <attribute type="type" required="yes"/>
  44. <attribute type="name" required="yes"/>
  45. <attribute type="publicKeyToken" required="no"/>
  46. <attribute type="language" required="no"/>
  47. <attribute type="processorArchitecture" required="yes" />
  48. <!-- not required in policy identities -->
  49. <attribute type="version" required="no"/>
  50. </ElementType>
  51. <ElementType name="description"/>
  52. <ElementType name="bindingRedirect" model="closed">
  53. <attribute type="oldVersion" required="no" />
  54. <attribute type="newVersion" required="no" />
  55. </ElementType>
  56. <ElementType name="dependency" model = "closed" content="eltOnly">
  57. <element type="dependentAssembly" minOccurs="0" maxOccurs="1"/>
  58. <attribute type="optional" required="no"/>
  59. </ElementType>
  60. <ElementType name="dependentAssembly" model = "closed" content="eltOnly">
  61. <element type="assemblyIdentity" minOccurs="1" maxOccurs="1"/>
  62. <element type="bindingRedirect" minOccurs="0" maxOccurs="*"/>
  63. </ElementType>
  64. <ElementType name="file" model = "closed" content="eltOnly">
  65. <attribute type="name" required="yes"/>
  66. <attribute type ="loadFrom" required="no"/>
  67. <attribute type ="hash" required="no"/>
  68. <attribute type ="hashalg" required="no"/>
  69. <element type="windowClass" minOccurs="0" maxOccurs="*"/>
  70. <element type="comClass" minOccurs="0" maxOccurs="*"/>
  71. <element type="typelib" minOccurs="0" maxOccurs="*"/>
  72. <element type="comInterfaceProxyStub" minOccurs="0" maxOccurs="*"/>
  73. </ElementType>
  74. <ElementType name="windowClass">
  75. <attribute type="versioned" required="no"/>
  76. </ElementType>
  77. <ElementType name="comClass" model = "closed" content="eltOnly">
  78. <attribute type="description" required="no"/>
  79. <attribute type="clsid" required="yes"/>
  80. <attribute type="threadingModel" required="no"/>
  81. <attribute type="tlbid" required="no"/>
  82. <attribute type="progid" required="no"/>
  83. <element type="progid" minOccurs="0" maxOccurs="*"/>
  84. </ElementType>
  85. <ElementType name="comInterfaceProxyStub" model = "closed">
  86. <attribute type="iid" required="yes"/>
  87. <attribute type="name" required="no"/>
  88. <attribute type="tlbid" required="no"/>
  89. <attribute type="numMethods" required="no"/>
  90. <attribute type="proxyStubClsid32" required="no"/>
  91. <attribute type="baseInterface" required="no"/>
  92. </ElementType>
  93. <ElementType name="comInterfaceExternalProxyStub" model = "closed">
  94. <attribute type="iid" required="yes"/>
  95. <attribute type="name" required="yes"/>
  96. <attribute type="tlbid" required="no"/>
  97. <attribute type="numMethods" required="no"/>
  98. <attribute type="proxyStubClsid32" required="no"/>
  99. <attribute type="baseInterface" required="no"/>
  100. </ElementType>
  101. <ElementType name="typelib" model = "closed">
  102. <attribute type="tlbid" required="yes"/>
  103. <attribute type="version" required="yes"/>
  104. <attribute type="helpdir" required="yes"/>
  105. <attribute type="resourceid" required="no"/>
  106. <attribute type="flags" required="no"/>
  107. </ElementType>
  108. <ElementType name="noInherit"/>
  109. <ElementType name="noInheritable"/>
  110. <ElementType name="progid"/>
  111. </Schema>