modelErrors.xsd 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: fmmd
  5. (C) Copyright IBM Corp. 2003, 2010
  6. US Government Users Restricted Rights - Use, duplication or disclosure
  7. restricted by GSA ADP Schedule Contract with IBM Corp.
  8. -->
  9. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
  10. <xs:element name="modelErrors">
  11. <xs:annotation>
  12. <xs:documentation>This is the form in which model errors are collected for display and repair purposes.</xs:documentation>
  13. </xs:annotation>
  14. <xs:complexType>
  15. <xs:sequence>
  16. <xs:element name="modelError" minOccurs="0" maxOccurs="unbounded">
  17. <xs:complexType>
  18. <xs:sequence>
  19. <xs:element name="refobj" type="xs:string">
  20. <xs:annotation>
  21. <xs:documentation>This points to the object that contins the error. It corresponds exactly to CR1 refType</xs:documentation>
  22. </xs:annotation>
  23. </xs:element>
  24. <xs:element name="category" type="xs:string">
  25. <xs:annotation>
  26. <xs:documentation>For "categorizing" related errors.</xs:documentation>
  27. </xs:annotation>
  28. </xs:element>
  29. <xs:element name="error">
  30. <xs:annotation>
  31. <xs:documentation>The full details of the error, including what repair actions are possible (and which is the default).</xs:documentation>
  32. </xs:annotation>
  33. <xs:complexType>
  34. <xs:sequence>
  35. <xs:element name="severity" type="xs:nonNegativeInteger"/>
  36. <xs:element name="message" type="xs:string"/>
  37. </xs:sequence>
  38. </xs:complexType>
  39. </xs:element>
  40. <xs:element name="repair">
  41. <xs:annotation>
  42. <xs:documentation>Information regarding (possible) repair action for the message.</xs:documentation>
  43. </xs:annotation>
  44. <xs:complexType>
  45. <xs:sequence>
  46. <xs:element name="message" type="xs:string"/>
  47. </xs:sequence>
  48. <xs:attribute name="id" use="required">
  49. <xs:simpleType>
  50. <xs:restriction base="xs:NMTOKEN">
  51. <xs:enumeration value="None"/>
  52. <xs:enumeration value="RemoveObject"/>
  53. <xs:enumeration value="FixContainment"/>
  54. <xs:enumeration value="ResetAggregateRule"/>
  55. <xs:enumeration value="RetargetReferenceValue"/>
  56. <xs:enumeration value="AddMissingLocale"/>
  57. <xs:enumeration value="UpgradeDeprecatedInfo"/>
  58. </xs:restriction>
  59. </xs:simpleType>
  60. </xs:attribute>
  61. </xs:complexType>
  62. </xs:element>
  63. </xs:sequence>
  64. </xs:complexType>
  65. </xs:element>
  66. </xs:sequence>
  67. </xs:complexType>
  68. </xs:element>
  69. </xs:schema>