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.

269 lines
8.8 KiB

  1. <!-- ************************************************** -->
  2. <!-- -->
  3. <!-- This DTD defines the schema for XML 1.0 Documents -->
  4. <!-- representing CIM Element Declarations or Messages. -->
  5. <!-- -->
  6. <!-- DTD Version : 2.0 -->
  7. <!-- Date: July 20th 1999 -->
  8. <!-- ************************************************** -->
  9. <!-- ************************************************** -->
  10. <!-- Entity Declarations -->
  11. <!-- ************************************************** -->
  12. <!ENTITY % CIMName "NAME CDATA #REQUIRED">
  13. <!ENTITY % CIMType "TYPE (boolean|string|char16|uint8|sint8|uint16|sint16|uint32|sint32|uint64|sint64|datetime|real32|real64)">
  14. <!ENTITY % QualifierFlavor "OVERRIDABLE (true|false) 'true'
  15. TOSUBCLASS (true|false) 'true'
  16. TOINSTANCE (true|false) 'false'
  17. TRANSLATABLE (true|false) 'false'">
  18. <!ENTITY % ClassOrigin "CLASSORIGIN CDATA #IMPLIED">
  19. <!ENTITY % Propagated "PROPAGATED (true|false) 'false'">
  20. <!ENTITY % ArraySize "ARRAYSIZE CDATA #IMPLIED">
  21. <!ENTITY % SuperClass "SUPERCLASS CDATA #IMPLIED">
  22. <!ENTITY % ClassName "CLASSNAME CDATA #REQUIRED">
  23. <!ENTITY % ReferenceClass "REFERENCECLASS CDATA #IMPLIED">
  24. <!-- ************************************************** -->
  25. <!-- Root element -->
  26. <!-- CIMVERSION must be "2.0" -->
  27. <!-- DTDVERSION must be "2.0" -->
  28. <!-- ************************************************** -->
  29. <!ELEMENT CIM (MESSAGE|DECLARATION)>
  30. <!ATTLIST CIM
  31. CIMVERSION CDATA #REQUIRED
  32. DTDVERSION CDATA #REQUIRED>
  33. <!-- ************************************************** -->
  34. <!-- Object declaration elements -->
  35. <!-- ************************************************** -->
  36. <!ELEMENT DECLARATION (DECLGROUP|DECLGROUP.WITHNAME|DECLGROUP.WITHPATH)*>
  37. <!ELEMENT DECLGROUP ((LOCALNAMESPACEPATH|NAMESPACEPATH)?,QUALIFIER.DECLARATION*,VALUE.OBJECT*)>
  38. <!ELEMENT DECLGROUP.WITHNAME ((LOCALNAMESPACEPATH|NAMESPACEPATH)?,QUALIFIER.DECLARATION*,VALUE.NAMEDOBJECT*)>
  39. <!ELEMENT DECLGROUP.WITHPATH (VALUE.OBJECTWITHPATH|VALUE.OBJECTWITHLOCALPATH)*>
  40. <!ELEMENT QUALIFIER.DECLARATION (SCOPE?,(VALUE|VALUE.ARRAY)?)>
  41. <!ATTLIST QUALIFIER.DECLARATION
  42. %CIMName;
  43. %CIMType; #REQUIRED
  44. ISARRAY (true|false) #IMPLIED
  45. %ArraySize;
  46. %QualifierFlavor;>
  47. <!ELEMENT SCOPE EMPTY>
  48. <!ATTLIST SCOPE
  49. CLASS (true|false) 'false'
  50. ASSOCIATION (true|false) 'false'
  51. REFERENCE (true|false) 'false'
  52. PROPERTY (true|false) 'false'
  53. METHOD (true|false) 'false'
  54. PARAMETER (true|false) 'false'
  55. INDICATION (true|false) 'false'>
  56. <!-- ************************************************** -->
  57. <!-- Object Value elements -->
  58. <!-- ************************************************** -->
  59. <!ELEMENT VALUE (#PCDATA)>
  60. <!ELEMENT VALUE.ARRAY (VALUE*)>
  61. <!ELEMENT VALUE.REFERENCE (CLASSPATH|LOCALCLASSPATH|CLASSNAME|
  62. INSTANCEPATH|LOCALINSTANCEPATH|INSTANCENAME)>
  63. <!ELEMENT VALUE.REFARRAY (VALUE.REFERENCE*)>
  64. <!ELEMENT VALUE.OBJECT (CLASS|INSTANCE)>
  65. <!ELEMENT VALUE.NAMEDINSTANCE (INSTANCENAME,INSTANCE)>
  66. <!ELEMENT VALUE.NAMEDOBJECT (CLASS|(INSTANCENAME,INSTANCE))>
  67. <!ELEMENT VALUE.OBJECTWITHLOCALPATH ((LOCALCLASSPATH,CLASS)|(LOCALINSTANCEPATH,INSTANCE))>
  68. <!ELEMENT VALUE.OBJECTWITHPATH ((CLASSPATH,CLASS)|(INSTANCEPATH,INSTANCE))>
  69. <!-- ************************************************** -->
  70. <!-- Object naming and locating elements -->
  71. <!-- ************************************************** -->
  72. <!ELEMENT NAMESPACEPATH (HOST,LOCALNAMESPACEPATH)>
  73. <!ELEMENT LOCALNAMESPACEPATH (NAMESPACE+)>
  74. <!ELEMENT HOST (#PCDATA)>
  75. <!ELEMENT NAMESPACE EMPTY>
  76. <!ATTLIST NAMESPACE
  77. %CIMName;>
  78. <!ELEMENT CLASSPATH (NAMESPACEPATH,CLASSNAME)>
  79. <!ELEMENT LOCALCLASSPATH (LOCALNAMESPACEPATH,CLASSNAME)>
  80. <!ELEMENT CLASSNAME EMPTY>
  81. <!ATTLIST CLASSNAME
  82. %CIMName;>
  83. <!ELEMENT INSTANCEPATH (NAMESPACEPATH,INSTANCENAME)>
  84. <!ELEMENT LOCALINSTANCEPATH (LOCALNAMESPACEPATH,INSTANCENAME)>
  85. <!ELEMENT INSTANCENAME (KEYBINDING*|KEYVALUE?|VALUE.REFERENCE?)>
  86. <!ATTLIST INSTANCENAME
  87. %ClassName;>
  88. <!ELEMENT OBJECTPATH (INSTANCEPATH|CLASSPATH)>
  89. <!ELEMENT KEYBINDING (KEYVALUE|VALUE.REFERENCE)>
  90. <!ATTLIST KEYBINDING
  91. %CIMName;>
  92. <!ELEMENT KEYVALUE (#PCDATA)>
  93. <!ATTLIST KEYVALUE
  94. VALUETYPE (string|boolean|numeric) 'string'>
  95. <!-- ************************************************** -->
  96. <!-- Object definition elements -->
  97. <!-- ************************************************** -->
  98. <!ELEMENT CLASS (QUALIFIER*,(PROPERTY|PROPERTY.ARRAY|PROPERTY.REFERENCE)*,METHOD*)>
  99. <!ATTLIST CLASS
  100. %CIMName;
  101. %SuperClass;>
  102. <!ELEMENT INSTANCE (QUALIFIER*,(PROPERTY|PROPERTY.ARRAY|PROPERTY.REFERENCE)*) >
  103. <!ATTLIST INSTANCE
  104. %ClassName;>
  105. <!ELEMENT QUALIFIER (VALUE|VALUE.ARRAY)>
  106. <!ATTLIST QUALIFIER
  107. %CIMName;
  108. %CIMType; #REQUIRED
  109. %Propagated;
  110. %QualifierFlavor;>
  111. <!ELEMENT PROPERTY (QUALIFIER*,VALUE?)>
  112. <!ATTLIST PROPERTY
  113. %CIMName;
  114. %ClassOrigin;
  115. %Propagated;
  116. %CIMType; #REQUIRED>
  117. <!ELEMENT PROPERTY.ARRAY (QUALIFIER*,VALUE.ARRAY?)>
  118. <!ATTLIST PROPERTY.ARRAY
  119. %CIMName;
  120. %CIMType; #REQUIRED
  121. %ArraySize;
  122. %ClassOrigin;
  123. %Propagated;>
  124. <!ELEMENT PROPERTY.REFERENCE (QUALIFIER*,(VALUE.REFERENCE)?)>
  125. <!ATTLIST PROPERTY.REFERENCE
  126. %CIMName;
  127. %ReferenceClass;
  128. %ClassOrigin;
  129. %Propagated;>
  130. <!ELEMENT METHOD (QUALIFIER*,(PARAMETER|PARAMETER.REFERENCE|PARAMETER.ARRAY|PARAMETER.REFARRAY)*)>
  131. <!ATTLIST METHOD
  132. %CIMName;
  133. %CIMType; #IMPLIED
  134. %ClassOrigin;
  135. %Propagated;>
  136. <!ELEMENT PARAMETER (QUALIFIER*)>
  137. <!ATTLIST PARAMETER
  138. %CIMName;
  139. %CIMType; #REQUIRED>
  140. <!ELEMENT PARAMETER.REFERENCE (QUALIFIER*)>
  141. <!ATTLIST PARAMETER.REFERENCE
  142. %CIMName;
  143. %ReferenceClass;>
  144. <!ELEMENT PARAMETER.ARRAY (QUALIFIER*)>
  145. <!ATTLIST PARAMETER.ARRAY
  146. %CIMName;
  147. %CIMType; #REQUIRED
  148. %ArraySize;>
  149. <!ELEMENT PARAMETER.REFARRAY (QUALIFIER*)>
  150. <!ATTLIST PARAMETER.REFARRAY
  151. %CIMName;
  152. %ReferenceClass;
  153. %ArraySize;>
  154. <!-- ************************************************** -->
  155. <!-- Message elements -->
  156. <!-- ************************************************** -->
  157. <!ELEMENT MESSAGE (SIMPLEREQ|MULTIREQ|SIMPLERSP|MULTIRSP)>
  158. <!ATTLIST MESSAGE
  159. ID CDATA #REQUIRED
  160. PROTOCOLVERSION CDATA #REQUIRED>
  161. <!ELEMENT MULTIREQ (SIMPLEREQ,SIMPLEREQ+)>
  162. <!ELEMENT SIMPLEREQ (IMETHODCALL|METHODCALL)>
  163. <!ELEMENT IMETHODCALL (LOCALNAMESPACEPATH,IPARAMVALUE*)>
  164. <!ATTLIST IMETHODCALL
  165. %CIMName;>
  166. <!ELEMENT METHODCALL ((LOCALINSTANCEPATH|LOCALCLASSPATH),PARAMVALUE*)>
  167. <!ATTLIST METHODCALL
  168. %CIMName;>
  169. <!ELEMENT PARAMVALUE (VALUE|VALUE.REFERENCE|VALUE.ARRAY|VALUE.REFARRAY)?>
  170. <!ATTLIST PARAMVALUE
  171. %CIMName;>
  172. <!ELEMENT IPARAMVALUE (VALUE|VALUE.ARRAY|VALUE.REFERENCE
  173. |INSTANCENAME|CLASSNAME|QUALIFIER.DECLARATION
  174. |CLASS|INSTANCE|VALUE.NAMEDINSTANCE)?>
  175. <!ATTLIST IPARAMVALUE
  176. %CIMName;>
  177. <!ELEMENT MULTIRSP (SIMPLERSP,SIMPLERSP+)>
  178. <!ELEMENT SIMPLERSP (METHODRESPONSE|IMETHODRESPONSE)>
  179. <!ELEMENT METHODRESPONSE (ERROR|(RETURNVALUE?,PARAMVALUE*))>
  180. <!ATTLIST METHODRESPONSE
  181. %CIMName;>
  182. <!ELEMENT IMETHODRESPONSE (ERROR|IRETURNVALUE?)>
  183. <!ATTLIST IMETHODRESPONSE
  184. %CIMName;>
  185. <!ELEMENT ERROR EMPTY>
  186. <!ATTLIST ERROR
  187. CODE CDATA #REQUIRED
  188. DESCRIPTION CDATA #IMPLIED>
  189. <!ELEMENT RETURNVALUE (VALUE|VALUE.ARRAY|VALUE.REFERENCE|VALUE.REFARRAY)>
  190. <!ELEMENT IRETURNVALUE (CLASSNAME*|INSTANCENAME*|VALUE*|VALUE.OBJECTWITHPATH* |VALUE.OBJECTWITHLOCALPATH*|VALUE.OBJECT*|OBJECTPATH*
  191. |QUALIFIER.DECLARATION*|VALUE.ARRAY?|VALUE.REFERENCE?
  192. |CLASS*|INSTANCE*|VALUE.NAMEDINSTANCE*)>