i18n_res.xsd 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: cclcore
  5. (C) Copyright IBM Corp. 2005, 2015
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted
  7. 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="resources">
  11. <xs:annotation>
  12. <xs:documentation>The root element</xs:documentation>
  13. </xs:annotation>
  14. <xs:complexType>
  15. <xs:sequence>
  16. <xs:element name="memoryManagement">
  17. <xs:annotation>
  18. <xs:documentation>
  19. This element is used to configure the memory
  20. management of the I18NString UTF-8 to/from
  21. UTF-16 conversions. The
  22. "UTF8BytesPerCodePoint" attribute indicates
  23. how many bytes in a UTF-8 sequence an
  24. Unicode code point will require on average.
  25. The "MaxUTF16BytesPerCodePoint" attribute indicates
  26. how many bytes to allocate for a UTF-16 encoded code point.
  27. Valid values are 2 and 4, the default is 2.
  28. </xs:documentation>
  29. </xs:annotation>
  30. <xs:complexType>
  31. <xs:attribute name="UTF8BytesPerCodePoint" type="xs:float" use="optional" default="2.5"/>
  32. <xs:attribute name="MaxUTF16BytesPerCodePoint" type="xs:int" use="optional" default="2"/>
  33. </xs:complexType>
  34. </xs:element>
  35. <xs:element name="replaceScaledZeroNumbers">
  36. <xs:annotation>
  37. <xs:documentation>
  38. This element is used to enable the
  39. replacement of a value that has been scaled
  40. to zero. For example, given -25000.3 with an
  41. applied scale of -6 and decimal position of
  42. 0, the scaled number will be 0. This can be
  43. replaced by a user specified character in
  44. the report spec properties, or left as zero.
  45. The "allowReplace" attribute indicates
  46. whether the replacement is enabled ("true")
  47. or disabled ("false"). By default
  48. replacement of a scaled zero value is
  49. disabled.
  50. </xs:documentation>
  51. </xs:annotation>
  52. <xs:complexType>
  53. <xs:attribute name="allowReplace" type="xs:boolean" use="optional" default="false"/>
  54. </xs:complexType>
  55. </xs:element>
  56. <xs:element name="allowNegativeZero">
  57. <xs:complexType>
  58. <xs:attribute name="value" type="xs:boolean" use="required"/>
  59. </xs:complexType>
  60. </xs:element>
  61. <xs:element name="input" minOccurs="0" maxOccurs="unbounded">
  62. <xs:complexType>
  63. <xs:attribute name="encoding" type="xs:string" use="required"/>
  64. <xs:attribute name="sequence" type="xs:string" use="required"/>
  65. <xs:attribute name="replacement" type="xs:string" use="required"/>
  66. </xs:complexType>
  67. </xs:element>
  68. <xs:element name="output" minOccurs="0" maxOccurs="unbounded">
  69. <xs:complexType>
  70. <xs:attribute name="encoding" type="xs:string" use="required"/>
  71. <xs:attribute name="sequence" type="xs:string" use="required"/>
  72. <xs:attribute name="replacement" type="xs:string" use="required"/>
  73. </xs:complexType>
  74. </xs:element>
  75. <xs:element name="nonNormalizableCharacters" minOccurs="0">
  76. <xs:annotation>
  77. <xs:documentation>
  78. The character and character sequences which
  79. will not be affected by normalization.
  80. </xs:documentation>
  81. </xs:annotation>
  82. <xs:complexType>
  83. <xs:simpleContent>
  84. <xs:extension base="xs:string">
  85. <xs:attribute name="inUse" type="xs:boolean" use="required"/>
  86. </xs:extension>
  87. </xs:simpleContent>
  88. </xs:complexType>
  89. </xs:element>
  90. <xs:element name="locales">
  91. <xs:annotation>
  92. <xs:documentation>
  93. The optional decimalSeparator, listSeparator and groupingSeparator attributes will overwrite the default setting for the locale from IBM Cognos.
  94. When overwriting, all the separators have to be in place (All or None).
  95. The decimalSeparator and listSeparator have to be different.
  96. The possible combinations for decimalSeparator and listSeparator would be: (Comma ',', Semicolon ';') or (Period '.', Semicolon ';') or (Period '.', Comma ',').
  97. And the groupingSeparator has to be different from decimalSeparator too.
  98. </xs:documentation>
  99. </xs:annotation>
  100. <xs:complexType>
  101. <xs:sequence>
  102. <xs:element name="locale" maxOccurs="unbounded">
  103. <xs:complexType>
  104. <xs:simpleContent>
  105. <xs:extension base="xs:string">
  106. <xs:attribute name="defaultVariant" type="xs:string" use="optional"/>
  107. <xs:attribute name="csvEncoding" use="required">
  108. <xs:simpleType>
  109. <xs:restriction base="xs:string"/>
  110. </xs:simpleType>
  111. </xs:attribute>
  112. <xs:attribute name="lcid" type="xs:string" use="optional"/>
  113. <xs:attribute name="isRTL" type="xs:boolean" use="optional"/>
  114. <xs:attribute name="zeroDigit" type="xs:string" use="optional"/>
  115. <xs:attribute name="decimalSeparator" type="xs:string" use="optional"/>
  116. <xs:attribute name="listSeparator" type="xs:string" use="optional"/>
  117. <xs:attribute name="groupingSeparator" type="xs:string" use="optional"/>
  118. </xs:extension>
  119. </xs:simpleContent>
  120. </xs:complexType>
  121. </xs:element>
  122. </xs:sequence>
  123. </xs:complexType>
  124. </xs:element>
  125. <xs:element name="langLocMappingTable">
  126. <xs:complexType>
  127. <xs:sequence>
  128. <xs:element name="entry" minOccurs="0" maxOccurs="unbounded">
  129. <xs:complexType>
  130. <xs:attribute name="key" use="required">
  131. <xs:simpleType>
  132. <xs:restriction base="xs:string">
  133. <xs:minLength value="2"/>
  134. <xs:maxLength value="3"/>
  135. <xs:pattern value="[a-z]*"/>
  136. </xs:restriction>
  137. </xs:simpleType>
  138. </xs:attribute>
  139. <xs:attribute name="value" use="required">
  140. <xs:simpleType>
  141. <xs:restriction base="xs:string">
  142. <xs:minLength value="5"/>
  143. <xs:maxLength value="6"/>
  144. <xs:pattern value="[a-z,-]*"/>
  145. </xs:restriction>
  146. </xs:simpleType>
  147. </xs:attribute>
  148. </xs:complexType>
  149. </xs:element>
  150. </xs:sequence>
  151. </xs:complexType>
  152. </xs:element>
  153. <xs:element name="ISOCountryCodeToISOCurrencyCode">
  154. <xs:complexType>
  155. <xs:sequence>
  156. <xs:element name="entry" minOccurs="0" maxOccurs="unbounded">
  157. <xs:complexType>
  158. <xs:attribute name="key" use="required">
  159. <xs:simpleType>
  160. <xs:restriction base="xs:string">
  161. <xs:minLength value="3"/>
  162. <xs:maxLength value="3"/>
  163. <xs:pattern value="[A-Z]*"/>
  164. </xs:restriction>
  165. </xs:simpleType>
  166. </xs:attribute>
  167. <xs:attribute name="value" use="required">
  168. <xs:simpleType>
  169. <xs:restriction base="xs:string">
  170. <xs:maxLength value="3"/>
  171. <xs:minLength value="3"/>
  172. <xs:pattern value="[A-Z]*"/>
  173. </xs:restriction>
  174. </xs:simpleType>
  175. </xs:attribute>
  176. </xs:complexType>
  177. </xs:element>
  178. </xs:sequence>
  179. </xs:complexType>
  180. </xs:element>
  181. <xs:element name="currencyCodeMappingTable">
  182. <xs:complexType>
  183. <xs:sequence>
  184. <xs:element name="entry" minOccurs="0" maxOccurs="unbounded">
  185. <xs:complexType>
  186. <xs:attribute name="key" use="required">
  187. <xs:simpleType>
  188. <xs:restriction base="xs:string">
  189. <xs:minLength value="3"/>
  190. <xs:maxLength value="3"/>
  191. <xs:pattern value="[A-Z]*"/>
  192. </xs:restriction>
  193. </xs:simpleType>
  194. </xs:attribute>
  195. <xs:attribute name="value" use="required">
  196. <xs:simpleType>
  197. <xs:restriction base="xs:string">
  198. <xs:maxLength value="3"/>
  199. <xs:minLength value="3"/>
  200. <xs:pattern value="[A-Z]*"/>
  201. </xs:restriction>
  202. </xs:simpleType>
  203. </xs:attribute>
  204. </xs:complexType>
  205. </xs:element>
  206. </xs:sequence>
  207. </xs:complexType>
  208. </xs:element>
  209. <xs:element name="LCIDtoCurrencyCodeMappingTable">
  210. <xs:complexType>
  211. <xs:sequence>
  212. <xs:element name="entry" minOccurs="0" maxOccurs="unbounded">
  213. <xs:complexType>
  214. <xs:attribute name="key" type="xs:decimal" use="required"/>
  215. <xs:attribute name="value" use="required">
  216. <xs:simpleType>
  217. <xs:restriction base="xs:string">
  218. <xs:maxLength value="3"/>
  219. <xs:minLength value="3"/>
  220. <xs:pattern value="[A-Z]*"/>
  221. </xs:restriction>
  222. </xs:simpleType>
  223. </xs:attribute>
  224. </xs:complexType>
  225. </xs:element>
  226. </xs:sequence>
  227. </xs:complexType>
  228. </xs:element>
  229. <xs:element name="ISOCurrencyCodetoSymbolMappingTable">
  230. <xs:complexType>
  231. <xs:sequence>
  232. <xs:element name="entry" minOccurs="0" maxOccurs="unbounded">
  233. <xs:complexType>
  234. <xs:attribute name="key" type="xs:string" use="required"/>
  235. <xs:attribute name="value" use="required">
  236. <xs:simpleType>
  237. <xs:restriction base="xs:string"/>
  238. </xs:simpleType>
  239. </xs:attribute>
  240. </xs:complexType>
  241. </xs:element>
  242. </xs:sequence>
  243. </xs:complexType>
  244. </xs:element>
  245. <xs:element name="timezones">
  246. <xs:complexType>
  247. <xs:sequence>
  248. <xs:element name="timezone" type="xs:string" maxOccurs="unbounded"/>
  249. </xs:sequence>
  250. </xs:complexType>
  251. </xs:element>
  252. <xs:element name="equivalentTimeZoneIDMappingTable">
  253. <xs:annotation>
  254. <xs:documentation>
  255. This element is used to define the mapping between an user-defined TimeZone ID
  256. and its equivalent TimeZone ID from the timezones list above.
  257. </xs:documentation>
  258. </xs:annotation>
  259. <xs:complexType>
  260. <xs:sequence>
  261. <xs:element name="entry" minOccurs="0" maxOccurs="unbounded">
  262. <xs:complexType>
  263. <xs:attribute name="key" use="required">
  264. <xs:simpleType>
  265. <xs:restriction base="xs:string">
  266. <xs:minLength value="3"/>
  267. </xs:restriction>
  268. </xs:simpleType>
  269. </xs:attribute>
  270. <xs:attribute name="value" use="required">
  271. <xs:simpleType>
  272. <xs:restriction base="xs:string">
  273. <xs:minLength value="3"/>
  274. </xs:restriction>
  275. </xs:simpleType>
  276. </xs:attribute>
  277. </xs:complexType>
  278. </xs:element>
  279. </xs:sequence>
  280. </xs:complexType>
  281. </xs:element>
  282. <xs:element name="ja_substitution" type="xs:string" minOccurs="0">
  283. <xs:annotation>
  284. <xs:documentation>
  285. Transliteration rules for japanese. The
  286. rules are generated by RTSConfig utility.
  287. </xs:documentation>
  288. </xs:annotation>
  289. </xs:element>
  290. </xs:sequence>
  291. </xs:complexType>
  292. </xs:element>
  293. </xs:schema>