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.

364 lines
12 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|VT_NULL)">
  20. <!ENTITY % QualifierFlavor "OVERRIDABLE (true|false) 'true'
  21. TOSUBCLASS (true|false) 'true'
  22. TOINSTANCE (true|false) 'false'
  23. AMENDED (true|false) 'false'
  24. TRANSLATABLE (true|false) 'false'">
  25. <!ENTITY % ClassOrigin "CLASSORIGIN CDATA #IMPLIED">
  26. <!ENTITY % Propagated "PROPAGATED (true|false) 'false'">
  27. <!ENTITY % ArraySize "ARRAYSIZE CDATA #IMPLIED">
  28. <!ENTITY % SuperClass "SUPERCLASS CDATA #IMPLIED">
  29. <!ENTITY % ClassName "CLASSNAME CDATA #REQUIRED">
  30. <!ENTITY % ReferenceClass "REFERENCECLASS CDATA #IMPLIED">
  31. <!-- ************************************************** -->
  32. <!-- Root element -->
  33. <!-- CIMVERSION must be "2.0" -->
  34. <!-- DTDVERSION must be "2.0" -->
  35. <!-- ************************************************** -->
  36. <!ELEMENT CIM (MESSAGE|DECLARATION)>
  37. <!ATTLIST CIM
  38. CIMVERSION CDATA #REQUIRED
  39. DTDVERSION CDATA #REQUIRED>
  40. <!-- ************************************************** -->
  41. <!-- Object declaration elements -->
  42. <!-- ************************************************** -->
  43. <!ELEMENT DECLARATION (DECLGROUP|DECLGROUP.WITHNAME|DECLGROUP.WITHPATH)*>
  44. <!ELEMENT DECLGROUP ((LOCALNAMESPACEPATH|NAMESPACEPATH)?,QUALIFIER.DECLARATION*,VALUE.OBJECT*)>
  45. <!ELEMENT DECLGROUP.WITHNAME ((LOCALNAMESPACEPATH|NAMESPACEPATH)?,QUALIFIER.DECLARATION*,VALUE.NAMEDOBJECT*)>
  46. <!ELEMENT DECLGROUP.WITHPATH (VALUE.OBJECTWITHPATH|VALUE.OBJECTWITHLOCALPATH)*>
  47. <!ELEMENT QUALIFIER.DECLARATION (SCOPE?,(VALUE|VALUE.ARRAY)?)>
  48. <!ATTLIST QUALIFIER.DECLARATION
  49. %CIMName;
  50. %CIMType; #REQUIRED
  51. ISARRAY (true|false) #IMPLIED
  52. %ArraySize;
  53. %QualifierFlavor;>
  54. <!ELEMENT SCOPE EMPTY>
  55. <!ATTLIST SCOPE
  56. CLASS (true|false) 'false'
  57. ASSOCIATION (true|false) 'false'
  58. REFERENCE (true|false) 'false'
  59. PROPERTY (true|false) 'false'
  60. METHOD (true|false) 'false'
  61. PARAMETER (true|false) 'false'
  62. INDICATION (true|false) 'false'>
  63. <!-- ************************************************** -->
  64. <!-- Object Value elements -->
  65. <!-- ************************************************** -->
  66. <!ELEMENT VALUE (#PCDATA)>
  67. <!ELEMENT VALUE.ARRAY (VALUE*)>
  68. <!ELEMENT VALUE.REFERENCE (CLASSPATH|LOCALCLASSPATH|CLASSNAME|
  69. INSTANCEPATH|LOCALINSTANCEPATH|INSTANCENAME)>
  70. <!ELEMENT VALUE.REFARRAY (VALUE.REFERENCE*)>
  71. <!ELEMENT VALUE.OBJECT (CLASS|INSTANCE)>
  72. <!ELEMENT VALUE.NAMEDINSTANCE (INSTANCENAME,INSTANCE)>
  73. <!ELEMENT VALUE.OBJECTARRAY (VALUE.OBJECT*)>
  74. <!ELEMENT VALUE.NAMEDOBJECT (CLASS|(INSTANCENAME,INSTANCE))>
  75. <!ELEMENT VALUE.OBJECTWITHLOCALPATH ((LOCALCLASSPATH,CLASS)|(LOCALINSTANCEPATH,INSTANCE))>
  76. <!ELEMENT VALUE.OBJECTWITHPATH ((CLASSPATH,CLASS)|(INSTANCEPATH,INSTANCE))>
  77. <!-- ************************************************** -->
  78. <!-- Object naming and locating elements -->
  79. <!-- ************************************************** -->
  80. <!ELEMENT NAMESPACEPATH (HOST,LOCALNAMESPACEPATH)>
  81. <!ELEMENT LOCALNAMESPACEPATH (NAMESPACE+)>
  82. <!ELEMENT HOST (#PCDATA)>
  83. <!ELEMENT NAMESPACE EMPTY>
  84. <!ATTLIST NAMESPACE
  85. %CIMName;>
  86. <!ELEMENT CLASSPATH (NAMESPACEPATH,CLASSNAME)>
  87. <!ELEMENT LOCALCLASSPATH (LOCALNAMESPACEPATH,CLASSNAME)>
  88. <!ELEMENT CLASSNAME EMPTY>
  89. <!ATTLIST CLASSNAME
  90. %CIMName;>
  91. <!ELEMENT INSTANCEPATH (NAMESPACEPATH,INSTANCENAME)>
  92. <!ELEMENT LOCALINSTANCEPATH (LOCALNAMESPACEPATH,INSTANCENAME)>
  93. <!ELEMENT INSTANCENAME (KEYBINDING*|KEYVALUE?|VALUE.REFERENCE?)>
  94. <!ATTLIST INSTANCENAME
  95. %ClassName;>
  96. <!ELEMENT OBJECTPATH (INSTANCEPATH|CLASSPATH)>
  97. <!ELEMENT KEYBINDING (KEYVALUE|VALUE.REFERENCE)>
  98. <!ATTLIST KEYBINDING
  99. %CIMName;>
  100. <!ELEMENT KEYVALUE (#PCDATA)>
  101. <!ATTLIST KEYVALUE
  102. VALUETYPE (string|boolean|numeric) 'string'>
  103. <!-- ************************************************** -->
  104. <!-- Object definition elements -->
  105. <!-- ************************************************** -->
  106. <!ELEMENT CLASS (QUALIFIER*,(PROPERTY|PROPERTY.ARRAY|PROPERTY.OBJECT|PROPERTY.OBJECTARRAY|PROPERTY.REFERENCE|PROPERTY.REFARRAY)*,(METHOD|METHOD.REFERENCE|METHOD.OBJECT)*)>
  107. <!ATTLIST CLASS
  108. %CIMName;
  109. %SuperClass;>
  110. <!ELEMENT INSTANCE (QUALIFIER*,(PROPERTY|PROPERTY.ARRAY|PROPERTY.OBJECT|PROPERTY.OBJECTARRAY|PROPERTY.REFERENCE|PROPERTY.REFARRAY)*) >
  111. <!ATTLIST INSTANCE
  112. %ClassName;>
  113. <!ELEMENT QUALIFIER (VALUE|VALUE.ARRAY)>
  114. <!ATTLIST QUALIFIER
  115. %CIMName;
  116. %CIMType; #REQUIRED
  117. %Propagated;
  118. %QualifierFlavor;>
  119. <!ELEMENT PROPERTY (QUALIFIER*,VALUE?)>
  120. <!ATTLIST PROPERTY
  121. %CIMName;
  122. %ClassOrigin;
  123. %Propagated;
  124. %CIMType; #REQUIRED>
  125. <!ELEMENT PROPERTY.ARRAY (QUALIFIER*,VALUE.ARRAY?)>
  126. <!ATTLIST PROPERTY.ARRAY
  127. %CIMName;
  128. %CIMType; #REQUIRED
  129. %ArraySize;
  130. %ClassOrigin;
  131. %Propagated;>
  132. <!ELEMENT PROPERTY.REFERENCE (QUALIFIER*,(VALUE.REFERENCE)?)>
  133. <!ATTLIST PROPERTY.REFERENCE
  134. %CIMName;
  135. %ReferenceClass;
  136. %ClassOrigin;
  137. %Propagated;>
  138. <!ELEMENT PROPERTY.REFARRAY (QUALIFIER*,(VALUE.REFARRAY)?)>
  139. <!ATTLIST PROPERTY.REFARRAY
  140. %CIMName;
  141. %ArraySize;
  142. %ReferenceClass;
  143. %ClassOrigin;
  144. %Propagated;>
  145. <!ELEMENT PROPERTY.OBJECT (QUALIFIER*,(VALUE.OBJECT)?)>
  146. <!ATTLIST PROPERTY.OBJECT
  147. %CIMName;
  148. %ReferenceClass;
  149. %ClassOrigin;
  150. %Propagated;>
  151. <!ELEMENT PROPERTY.OBJECTARRAY (QUALIFIER*,(VALUE.OBJECTARRAY)?)>
  152. <!ATTLIST PROPERTY.OBJECTARRAY
  153. %CIMName;
  154. %ArraySize;
  155. %ReferenceClass;
  156. %ClassOrigin;
  157. %Propagated;>
  158. <!ELEMENT METHOD (QUALIFIER*,(PARAMETER|PARAMETER.REFERENCE|PARAMETER.ARRAY|PARAMETER.REFARRAY|
  159. PARAMETER.OBJECT|PARAMETER.OBJECTARRAY)*)>
  160. <!ATTLIST METHOD
  161. %CIMName;
  162. %CIMType; #IMPLIED
  163. %ClassOrigin;
  164. %Propagated;>
  165. <!ELEMENT METHOD.OBJECT (QUALIFIER*,(PARAMETER|PARAMETER.REFERENCE|PARAMETER.ARRAY|PARAMETER.REFARRAY|
  166. PARAMETER.OBJECT|PARAMETER.OBJECTARRAY)*)>
  167. <!ATTLIST METHOD.OBJECT
  168. %CIMName;
  169. %ReferenceClass;
  170. %ClassOrigin;
  171. %Propagated;>
  172. <!ELEMENT METHOD.REFERENCE (QUALIFIER*,(PARAMETER|PARAMETER.REFERENCE|PARAMETER.ARRAY|PARAMETER.REFARRAY|
  173. PARAMETER.OBJECT|PARAMETER.OBJECTARRAY)*)>
  174. <!ATTLIST METHOD.REFERENCE
  175. %CIMName;
  176. %ReferenceClass;
  177. %ClassOrigin;
  178. %Propagated;>
  179. <!ELEMENT PARAMETER (QUALIFIER*)>
  180. <!ATTLIST PARAMETER
  181. %CIMName;
  182. %CIMType; #REQUIRED>
  183. <!ELEMENT PARAMETER.REFERENCE (QUALIFIER*)>
  184. <!ATTLIST PARAMETER.REFERENCE
  185. %CIMName;
  186. %ReferenceClass;>
  187. <!ELEMENT PARAMETER.ARRAY (QUALIFIER*)>
  188. <!ATTLIST PARAMETER.ARRAY
  189. %CIMName;
  190. %CIMType; #REQUIRED
  191. %ArraySize;>
  192. <!ELEMENT PARAMETER.REFARRAY (QUALIFIER*)>
  193. <!ATTLIST PARAMETER.REFARRAY
  194. %CIMName;
  195. %ReferenceClass;
  196. %ArraySize;>
  197. <!ELEMENT PARAMETER.OBJECT (QUALIFIER*)>
  198. <!ATTLIST PARAMETER.OBJECT
  199. %CIMName;
  200. %ReferenceClass;>
  201. <!ELEMENT PARAMETER.OBJECTARRAY (QUALIFIER*)>
  202. <!ATTLIST PARAMETER.OBJECTARRAY
  203. %CIMName;
  204. %ReferenceClass;
  205. %ArraySize;>
  206. <!-- ************************************************** -->
  207. <!-- WMI Extensions to support the WMI COM API -->
  208. <!-- Currently this includes the CONTEXTOBJECT and -->
  209. <!-- EXTENDEDSTATUS elements -->
  210. <!-- ************************************************** -->
  211. <!ELEMENT CONTEXTOBJECT (CONTEXTPROPERTY|CONTEXTPROPERTY.ARRAY|CONTEXTPROPERTY.OBJECT|CONTEXTPROPERTY.OBJECTARRAY)*>
  212. <!ELEMENT CONTEXTPROPERTY (VALUE?)>
  213. <!ATTLIST CONTEXTPROPERTY
  214. %CIMName;
  215. %VTType; #REQUIRED>
  216. <!ELEMENT CONTEXTPROPERTY.ARRAY (VALUE.ARRAY?)>
  217. <!ATTLIST CONTEXTPROPERTY.ARRAY
  218. %CIMName;
  219. %ArraySize;
  220. %VTType; #REQUIRED>
  221. <!ELEMENT CONTEXTPROPERTY.OBJECT (VALUE.OBJECT?)>
  222. <!ATTLIST CONTEXTPROPERTY.OBJECT
  223. %CIMName;
  224. %ReferenceClass;>
  225. <!ELEMENT CONTEXTPROPERTY.OBJECTARRAY (VALUE.OBJECTARRAY?)>
  226. <!ATTLIST CONTEXTPROPERTY.OBJECTARRAY
  227. %CIMName;
  228. %ArraySize;
  229. %ReferenceClass;>
  230. <!ELEMENT EXTENDEDSTATUS (INSTANCE)>
  231. <!-- ************************************************** -->
  232. <!-- Message elements -->
  233. <!-- ************************************************** -->
  234. <!ELEMENT MESSAGE (SIMPLEREQ|MULTIREQ|SIMPLERSP|MULTIRSP)>
  235. <!ATTLIST MESSAGE
  236. ID CDATA #REQUIRED
  237. PROTOCOLVERSION CDATA #REQUIRED>
  238. <!ELEMENT MULTIREQ (SIMPLEREQ,SIMPLEREQ+)>
  239. <!ELEMENT SIMPLEREQ (IMETHODCALL|METHODCALL)>
  240. <!ELEMENT IMETHODCALL (LOCALNAMESPACEPATH,CONTEXTOBJECT?,IPARAMVALUE*)>
  241. <!ATTLIST IMETHODCALL
  242. %CIMName;>
  243. <!ELEMENT METHODCALL ((LOCALINSTANCEPATH|LOCALCLASSPATH),CONTEXTOBJECT?,PARAMVALUE*)>
  244. <!ATTLIST METHODCALL
  245. %CIMName;>
  246. <!ELEMENT PARAMVALUE (VALUE|VALUE.REFERENCE|VALUE.ARRAY|VALUE.REFARRAY
  247. |VALUE.OBJECT|VALUE.OBJECTARRAY)?>
  248. <!ATTLIST PARAMVALUE
  249. %CIMName;>
  250. <!ELEMENT IPARAMVALUE (VALUE|VALUE.ARRAY|VALUE.REFERENCE
  251. |INSTANCENAME|CLASSNAME|QUALIFIER.DECLARATION
  252. |CLASS|INSTANCE|VALUE.NAMEDINSTANCE)?>
  253. <!ATTLIST IPARAMVALUE
  254. %CIMName;>
  255. <!ELEMENT MULTIRSP (SIMPLERSP,SIMPLERSP+)>
  256. <!ELEMENT SIMPLERSP (METHODRESPONSE|IMETHODRESPONSE)>
  257. <!ELEMENT METHODRESPONSE (ERROR|(RETURNVALUE?,PARAMVALUE*))>
  258. <!ATTLIST METHODRESPONSE
  259. %CIMName;>
  260. <!ELEMENT IMETHODRESPONSE (ERROR|IRETURNVALUE?)>
  261. <!ATTLIST IMETHODRESPONSE
  262. %CIMName;>
  263. <!ELEMENT ERROR (EXTENDEDSTATUS?)>
  264. <!ATTLIST ERROR
  265. CODE CDATA #REQUIRED
  266. DESCRIPTION CDATA #IMPLIED>
  267. <!ELEMENT RETURNVALUE (VALUE|VALUE.ARRAY|VALUE.REFERENCE|VALUE.REFARRAY)>
  268. <!ELEMENT IRETURNVALUE (CLASSNAME*|INSTANCENAME*|VALUE*|VALUE.OBJECTWITHPATH* |VALUE.OBJECTWITHLOCALPATH*|VALUE.OBJECT*|OBJECTPATH*
  269. |QUALIFIER.DECLARATION*|VALUE.ARRAY?|VALUE.REFERENCE?
  270. |CLASS*|INSTANCE*|VALUE.NAMEDINSTANCE*)>