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.

338 lines
11 KiB

  1. <!-- ************************************************** -->
  2. <!-- -->
  3. <!-- This DTD defines the schema for XML 1.0 Documents -->
  4. <!-- representing CIM Element Declarations or Messages, -->
  5. <!-- including WMI extensions not yet supported by CIM. -->
  6. <!-- -->
  7. <!-- Extensions Copyright (c) 1998-1999 Microsoft -->
  8. <!-- Corporation -->
  9. <!-- -->
  10. <!-- DTD Version : 2.0 -->
  11. <!-- Date: July 20th 1999 -->
  12. <!-- ************************************************** -->
  13. <!-- ************************************************** -->
  14. <!-- Entity Declarations -->
  15. <!-- ************************************************** -->
  16. <!ENTITY % CIMName "NAME CDATA #REQUIRED">
  17. <!ENTITY % CIMType "TYPE (boolean|string|char16|uint8|sint8|uint16|sint16|uint32|sint32|uint64|sint64|datetime|real32|real64)">
  18. <!-- This is a WMI extension used for context objects -->
  19. <!ENTITY % VTType "VTTYPE (VT_I4|VT_R8|VT_BOOL|VT_BSTR|VT_UNKNOWN)">
  20. <!ENTITY % QualifierFlavor "OVERRIDABLE (true|false) 'true'
  21. TOSUBCLASS (true|false) 'true'
  22. TOINSTANCE (true|false) 'false'
  23. TRANSLATABLE (true|false) 'false'">
  24. <!ENTITY % ClassOrigin "CLASSORIGIN CDATA #IMPLIED">
  25. <!ENTITY % Propagated "PROPAGATED (true|false) 'false'">
  26. <!ENTITY % ArraySize "ARRAYSIZE CDATA #IMPLIED">
  27. <!ENTITY % SuperClass "SUPERCLASS CDATA #IMPLIED">
  28. <!ENTITY % ClassName "CLASSNAME CDATA #REQUIRED">
  29. <!ENTITY % ReferenceClass "REFERENCECLASS CDATA #IMPLIED">
  30. <!-- ************************************************** -->
  31. <!-- Root element -->
  32. <!-- CIMVERSION must be "2.0" -->
  33. <!-- DTDVERSION must be "2.0" -->
  34. <!-- ************************************************** -->
  35. <!ELEMENT CIM (MESSAGE|DECLARATION)>
  36. <!ATTLIST CIM
  37. CIMVERSION CDATA #REQUIRED
  38. DTDVERSION CDATA #REQUIRED>
  39. <!-- ************************************************** -->
  40. <!-- Object declaration elements -->
  41. <!-- ************************************************** -->
  42. <!ELEMENT DECLARATION (DECLGROUP|DECLGROUP.WITHNAME|DECLGROUP.WITHPATH)*>
  43. <!ELEMENT DECLGROUP ((LOCALNAMESPACEPATH|NAMESPACEPATH)?,QUALIFIER.DECLARATION*,VALUE.OBJECT*)>
  44. <!ELEMENT DECLGROUP.WITHNAME ((LOCALNAMESPACEPATH|NAMESPACEPATH)?,QUALIFIER.DECLARATION*,VALUE.NAMEDOBJECT*)>
  45. <!ELEMENT DECLGROUP.WITHPATH (VALUE.OBJECTWITHPATH|VALUE.OBJECTWITHLOCALPATH)*>
  46. <!ELEMENT QUALIFIER.DECLARATION (SCOPE?,(VALUE|VALUE.ARRAY)?)>
  47. <!ATTLIST QUALIFIER.DECLARATION
  48. %CIMName;
  49. %CIMType; #REQUIRED
  50. ISARRAY (true|false) #IMPLIED
  51. %ArraySize;
  52. %QualifierFlavor;>
  53. <!ELEMENT SCOPE EMPTY>
  54. <!ATTLIST SCOPE
  55. CLASS (true|false) 'false'
  56. ASSOCIATION (true|false) 'false'
  57. REFERENCE (true|false) 'false'
  58. PROPERTY (true|false) 'false'
  59. METHOD (true|false) 'false'
  60. PARAMETER (true|false) 'false'
  61. INDICATION (true|false) 'false'>
  62. <!-- ************************************************** -->
  63. <!-- Object Value elements -->
  64. <!-- ************************************************** -->
  65. <!ELEMENT VALUE (#PCDATA)>
  66. <!ELEMENT VALUE.ARRAY (VALUE*)>
  67. <!ELEMENT VALUE.REFERENCE (CLASSPATH|LOCALCLASSPATH|CLASSNAME|
  68. INSTANCEPATH|LOCALINSTANCEPATH|INSTANCENAME)>
  69. <!ELEMENT VALUE.REFARRAY (VALUE.REFERENCE*)>
  70. <!ELEMENT VALUE.OBJECT (CLASS|INSTANCE)>
  71. <!ELEMENT VALUE.NAMEDINSTANCE (INSTANCENAME,INSTANCE)>
  72. <!ELEMENT VALUE.OBJECTARRAY (VALUE.OBJECT*)>
  73. <!ELEMENT VALUE.NAMEDOBJECT (CLASS|(INSTANCENAME,INSTANCE))>
  74. <!ELEMENT VALUE.OBJECTWITHLOCALPATH ((LOCALCLASSPATH,CLASS)|(LOCALINSTANCEPATH,INSTANCE))>
  75. <!ELEMENT VALUE.OBJECTWITHPATH ((CLASSPATH,CLASS)|(INSTANCEPATH,INSTANCE))>
  76. <!-- ************************************************** -->
  77. <!-- Object naming and locating elements -->
  78. <!-- ************************************************** -->
  79. <!ELEMENT NAMESPACEPATH (HOST,LOCALNAMESPACEPATH)>
  80. <!ELEMENT LOCALNAMESPACEPATH (NAMESPACE+)>
  81. <!ELEMENT HOST (#PCDATA)>
  82. <!ELEMENT NAMESPACE EMPTY>
  83. <!ATTLIST NAMESPACE
  84. %CIMName;>
  85. <!ELEMENT CLASSPATH (NAMESPACEPATH,CLASSNAME)>
  86. <!ELEMENT LOCALCLASSPATH (LOCALNAMESPACEPATH,CLASSNAME)>
  87. <!ELEMENT CLASSNAME EMPTY>
  88. <!ATTLIST CLASSNAME
  89. %CIMName;>
  90. <!ELEMENT INSTANCEPATH (NAMESPACEPATH,INSTANCENAME)>
  91. <!ELEMENT LOCALINSTANCEPATH (LOCALNAMESPACEPATH,INSTANCENAME)>
  92. <!ELEMENT INSTANCENAME (KEYBINDING*|KEYVALUE?|VALUE.REFERENCE?)>
  93. <!ATTLIST INSTANCENAME
  94. %ClassName;>
  95. <!ELEMENT OBJECTPATH (INSTANCEPATH|CLASSPATH)>
  96. <!ELEMENT KEYBINDING (KEYVALUE|VALUE.REFERENCE)>
  97. <!ATTLIST KEYBINDING
  98. %CIMName;>
  99. <!ELEMENT KEYVALUE (#PCDATA)>
  100. <!ATTLIST KEYVALUE
  101. VALUETYPE (string|boolean|numeric) 'string'>
  102. <!-- ************************************************** -->
  103. <!-- Object definition elements -->
  104. <!-- ************************************************** -->
  105. <!ELEMENT CLASS (QUALIFIER*,(PROPERTY|PROPERTY.ARRAY|PROPERTY.OBJECT|PROPERTY.OBJECTARRAY|PROPERTY.REFERENCE)*,METHOD*)>
  106. <!ATTLIST CLASS
  107. %CIMName;
  108. %SuperClass;>
  109. <!ELEMENT INSTANCE (QUALIFIER*,(PROPERTY|PROPERTY.ARRAY|PROPERTY.OBJECT|PROPERTY.OBJECTARRAY|PROPERTY.REFERENCE)*) >
  110. <!ATTLIST INSTANCE
  111. %ClassName;>
  112. <!ELEMENT QUALIFIER (VALUE|VALUE.ARRAY)>
  113. <!ATTLIST QUALIFIER
  114. %CIMName;
  115. %CIMType; #REQUIRED
  116. %Propagated;
  117. %QualifierFlavor;>
  118. <!ELEMENT PROPERTY (QUALIFIER*,VALUE?)>
  119. <!ATTLIST PROPERTY
  120. %CIMName;
  121. %ClassOrigin;
  122. %Propagated;
  123. %CIMType; #REQUIRED>
  124. <!ELEMENT PROPERTY.ARRAY (QUALIFIER*,VALUE.ARRAY?)>
  125. <!ATTLIST PROPERTY.ARRAY
  126. %CIMName;
  127. %CIMType; #REQUIRED
  128. %ArraySize;
  129. %ClassOrigin;
  130. %Propagated;>
  131. <!ELEMENT PROPERTY.REFERENCE (QUALIFIER*,(VALUE.REFERENCE)?)>
  132. <!ATTLIST PROPERTY.REFERENCE
  133. %CIMName;
  134. %ReferenceClass;
  135. %ClassOrigin;
  136. %Propagated;>
  137. <!ELEMENT PROPERTY.OBJECT (QUALIFIER*,(VALUE.OBJECT)?)>
  138. <!ATTLIST PROPERTY.OBJECT
  139. %CIMName;
  140. %ReferenceClass;
  141. %ClassOrigin;
  142. %Propagated;>
  143. <!ELEMENT PROPERTY.OBJECTARRAY (QUALIFIER*,(VALUE.OBJECTARRAY)?)>
  144. <!ATTLIST PROPERTY.OBJECTARRAY
  145. %CIMName;
  146. %ArraySize;
  147. %ReferenceClass;
  148. %ClassOrigin;
  149. %Propagated;>
  150. <!ELEMENT METHOD (QUALIFIER*,(PARAMETER|PARAMETER.REFERENCE|PARAMETER.ARRAY|PARAMETER.REFARRAY|
  151. PARAMETER.OBJECT|PARAMETER.OBJECTARRAY)*)>
  152. <!ATTLIST METHOD
  153. %CIMName;
  154. %CIMType; #IMPLIED
  155. %ClassOrigin;
  156. %Propagated;>
  157. <!ELEMENT PARAMETER (QUALIFIER*)>
  158. <!ATTLIST PARAMETER
  159. %CIMName;
  160. %CIMType; #REQUIRED>
  161. <!ELEMENT PARAMETER.REFERENCE (QUALIFIER*)>
  162. <!ATTLIST PARAMETER.REFERENCE
  163. %CIMName;
  164. %ReferenceClass;>
  165. <!ELEMENT PARAMETER.ARRAY (QUALIFIER*)>
  166. <!ATTLIST PARAMETER.ARRAY
  167. %CIMName;
  168. %CIMType; #REQUIRED
  169. %ArraySize;>
  170. <!ELEMENT PARAMETER.REFARRAY (QUALIFIER*)>
  171. <!ATTLIST PARAMETER.REFARRAY
  172. %CIMName;
  173. %ReferenceClass;
  174. %ArraySize;>
  175. <!ELEMENT PARAMETER.OBJECT (QUALIFIER*)>
  176. <!ATTLIST PARAMETER.OBJECT
  177. %CIMName;
  178. %ReferenceClass;>
  179. <!ELEMENT PARAMETER.OBJECTARRAY (QUALIFIER*)>
  180. <!ATTLIST PARAMETER.OBJECTARRAY
  181. %CIMName;
  182. %ReferenceClass;
  183. %ArraySize;>
  184. <!-- ************************************************** -->
  185. <!-- WMI Extensions to support the WMI COM API -->
  186. <!-- Currently this includes the CONTEXTOBJECT and -->
  187. <!-- EXTENDEDSTATUS elements -->
  188. <!-- ************************************************** -->
  189. <!ELEMENT CONTEXTOBJECT (CONTEXTPROPERTY|CONTEXTPROPERTY.ARRAY|CONTEXTPROPERTY.OBJECT|CONTEXTPROPERTY.OBJECTARRAY)*>
  190. <!ELEMENT CONTEXTPROPERTY (VALUE?)>
  191. <!ATTLIST CONTEXTPROPERTY
  192. %CIMName;
  193. %VTType; #REQUIRED>
  194. <!ELEMENT CONTEXTPROPERTY.ARRAY (VALUE.ARRAY?)>
  195. <!ATTLIST CONTEXTPROPERTY.ARRAY
  196. %CIMName;
  197. %ArraySize;
  198. %VTType; #REQUIRED>
  199. <!ELEMENT CONTEXTPROPERTY.OBJECT (VALUE.OBJECT?))>
  200. <!ATTLIST CONTEXTPROPERTY.OBJECT
  201. %CIMName;
  202. %ReferenceClass;>
  203. <!ELEMENT CONTEXTPROPERTY.OBJECTARRAY (VALUE.OBJECTARRAY?))>
  204. <!ATTLIST CONTEXTPROPERTY.OBJECTARRAY
  205. %CIMName;
  206. %ArraySize;
  207. %ReferenceClass;>
  208. <!ELEMENT EXTENDEDSTATUS INSTANCE>
  209. <!-- ************************************************** -->
  210. <!-- Message elements -->
  211. <!-- ************************************************** -->
  212. <!ELEMENT MESSAGE (SIMPLEREQ|MULTIREQ|SIMPLERSP|MULTIRSP)>
  213. <!ATTLIST MESSAGE
  214. ID CDATA #REQUIRED
  215. PROTOCOLVERSION CDATA #REQUIRED>
  216. <!ELEMENT MULTIREQ (SIMPLEREQ,SIMPLEREQ+)>
  217. <!ELEMENT SIMPLEREQ (IMETHODCALL|METHODCALL)>
  218. <!ELEMENT IMETHODCALL (LOCALNAMESPACEPATH,CONTEXTOBJECT?,IPARAMVALUE*)>
  219. <!ATTLIST IMETHODCALL
  220. %CIMName;>
  221. <!ELEMENT METHODCALL ((LOCALINSTANCEPATH|LOCALCLASSPATH),CONTEXTOBJECT?,PARAMVALUE*)>
  222. <!ATTLIST METHODCALL
  223. %CIMName;>
  224. <!ELEMENT PARAMVALUE (VALUE|VALUE.REFERENCE|VALUE.ARRAY|VALUE.REFARRAY
  225. |VALUE.OBJECT|VALUE.OBJECTARRAY)?>
  226. <!ATTLIST PARAMVALUE
  227. %CIMName;>
  228. <!ELEMENT IPARAMVALUE (VALUE|VALUE.ARRAY|VALUE.REFERENCE
  229. |INSTANCENAME|CLASSNAME|QUALIFIER.DECLARATION
  230. |CLASS|INSTANCE|VALUE.NAMEDINSTANCE)?>
  231. <!ATTLIST IPARAMVALUE
  232. %CIMName;>
  233. <!ELEMENT MULTIRSP (SIMPLERSP,SIMPLERSP+)>
  234. <!ELEMENT SIMPLERSP (METHODRESPONSE|IMETHODRESPONSE)>
  235. <!ELEMENT METHODRESPONSE (ERROR|(RETURNVALUE?,PARAMVALUE*))>
  236. <!ATTLIST METHODRESPONSE
  237. %CIMName;>
  238. <!ELEMENT IMETHODRESPONSE (ERROR|IRETURNVALUE?)>
  239. <!ATTLIST IMETHODRESPONSE
  240. %CIMName;>
  241. <!ELEMENT ERROR EXTENDEDSTATUS?>
  242. <!ATTLIST ERROR
  243. CODE CDATA #REQUIRED
  244. DESCRIPTION CDATA #IMPLIED>
  245. <!ELEMENT RETURNVALUE (VALUE|VALUE.ARRAY|VALUE.REFERENCE|VALUE.REFARRAY)>
  246. <!ELEMENT IRETURNVALUE (CLASSNAME*|INSTANCENAME*|VALUE*|VALUE.OBJECTWITHPATH* |VALUE.OBJECTWITHLOCALPATH*|VALUE.OBJECT*|OBJECTPATH*
  247. |QUALIFIER.DECLARATION*|VALUE.ARRAY?|VALUE.REFERENCE?
  248. |CLASS*|INSTANCE*|VALUE.NAMEDINSTANCE*)>