richEditBodyPartial.xsd 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: ps
  5. (C) Copyright IBM Corp. 2005, 2012
  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 xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
  13. <!-- define a restrict string type to avoid the potential injection attact by removing any "(" or ")"-->
  14. <xs:simpleType name="restrictedstring">
  15. <xs:restriction base="xs:string">
  16. <xs:pattern value="[^\(\)]*"/>
  17. </xs:restriction>
  18. </xs:simpleType>
  19. <!-- define some attribute groups -->
  20. <xs:attributeGroup name="core">
  21. <xs:attribute name="id" type="restrictedstring"/>
  22. <xs:attribute name="style" type="xs:string"/>
  23. <xs:attribute name="class" type="restrictedstring"/>
  24. <xs:attribute name="title" type="restrictedstring"/>
  25. </xs:attributeGroup>
  26. <xs:attributeGroup name="lang">
  27. <xs:attribute name="dir" type="restrictedstring"/>
  28. <xs:attribute name="lang" type="restrictedstring"/>
  29. </xs:attributeGroup>
  30. <xs:attributeGroup name="edit">
  31. <xs:attribute name="contenteditable" type="restrictedstring"/>
  32. <xs:attribute name="hidefocus" type="restrictedstring"/>
  33. <xs:attribute name="unselectable" type="restrictedstring"/>
  34. </xs:attributeGroup>
  35. <xs:attributeGroup name="dimension">
  36. <xs:attribute name="width">
  37. <xs:simpleType>
  38. <xs:restriction base="xs:string">
  39. <xs:pattern value="[0-9]{1,32}(%|:px)?"/>
  40. </xs:restriction>
  41. </xs:simpleType>
  42. </xs:attribute>
  43. <xs:attribute name="height">
  44. <xs:simpleType>
  45. <xs:restriction base="xs:string">
  46. <xs:pattern value="[0-9]{1,32}(%|:px)?"/>
  47. </xs:restriction>
  48. </xs:simpleType>
  49. </xs:attribute>
  50. </xs:attributeGroup>
  51. <!-- Define an element group.
  52. This will essentially allow every element to contain ever other element. This schema is not meant to validate good HTML. It is
  53. only meant to ensure that undesired elements are not validated. -->
  54. <xs:group name="insertableElements">
  55. <xs:choice>
  56. <xs:element name="A">
  57. <xs:complexType mixed="true">
  58. <xs:choice minOccurs="0" maxOccurs="unbounded">
  59. <xs:group ref="insertableElements"/>
  60. </xs:choice>
  61. <xs:attributeGroup ref="core"/>
  62. <xs:attributeGroup ref="lang"/>
  63. <xs:attributeGroup ref="edit"/>
  64. <xs:attribute name="charset" type="restrictedstring"/>
  65. <xs:attribute name="coords" type="restrictedstring"/>
  66. <xs:attribute name="href" type="restrictedstring"/>
  67. <xs:attribute name="hreflang" type="restrictedstring"/>
  68. <xs:attribute name="methods" type="restrictedstring"/>
  69. <xs:attribute name="name" type="restrictedstring"/>
  70. <xs:attribute name="rel" type="restrictedstring"/>
  71. <xs:attribute name="rev" type="restrictedstring"/>
  72. <xs:attribute name="shape" type="restrictedstring"/>
  73. <xs:attribute name="suppress" type="restrictedstring"/>
  74. <xs:attribute name="target" type="restrictedstring"/>
  75. <xs:attribute name="type" type="restrictedstring"/>
  76. </xs:complexType>
  77. </xs:element>
  78. <xs:element name="B">
  79. <xs:complexType mixed="true">
  80. <xs:choice minOccurs="0" maxOccurs="unbounded">
  81. <xs:group ref="insertableElements"/>
  82. </xs:choice>
  83. <xs:attributeGroup ref="core"/>
  84. <xs:attributeGroup ref="lang"/>
  85. <xs:attributeGroup ref="edit"/>
  86. </xs:complexType>
  87. </xs:element>
  88. <xs:element name="BLOCKQUOTE">
  89. <xs:complexType mixed="true">
  90. <xs:choice minOccurs="0" maxOccurs="unbounded">
  91. <xs:group ref="insertableElements"/>
  92. </xs:choice>
  93. <xs:attributeGroup ref="core"/>
  94. <xs:attributeGroup ref="lang"/>
  95. <xs:attributeGroup ref="edit"/>
  96. <xs:attributeGroup ref="dimension"/>
  97. <xs:attribute name="align" type="restrictedstring"/>
  98. <xs:attribute name="cite" type="restrictedstring"/>
  99. <xs:attribute name="clear" type="restrictedstring"/>
  100. <xs:attribute name="type" type="restrictedstring"/>
  101. </xs:complexType>
  102. </xs:element>
  103. <xs:element name="BR">
  104. <xs:complexType>
  105. <xs:attributeGroup ref="core"/>
  106. <xs:attributeGroup ref="lang"/>
  107. <xs:attribute name="clear" type="restrictedstring"/>
  108. <xs:attribute name="type" type="restrictedstring"/>
  109. <xs:attribute name="_moz_dirty" type="restrictedstring"/>
  110. <xs:attribute name="_moz_editor_bogus_node" type="restrictedstring"/>
  111. </xs:complexType>
  112. </xs:element>
  113. <xs:element name="CODE">
  114. <xs:complexType mixed="true">
  115. <xs:choice minOccurs="0" maxOccurs="unbounded">
  116. <xs:group ref="insertableElements"/>
  117. </xs:choice>
  118. <xs:attributeGroup ref="core"/>
  119. <xs:attributeGroup ref="lang"/>
  120. <xs:attributeGroup ref="edit"/>
  121. </xs:complexType>
  122. </xs:element>
  123. <xs:element name="DIR">
  124. <xs:complexType mixed="true">
  125. <xs:choice minOccurs="0" maxOccurs="unbounded">
  126. <xs:group ref="insertableElements"/>
  127. </xs:choice>
  128. <xs:attributeGroup ref="core"/>
  129. <xs:attributeGroup ref="lang"/>
  130. <xs:attributeGroup ref="edit"/>
  131. <xs:attributeGroup ref="dimension"/>
  132. <xs:attribute name="align" type="restrictedstring"/>
  133. <xs:attribute name="clear" type="restrictedstring"/>
  134. <xs:attribute name="compact" type="restrictedstring"/>
  135. <xs:attribute name="start" type="xs:integer"/>
  136. <xs:attribute name="type" type="restrictedstring"/>
  137. </xs:complexType>
  138. </xs:element>
  139. <xs:element name="DIV">
  140. <xs:complexType mixed="true">
  141. <xs:choice minOccurs="0" maxOccurs="unbounded">
  142. <xs:group ref="insertableElements"/>
  143. </xs:choice>
  144. <xs:attributeGroup ref="core"/>
  145. <xs:attributeGroup ref="lang"/>
  146. <xs:attributeGroup ref="edit"/>
  147. <xs:attributeGroup ref="dimension"/>
  148. <xs:attribute name="align" type="restrictedstring"/>
  149. <xs:attribute name="clear" type="restrictedstring"/>
  150. <xs:attribute name="cols" type="xs:integer"/>
  151. <xs:attribute name="gutter" type="xs:integer"/>
  152. <xs:attribute name="nowrap" type="restrictedstring"/>
  153. </xs:complexType>
  154. </xs:element>
  155. <xs:element name="EM">
  156. <xs:complexType mixed="true">
  157. <xs:choice minOccurs="0" maxOccurs="unbounded">
  158. <xs:group ref="insertableElements"/>
  159. </xs:choice>
  160. <xs:attributeGroup ref="core"/>
  161. <xs:attributeGroup ref="lang"/>
  162. <xs:attributeGroup ref="edit"/>
  163. </xs:complexType>
  164. </xs:element>
  165. <xs:element name="FONT">
  166. <xs:complexType mixed="true">
  167. <xs:choice minOccurs="0" maxOccurs="unbounded">
  168. <xs:group ref="insertableElements"/>
  169. </xs:choice>
  170. <xs:attributeGroup ref="core"/>
  171. <xs:attributeGroup ref="lang"/>
  172. <xs:attributeGroup ref="edit"/>
  173. <xs:attribute name="color" type="restrictedstring"/>
  174. <xs:attribute name="face" type="restrictedstring"/>
  175. <xs:attribute name="font-weight" type="xs:integer"/>
  176. <xs:attribute name="point-size" type="xs:integer"/>
  177. <xs:attribute name="size" type="xs:integer"/>
  178. </xs:complexType>
  179. </xs:element>
  180. <xs:element name="H1">
  181. <xs:complexType mixed="true">
  182. <xs:choice minOccurs="0" maxOccurs="unbounded">
  183. <xs:group ref="insertableElements"/>
  184. </xs:choice>
  185. <xs:attributeGroup ref="core"/>
  186. <xs:attributeGroup ref="lang"/>
  187. <xs:attributeGroup ref="edit"/>
  188. <xs:attributeGroup ref="dimension"/>
  189. <xs:attribute name="align" type="restrictedstring"/>
  190. <xs:attribute name="clear" type="restrictedstring"/>
  191. </xs:complexType>
  192. </xs:element>
  193. <xs:element name="H2">
  194. <xs:complexType mixed="true">
  195. <xs:choice minOccurs="0" maxOccurs="unbounded">
  196. <xs:group ref="insertableElements"/>
  197. </xs:choice>
  198. <xs:attributeGroup ref="core"/>
  199. <xs:attributeGroup ref="lang"/>
  200. <xs:attributeGroup ref="edit"/>
  201. <xs:attributeGroup ref="dimension"/>
  202. <xs:attribute name="align" type="restrictedstring"/>
  203. <xs:attribute name="clear" type="restrictedstring"/>
  204. </xs:complexType>
  205. </xs:element>
  206. <xs:element name="H3">
  207. <xs:complexType mixed="true">
  208. <xs:choice minOccurs="0" maxOccurs="unbounded">
  209. <xs:group ref="insertableElements"/>
  210. </xs:choice>
  211. <xs:attributeGroup ref="core"/>
  212. <xs:attributeGroup ref="lang"/>
  213. <xs:attributeGroup ref="edit"/>
  214. <xs:attributeGroup ref="dimension"/>
  215. <xs:attribute name="align" type="restrictedstring"/>
  216. <xs:attribute name="clear" type="restrictedstring"/>
  217. </xs:complexType>
  218. </xs:element>
  219. <xs:element name="H4">
  220. <xs:complexType mixed="true">
  221. <xs:choice minOccurs="0" maxOccurs="unbounded">
  222. <xs:group ref="insertableElements"/>
  223. </xs:choice>
  224. <xs:attributeGroup ref="core"/>
  225. <xs:attributeGroup ref="lang"/>
  226. <xs:attributeGroup ref="edit"/>
  227. <xs:attributeGroup ref="dimension"/>
  228. <xs:attribute name="align" type="restrictedstring"/>
  229. <xs:attribute name="clear" type="restrictedstring"/>
  230. </xs:complexType>
  231. </xs:element>
  232. <xs:element name="H5">
  233. <xs:complexType mixed="true">
  234. <xs:choice minOccurs="0" maxOccurs="unbounded">
  235. <xs:group ref="insertableElements"/>
  236. </xs:choice>
  237. <xs:attributeGroup ref="core"/>
  238. <xs:attributeGroup ref="lang"/>
  239. <xs:attributeGroup ref="edit"/>
  240. <xs:attributeGroup ref="dimension"/>
  241. <xs:attribute name="align" type="restrictedstring"/>
  242. <xs:attribute name="clear" type="restrictedstring"/>
  243. </xs:complexType>
  244. </xs:element>
  245. <xs:element name="H6">
  246. <xs:complexType mixed="true">
  247. <xs:choice minOccurs="0" maxOccurs="unbounded">
  248. <xs:group ref="insertableElements"/>
  249. </xs:choice>
  250. <xs:attributeGroup ref="core"/>
  251. <xs:attributeGroup ref="lang"/>
  252. <xs:attributeGroup ref="edit"/>
  253. <xs:attributeGroup ref="dimension"/>
  254. <xs:attribute name="align" type="restrictedstring"/>
  255. <xs:attribute name="clear" type="restrictedstring"/>
  256. </xs:complexType>
  257. </xs:element>
  258. <xs:element name="HR">
  259. <xs:complexType>
  260. <xs:attributeGroup ref="core"/>
  261. <xs:attributeGroup ref="lang"/>
  262. <xs:attributeGroup ref="edit"/>
  263. <xs:attributeGroup ref="dimension"/>
  264. <xs:attribute name="align" type="restrictedstring"/>
  265. <xs:attribute name="clear" type="restrictedstring"/>
  266. <xs:attribute name="color" type="restrictedstring"/>
  267. <xs:attribute name="noshade" type="xs:integer"/>
  268. <xs:attribute name="size" type="restrictedstring"/>
  269. </xs:complexType>
  270. </xs:element>
  271. <xs:element name="I">
  272. <xs:complexType mixed="true">
  273. <xs:choice minOccurs="0" maxOccurs="unbounded">
  274. <xs:group ref="insertableElements"/>
  275. </xs:choice>
  276. <xs:attributeGroup ref="core"/>
  277. <xs:attributeGroup ref="lang"/>
  278. <xs:attributeGroup ref="edit"/>
  279. </xs:complexType>
  280. </xs:element>
  281. <xs:element name="LI">
  282. <xs:complexType mixed="true">
  283. <xs:choice minOccurs="0" maxOccurs="unbounded">
  284. <xs:group ref="insertableElements"/>
  285. </xs:choice>
  286. <xs:attributeGroup ref="lang"/>
  287. <xs:attributeGroup ref="edit"/>
  288. <xs:attributeGroup ref="dimension"/>
  289. <xs:attribute name="align" type="restrictedstring"/>
  290. <xs:attribute name="clear" type="restrictedstring"/>
  291. <xs:attribute name="type" type="restrictedstring"/>
  292. <xs:attribute name="value" type="restrictedstring"/>
  293. </xs:complexType>
  294. </xs:element>
  295. <xs:element name="META">
  296. <xs:complexType mixed="true">
  297. <xs:choice minOccurs="0" maxOccurs="unbounded">
  298. <xs:group ref="insertableElements"/>
  299. </xs:choice>
  300. <xs:attribute name="name" type="restrictedstring"/>
  301. </xs:complexType>
  302. </xs:element>
  303. <xs:element name="OL">
  304. <xs:complexType>
  305. <xs:choice minOccurs="0" maxOccurs="unbounded">
  306. <xs:group ref="insertableElements"/>
  307. </xs:choice>
  308. <xs:attributeGroup ref="core"/>
  309. <xs:attributeGroup ref="lang"/>
  310. <xs:attributeGroup ref="edit"/>
  311. <xs:attributeGroup ref="dimension"/>
  312. <xs:attribute name="align" type="restrictedstring"/>
  313. <xs:attribute name="clear" type="restrictedstring"/>
  314. <xs:attribute name="start" type="xs:integer"/>
  315. <xs:attribute name="type" type="restrictedstring"/>
  316. </xs:complexType>
  317. </xs:element>
  318. <xs:element name="P">
  319. <xs:complexType mixed="true">
  320. <xs:choice minOccurs="0" maxOccurs="unbounded">
  321. <xs:group ref="insertableElements"/>
  322. </xs:choice>
  323. <xs:attributeGroup ref="core"/>
  324. <xs:attributeGroup ref="lang"/>
  325. <xs:attributeGroup ref="edit"/>
  326. <xs:attributeGroup ref="dimension"/>
  327. <xs:attribute name="align" type="restrictedstring"/>
  328. <xs:attribute name="clear" type="restrictedstring"/>
  329. </xs:complexType>
  330. </xs:element>
  331. <xs:element name="PRE">
  332. <xs:complexType mixed="true">
  333. <xs:choice minOccurs="0" maxOccurs="unbounded">
  334. <xs:group ref="insertableElements"/>
  335. </xs:choice>
  336. <xs:attributeGroup ref="core"/>
  337. <xs:attributeGroup ref="lang"/>
  338. <xs:attributeGroup ref="edit"/>
  339. <xs:attributeGroup ref="dimension"/>
  340. <xs:attribute name="clear" type="restrictedstring"/>
  341. <xs:attribute name="cols" type="xs:integer"/>
  342. </xs:complexType>
  343. </xs:element>
  344. <xs:element name="SPAN">
  345. <xs:complexType mixed="true">
  346. <xs:choice minOccurs="0" maxOccurs="unbounded">
  347. <xs:group ref="insertableElements"/>
  348. </xs:choice>
  349. <xs:attributeGroup ref="core"/>
  350. <xs:attributeGroup ref="lang"/>
  351. <xs:attributeGroup ref="edit"/>
  352. </xs:complexType>
  353. </xs:element>
  354. <xs:element name="STRIKE">
  355. <xs:complexType mixed="true">
  356. <xs:choice minOccurs="0" maxOccurs="unbounded">
  357. <xs:group ref="insertableElements"/>
  358. </xs:choice>
  359. <xs:attributeGroup ref="core"/>
  360. <xs:attributeGroup ref="lang"/>
  361. <xs:attributeGroup ref="edit"/>
  362. </xs:complexType>
  363. </xs:element>
  364. <xs:element name="S">
  365. <xs:complexType mixed="true">
  366. <xs:choice minOccurs="0" maxOccurs="unbounded">
  367. <xs:group ref="insertableElements"/>
  368. </xs:choice>
  369. <xs:attributeGroup ref="core"/>
  370. <xs:attributeGroup ref="lang"/>
  371. <xs:attributeGroup ref="edit"/>
  372. </xs:complexType>
  373. </xs:element>
  374. <xs:element name="STRONG">
  375. <xs:complexType mixed="true">
  376. <xs:choice minOccurs="0" maxOccurs="unbounded">
  377. <xs:group ref="insertableElements"/>
  378. </xs:choice>
  379. <xs:attributeGroup ref="core"/>
  380. <xs:attributeGroup ref="lang"/>
  381. <xs:attributeGroup ref="edit"/>
  382. </xs:complexType>
  383. </xs:element>
  384. <xs:element name="STYLE">
  385. <xs:complexType mixed="true">
  386. <xs:choice minOccurs="0" maxOccurs="unbounded">
  387. <xs:group ref="insertableElements"/>
  388. </xs:choice>
  389. <xs:attributeGroup ref="core"/>
  390. <xs:attributeGroup ref="lang"/>
  391. <xs:attribute name="language" type="restrictedstring"/>
  392. <xs:attribute name="type" type="restrictedstring"/>
  393. </xs:complexType>
  394. </xs:element>
  395. <xs:element name="TABLE">
  396. <xs:complexType>
  397. <xs:choice minOccurs="0" maxOccurs="unbounded">
  398. <xs:group ref="insertableElements"/>
  399. </xs:choice>
  400. <xs:attributeGroup ref="core"/>
  401. <xs:attributeGroup ref="lang"/>
  402. <xs:attributeGroup ref="edit"/>
  403. <xs:attributeGroup ref="dimension"/>
  404. <xs:attribute name="align" type="restrictedstring"/>
  405. <xs:attribute name="background" type="restrictedstring"/>
  406. <xs:attribute name="bgcolor" type="restrictedstring"/>
  407. <xs:attribute name="border" type="xs:integer"/>
  408. <xs:attribute name="bordercolor" type="restrictedstring"/>
  409. <xs:attribute name="bordercolordark" type="restrictedstring"/>
  410. <xs:attribute name="bordercolorlight" type="restrictedstring"/>
  411. <xs:attribute name="bottompadding" type="xs:integer"/>
  412. <xs:attribute name="cellpadding" type="xs:integer"/>
  413. <xs:attribute name="cellspacing" type="xs:integer"/>
  414. <xs:attribute name="clear" type="restrictedstring"/>
  415. <xs:attribute name="cols" type="xs:integer"/>
  416. <xs:attribute name="frame" type="restrictedstring"/>
  417. <xs:attribute name="hspace" type="xs:integer"/>
  418. <xs:attribute name="leftpadding" type="xs:integer"/>
  419. <xs:attribute name="rightpadding" type="xs:integer"/>
  420. <xs:attribute name="rules" type="restrictedstring"/>
  421. <xs:attribute name="summary" type="restrictedstring"/>
  422. <xs:attribute name="toppadding" type="xs:integer"/>
  423. <xs:attribute name="vspace" type="xs:integer"/>
  424. <xs:attribute name="_moz_resizing" type="restrictedstring"/>
  425. </xs:complexType>
  426. </xs:element>
  427. <xs:element name="TBODY">
  428. <xs:complexType>
  429. <xs:choice minOccurs="0" maxOccurs="unbounded">
  430. <xs:group ref="insertableElements"/>
  431. </xs:choice>
  432. <xs:attributeGroup ref="core"/>
  433. <xs:attributeGroup ref="lang"/>
  434. <xs:attributeGroup ref="edit"/>
  435. <xs:attribute name="align" type="restrictedstring"/>
  436. <xs:attribute name="bgcolor" type="restrictedstring"/>
  437. <xs:attribute name="char" type="restrictedstring"/>
  438. <xs:attribute name="charoff" type="xs:integer"/>
  439. <xs:attribute name="valign" type="restrictedstring"/>
  440. </xs:complexType>
  441. </xs:element>
  442. <xs:element name="TD">
  443. <xs:complexType mixed="true">
  444. <xs:choice minOccurs="0" maxOccurs="unbounded">
  445. <xs:group ref="insertableElements"/>
  446. </xs:choice>
  447. <xs:attributeGroup ref="core"/>
  448. <xs:attributeGroup ref="lang"/>
  449. <xs:attributeGroup ref="edit"/>
  450. <xs:attributeGroup ref="dimension"/>
  451. <xs:attribute name="abbr" type="restrictedstring"/>
  452. <xs:attribute name="align" type="restrictedstring"/>
  453. <xs:attribute name="axis" type="restrictedstring"/>
  454. <xs:attribute name="background" type="restrictedstring"/>
  455. <xs:attribute name="bgcolor" type="restrictedstring"/>
  456. <xs:attribute name="bordercolor" type="restrictedstring"/>
  457. <xs:attribute name="bordercolordark" type="restrictedstring"/>
  458. <xs:attribute name="bordercolorlight" type="restrictedstring"/>
  459. <xs:attribute name="char" type="restrictedstring"/>
  460. <xs:attribute name="charoff" type="xs:integer"/>
  461. <xs:attribute name="colspan" type="xs:integer"/>
  462. <xs:attribute name="headers" type="restrictedstring"/>
  463. <xs:attribute name="rowspan" type="xs:integer"/>
  464. <xs:attribute name="scope" type="restrictedstring"/>
  465. <xs:attribute name="valign" type="restrictedstring"/>
  466. <xs:attribute name="hspace" type="restrictedstring"/>
  467. <xs:attribute name="vspace" type="restrictedstring"/>
  468. </xs:complexType>
  469. </xs:element>
  470. <xs:element name="TEXTAREA">
  471. <xs:complexType mixed="true">
  472. <xs:choice minOccurs="0" maxOccurs="unbounded">
  473. <xs:group ref="insertableElements"/>
  474. </xs:choice>
  475. <xs:attributeGroup ref="core"/>
  476. <xs:attributeGroup ref="lang"/>
  477. <xs:attributeGroup ref="edit"/>
  478. <xs:attributeGroup ref="dimension"/>
  479. <xs:attribute name="cols" type="xs:integer"/>
  480. <xs:attribute name="name" type="restrictedstring"/>
  481. <xs:attribute name="rows" type="xs:integer"/>
  482. <xs:attribute name="wrap" type="restrictedstring"/>
  483. </xs:complexType>
  484. </xs:element>
  485. <xs:element name="TH">
  486. <xs:complexType>
  487. <xs:choice minOccurs="0" maxOccurs="unbounded">
  488. <xs:group ref="insertableElements"/>
  489. </xs:choice>
  490. <xs:attributeGroup ref="core"/>
  491. <xs:attributeGroup ref="lang"/>
  492. <xs:attributeGroup ref="edit"/>
  493. <xs:attributeGroup ref="dimension"/>
  494. <xs:attribute name="abbr" type="restrictedstring"/>
  495. <xs:attribute name="align" type="restrictedstring"/>
  496. <xs:attribute name="axis" type="restrictedstring"/>
  497. <xs:attribute name="background" type="restrictedstring"/>
  498. <xs:attribute name="bgcolor" type="restrictedstring"/>
  499. <xs:attribute name="bordercolor" type="restrictedstring"/>
  500. <xs:attribute name="bordercolordark" type="restrictedstring"/>
  501. <xs:attribute name="bordercolorlight" type="restrictedstring"/>
  502. <xs:attribute name="char" type="restrictedstring"/>
  503. <xs:attribute name="charoff" type="xs:integer"/>
  504. <xs:attribute name="colspan" type="xs:integer"/>
  505. <xs:attribute name="headers" type="restrictedstring"/>
  506. <xs:attribute name="rowspan" type="xs:integer"/>
  507. <xs:attribute name="scope" type="restrictedstring"/>
  508. <xs:attribute name="valign" type="restrictedstring"/>
  509. <xs:attribute name="hspace" type="restrictedstring"/>
  510. <xs:attribute name="vspace" type="restrictedstring"/>
  511. </xs:complexType>
  512. </xs:element>
  513. <xs:element name="THEAD">
  514. <xs:complexType mixed="true">
  515. <xs:choice minOccurs="0" maxOccurs="unbounded">
  516. <xs:group ref="insertableElements"/>
  517. </xs:choice>
  518. <xs:attributeGroup ref="core"/>
  519. <xs:attributeGroup ref="lang"/>
  520. <xs:attributeGroup ref="edit"/>
  521. <xs:attribute name="align" type="restrictedstring"/>
  522. <xs:attribute name="bgcolor" type="restrictedstring"/>
  523. <xs:attribute name="char" type="restrictedstring"/>
  524. <xs:attribute name="charoff" type="xs:integer"/>
  525. <xs:attribute name="valign" type="restrictedstring"/>
  526. </xs:complexType>
  527. </xs:element>
  528. <xs:element name="TR">
  529. <xs:complexType>
  530. <xs:choice minOccurs="0" maxOccurs="unbounded">
  531. <xs:group ref="insertableElements"/>
  532. </xs:choice>
  533. <xs:attributeGroup ref="core"/>
  534. <xs:attributeGroup ref="lang"/>
  535. <xs:attributeGroup ref="edit"/>
  536. <xs:attributeGroup ref="dimension"/>
  537. <xs:attribute name="align" type="restrictedstring"/>
  538. <xs:attribute name="background" type="restrictedstring"/>
  539. <xs:attribute name="bgcolor" type="restrictedstring"/>
  540. <xs:attribute name="bordercolor" type="restrictedstring"/>
  541. <xs:attribute name="bordercolordark" type="restrictedstring"/>
  542. <xs:attribute name="bordercolorlight" type="restrictedstring"/>
  543. <xs:attribute name="char" type="restrictedstring"/>
  544. <xs:attribute name="charoff" type="xs:integer"/>
  545. <xs:attribute name="valign" type="restrictedstring"/>
  546. </xs:complexType>
  547. </xs:element>
  548. <xs:element name="U">
  549. <xs:complexType mixed="true">
  550. <xs:choice minOccurs="0" maxOccurs="unbounded">
  551. <xs:group ref="insertableElements"/>
  552. </xs:choice>
  553. <xs:attributeGroup ref="core"/>
  554. <xs:attributeGroup ref="lang"/>
  555. <xs:attributeGroup ref="edit"/>
  556. </xs:complexType>
  557. </xs:element>
  558. <xs:element name="UL">
  559. <xs:complexType>
  560. <xs:choice minOccurs="0" maxOccurs="unbounded">
  561. <xs:group ref="insertableElements"/>
  562. </xs:choice>
  563. <xs:attributeGroup ref="core"/>
  564. <xs:attributeGroup ref="lang"/>
  565. <xs:attributeGroup ref="edit"/>
  566. <xs:attributeGroup ref="dimension"/>
  567. <xs:attribute name="align" type="restrictedstring"/>
  568. <xs:attribute name="clear" type="restrictedstring"/>
  569. <xs:attribute name="start" type="xs:integer"/>
  570. <xs:attribute name="type" type="restrictedstring"/>
  571. </xs:complexType>
  572. </xs:element>
  573. </xs:choice>
  574. </xs:group>
  575. <xs:element name="BODY">
  576. <xs:complexType mixed="true">
  577. <xs:choice minOccurs="0" maxOccurs="unbounded">
  578. <xs:group ref="insertableElements"/>
  579. </xs:choice>
  580. <xs:attributeGroup ref="core"/>
  581. <xs:attributeGroup ref="lang"/>
  582. <xs:attribute name="align" type="restrictedstring"/>
  583. <xs:attribute name="alink" type="restrictedstring"/>
  584. <xs:attribute name="background" type="restrictedstring"/>
  585. <xs:attribute name="bgcolor" type="restrictedstring"/>
  586. <xs:attribute name="bgproperties" type="restrictedstring"/>
  587. <xs:attribute name="bottommargin" type="xs:integer"/>
  588. <xs:attribute name="contenteditable" type="restrictedstring"/>
  589. <xs:attribute name="leftmargin" type="xs:integer"/>
  590. <xs:attribute name="marginheight" type="xs:integer"/>
  591. <xs:attribute name="marginwidth" type="xs:integer"/>
  592. <xs:attribute name="nowrap" type="restrictedstring"/>
  593. <xs:attribute name="rightmargin" type="xs:integer"/>
  594. <xs:attribute name="scroll" type="restrictedstring"/>
  595. <xs:attribute name="text" type="restrictedstring"/>
  596. <xs:attribute name="topmargin" type="xs:integer"/>
  597. </xs:complexType>
  598. </xs:element>
  599. <xs:element name="HEAD">
  600. <xs:complexType mixed="true">
  601. <xs:choice minOccurs="0" maxOccurs="unbounded">
  602. <xs:group ref="insertableElements"/>
  603. </xs:choice>
  604. <xs:attributeGroup ref="core"/>
  605. <xs:attributeGroup ref="lang"/>
  606. <xs:attribute name="profile" type="restrictedstring"/>
  607. </xs:complexType>
  608. </xs:element>
  609. </xs:schema>