V5_base.xsd 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: rspec
  5. (C) Copyright IBM Corp. 2003, 2014
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <!--
  9. Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
  10. Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
  11. -->
  12. <xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  13. <xs:simpleType name="ExpressionType">
  14. <xs:annotation>
  15. <xs:documentation> An expression is represented as a string. Whitespace is preserved to allow the author to add formatting (tabs, newlines, etc.)</xs:documentation>
  16. </xs:annotation>
  17. <xs:restriction base="xs:string">
  18. <xs:whiteSpace value="preserve"/>
  19. </xs:restriction>
  20. </xs:simpleType>
  21. <xs:simpleType name="TextType">
  22. <xs:annotation>
  23. <xs:documentation>A simple text type that preserves whitespace</xs:documentation>
  24. </xs:annotation>
  25. <xs:restriction base="xs:string">
  26. <xs:whiteSpace value="preserve"/>
  27. </xs:restriction>
  28. </xs:simpleType>
  29. <xs:complexType name="PositiveUnboundedIntegerType">
  30. <xs:annotation>
  31. <xs:documentation> Represents a positive integer that supports infinity. The absence of the value attribute represents infinity. The absence of the element indicates that no value has been set.</xs:documentation>
  32. </xs:annotation>
  33. <xs:attribute name="value" type="xs:positiveInteger" use="optional"/>
  34. </xs:complexType>
  35. <xs:element name="modelPath" type="xs:string">
  36. <xs:annotation>
  37. <xs:documentation>a reference to the FM model as specified by its path. QF currently recognizes the following references 1. the search path to a model package in the content store (/content/package[@name='GoSalesML']/model[@name='Model']) 2.the logical connection name described in nsgeneral.xml (GOSALES_ORACLE) 3. the physical path to the RTM model file (E:\bering\GOSALES_ORA.rtm) 4. the physical path to the xml model file (E:\beging\models\GOSALES_ORA\model.xml) 5. the physical path to the FM project file(E:\bering\models\GOSALES_ORA\GOSALES_ORA.cpf). Reference 1 is the reference expected from QF clients. The other references are supported for internal development.</xs:documentation>
  38. </xs:annotation>
  39. </xs:element>
  40. <xs:element name="sortList">
  41. <xs:annotation>
  42. <xs:documentation>Specifies a sorting order to be used for the element. It will describe either the detail or group sorting for the element in contains depending on what that element represents.</xs:documentation>
  43. </xs:annotation>
  44. <xs:complexType>
  45. <xs:sequence maxOccurs="unbounded">
  46. <xs:element ref="sortItem"/>
  47. </xs:sequence>
  48. </xs:complexType>
  49. </xs:element>
  50. <xs:element name="sortItem">
  51. <xs:complexType>
  52. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  53. <xs:attribute name="sortOrder" default="ascending">
  54. <xs:simpleType>
  55. <xs:restriction base="xs:NMTOKEN">
  56. <xs:enumeration value="ascending"/>
  57. <xs:enumeration value="descending"/>
  58. </xs:restriction>
  59. </xs:simpleType>
  60. </xs:attribute>
  61. </xs:complexType>
  62. </xs:element>
  63. </xs:schema>