simple-xspec-wrapper 0.1.0-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (242) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/.rspec +3 -0
  4. data/.ruby-version +1 -0
  5. data/.travis.yml +11 -0
  6. data/CODE_OF_CONDUCT.md +74 -0
  7. data/Gemfile +6 -0
  8. data/Gemfile.lock +37 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +49 -0
  11. data/Rakefile +6 -0
  12. data/bin/console +14 -0
  13. data/bin/setup +8 -0
  14. data/exe/xspec +16 -0
  15. data/lib/xspec/version.rb +3 -0
  16. data/lib/xspec.rb +256 -0
  17. data/simple-xspec-wrapper.gemspec +28 -0
  18. data/spec-test.xml +1125 -0
  19. data/vendor/xspec-1.0.0/.gitignore +7 -0
  20. data/vendor/xspec-1.0.0/.travis.yml +57 -0
  21. data/vendor/xspec-1.0.0/LICENSE +21 -0
  22. data/vendor/xspec-1.0.0/README.md +26 -0
  23. data/vendor/xspec-1.0.0/appveyor.yml +77 -0
  24. data/vendor/xspec-1.0.0/bin/xspec.bat +620 -0
  25. data/vendor/xspec-1.0.0/bin/xspec.sh +403 -0
  26. data/vendor/xspec-1.0.0/build.xml +369 -0
  27. data/vendor/xspec-1.0.0/editors/emacs/README +31 -0
  28. data/vendor/xspec-1.0.0/editors/emacs/schemas.xml +6 -0
  29. data/vendor/xspec-1.0.0/editors/oxygen/.cvsignore +2 -0
  30. data/vendor/xspec-1.0.0/editors/oxygen/README +11 -0
  31. data/vendor/xspec-1.0.0/editors/oxygen/build.xml +38 -0
  32. data/vendor/xspec-1.0.0/editors/oxygen/templates/xspec.xml +17 -0
  33. data/vendor/xspec-1.0.0/editors/oxygen/xspec.framework +175 -0
  34. data/vendor/xspec-1.0.0/find-examples.xml +37 -0
  35. data/vendor/xspec-1.0.0/find-examples.xsl +615 -0
  36. data/vendor/xspec-1.0.0/graphics/3angle-down.gif +0 -0
  37. data/vendor/xspec-1.0.0/graphics/3angle-right.gif +0 -0
  38. data/vendor/xspec-1.0.0/java/com/jenitennison/xslt/tests/XSLTCoverageTraceListener.class +0 -0
  39. data/vendor/xspec-1.0.0/java/com/jenitennison/xslt/tests/XSLTCoverageTraceListener.java +209 -0
  40. data/vendor/xspec-1.0.0/src/ant/find-test-failure.xsl +17 -0
  41. data/vendor/xspec-1.0.0/src/ant/get-schematron-phase.xsl +17 -0
  42. data/vendor/xspec-1.0.0/src/ant/locate-schematron.xsl +28 -0
  43. data/vendor/xspec-1.0.0/src/ant/make-path.js +4 -0
  44. data/vendor/xspec-1.0.0/src/compiler/generate-common-tests.xsl +604 -0
  45. data/vendor/xspec-1.0.0/src/compiler/generate-query-helper.xsl +152 -0
  46. data/vendor/xspec-1.0.0/src/compiler/generate-query-tests.xsl +473 -0
  47. data/vendor/xspec-1.0.0/src/compiler/generate-query-utils.xql +263 -0
  48. data/vendor/xspec-1.0.0/src/compiler/generate-tests-helper.xsl +169 -0
  49. data/vendor/xspec-1.0.0/src/compiler/generate-tests-utils.xsl +479 -0
  50. data/vendor/xspec-1.0.0/src/compiler/generate-xspec-tests.xsl +503 -0
  51. data/vendor/xspec-1.0.0/src/harnesses/basex/basex-standalone-xquery-harness.xproc +135 -0
  52. data/vendor/xspec-1.0.0/src/harnesses/basex/basex-xquery-harness.xproc +133 -0
  53. data/vendor/xspec-1.0.0/src/harnesses/exist/exist-xquery-harness.xproc +161 -0
  54. data/vendor/xspec-1.0.0/src/harnesses/harness-lib.xpl +327 -0
  55. data/vendor/xspec-1.0.0/src/harnesses/marklogic/ml-xquery-harness.xproc +143 -0
  56. data/vendor/xspec-1.0.0/src/harnesses/saxon/saxon-xquery-harness.xproc +108 -0
  57. data/vendor/xspec-1.0.0/src/harnesses/saxon/saxon-xslt-harness.xproc +85 -0
  58. data/vendor/xspec-1.0.0/src/harnesses/zorba/zorba-xquery-harness.xproc +134 -0
  59. data/vendor/xspec-1.0.0/src/reporter/coverage-report.xsl +378 -0
  60. data/vendor/xspec-1.0.0/src/reporter/format-utils.xsl +220 -0
  61. data/vendor/xspec-1.0.0/src/reporter/format-xspec-report-folding.xsl +164 -0
  62. data/vendor/xspec-1.0.0/src/reporter/format-xspec-report.xsl +410 -0
  63. data/vendor/xspec-1.0.0/src/reporter/junit-report.xsl +93 -0
  64. data/vendor/xspec-1.0.0/src/reporter/test-report.css +469 -0
  65. data/vendor/xspec-1.0.0/src/schemas/find-examples.rnc +90 -0
  66. data/vendor/xspec-1.0.0/src/schemas/xspec.rnc +304 -0
  67. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_abstract_expand.xsl +313 -0
  68. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_dsdl_include.xsl +1519 -0
  69. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_schematron_message.xsl +64 -0
  70. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_schematron_message_xslt2.xsl +64 -0
  71. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_schematron_skeleton_for_saxon.xsl +2306 -0
  72. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_schematron_skeleton_for_xslt1.xsl +1851 -0
  73. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_svrl_for_xslt1.xsl +614 -0
  74. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/iso_svrl_for_xslt2.xsl +692 -0
  75. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/readme.txt +101 -0
  76. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/sch-messages-cs.xhtml +56 -0
  77. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/sch-messages-de.xhtml +55 -0
  78. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/sch-messages-en.xhtml +57 -0
  79. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/sch-messages-fr.xhtml +54 -0
  80. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/sch-messages-ja.xhtml +53 -0
  81. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/sch-messages-nl.xhtml +58 -0
  82. data/vendor/xspec-1.0.0/src/schematron/iso-schematron/schematron-skeleton-api.htm +723 -0
  83. data/vendor/xspec-1.0.0/src/schematron/sch-location-compare.xsl +139 -0
  84. data/vendor/xspec-1.0.0/src/schematron/schut-to-xspec.xsl +179 -0
  85. data/vendor/xspec-1.0.0/test/Makefile +117 -0
  86. data/vendor/xspec-1.0.0/test/README +5 -0
  87. data/vendor/xspec-1.0.0/test/catalog/xspec-160_catalog.xml +4 -0
  88. data/vendor/xspec-1.0.0/test/catalog/xspec-160_schematron.xspec +6 -0
  89. data/vendor/xspec-1.0.0/test/catalog/xspec-160_xslt.xspec +5 -0
  90. data/vendor/xspec-1.0.0/test/end-to-end/README.md +42 -0
  91. data/vendor/xspec-1.0.0/test/end-to-end/cases/.gitignore +1 -0
  92. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/.gitignore +3 -0
  93. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-50-result-norm.html +74 -0
  94. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-55-result-norm.html +112 -0
  95. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-focus-1-result-norm.html +109 -0
  96. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-function-result-norm.html +118 -0
  97. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-import-result-norm.html +163 -0
  98. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-imported-result-norm.html +95 -0
  99. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-pending-result-norm.html +123 -0
  100. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-rule-result-norm.html +109 -0
  101. data/vendor/xspec-1.0.0/test/end-to-end/cases/expected/xspec-three-dots-result-norm.html +1237 -0
  102. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-50.xsl +7 -0
  103. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-50.xspec +10 -0
  104. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-55.xsl +2 -0
  105. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-55.xspec +18 -0
  106. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-focus-1.xspec +71 -0
  107. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-function.xspec +50 -0
  108. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-import.xspec +50 -0
  109. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-imported.xspec +48 -0
  110. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-pending.xspec +89 -0
  111. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-rule.xspec +76 -0
  112. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-three-dots.xsl +49 -0
  113. data/vendor/xspec-1.0.0/test/end-to-end/cases/xspec-three-dots.xspec +527 -0
  114. data/vendor/xspec-1.0.0/test/end-to-end/generate-expected.cmd +51 -0
  115. data/vendor/xspec-1.0.0/test/end-to-end/generate-expected.sh +25 -0
  116. data/vendor/xspec-1.0.0/test/end-to-end/processor/_deserializer.xsl +53 -0
  117. data/vendor/xspec-1.0.0/test/end-to-end/processor/_normalizer.xsl +192 -0
  118. data/vendor/xspec-1.0.0/test/end-to-end/processor/_serializer.xsl +15 -0
  119. data/vendor/xspec-1.0.0/test/end-to-end/processor/_util.xsl +35 -0
  120. data/vendor/xspec-1.0.0/test/end-to-end/processor/compare.xsl +88 -0
  121. data/vendor/xspec-1.0.0/test/end-to-end/processor/normalize.xsl +28 -0
  122. data/vendor/xspec-1.0.0/test/end-to-end/run-e2e-tests.cmd +61 -0
  123. data/vendor/xspec-1.0.0/test/end-to-end/run-e2e-tests.sh +28 -0
  124. data/vendor/xspec-1.0.0/test/generate-tests-utils.xspec +636 -0
  125. data/vendor/xspec-1.0.0/test/generate-x-utils.xspec +173 -0
  126. data/vendor/xspec-1.0.0/test/generate-xspec-tests.xspec +64 -0
  127. data/vendor/xspec-1.0.0/test/run-xspec-tests.cmd +83 -0
  128. data/vendor/xspec-1.0.0/test/run-xspec-tests.sh +42 -0
  129. data/vendor/xspec-1.0.0/test/sch-location-compare.xspec +179 -0
  130. data/vendor/xspec-1.0.0/test/schematron/data/standards.xml +7 -0
  131. data/vendor/xspec-1.0.0/test/schematron/schematron-017.sch +9 -0
  132. data/vendor/xspec-1.0.0/test/schematron/schematron-018.sch +17 -0
  133. data/vendor/xspec-1.0.0/test/schematron/schematron-019.sch +13 -0
  134. data/vendor/xspec-1.0.0/test/schematron/schematron-020-01.sch +35 -0
  135. data/vendor/xspec-1.0.0/test/schematron/schematron-020.sch +32 -0
  136. data/vendor/xspec-1.0.0/test/schematron/schematron-021.sch +28 -0
  137. data/vendor/xspec-1.0.0/test/schematron/schematron-022.sch +18 -0
  138. data/vendor/xspec-1.0.0/test/schematron/schematron-xslt-compile.xsl +8 -0
  139. data/vendor/xspec-1.0.0/test/schematron/schematron-xslt-expand.xsl +8 -0
  140. data/vendor/xspec-1.0.0/test/schematron/schematron-xslt-include.xsl +8 -0
  141. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-001-in.xspec +5 -0
  142. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-001-out.xspec +7 -0
  143. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-002-in.xspec +5 -0
  144. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-002-out.xspec +7 -0
  145. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-002.sch +4 -0
  146. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-003-in.xspec +7 -0
  147. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-003-out.xspec +9 -0
  148. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-004-in.xspec +20 -0
  149. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-004-out.xspec +22 -0
  150. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-005-in.xspec +6 -0
  151. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-005-out.xspec +8 -0
  152. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-006-in.xspec +11 -0
  153. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-006-out.xspec +13 -0
  154. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-007-in.xspec +7 -0
  155. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-007-out.xspec +9 -0
  156. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-007.xml +2 -0
  157. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-008-in.xspec +9 -0
  158. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-008-out.xspec +9 -0
  159. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-009-import-in.xspec +5 -0
  160. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-009-in.xspec +6 -0
  161. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-009-out.xspec +10 -0
  162. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-010-import.xspec +5 -0
  163. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-010-in.xspec +6 -0
  164. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-010-out.xspec +8 -0
  165. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-011-in.xspec +6 -0
  166. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-011-out.xspec +8 -0
  167. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-012-01.xml +4 -0
  168. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-012-02.xml +13 -0
  169. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-012-out.xspec +81 -0
  170. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-013-in.xspec +6 -0
  171. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-013-out.xspec +8 -0
  172. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-test.sch +4 -0
  173. data/vendor/xspec-1.0.0/test/schematron/schut-to-xspec-test.sch.xsl +4 -0
  174. data/vendor/xspec-1.0.0/test/schematron-01.sch +17 -0
  175. data/vendor/xspec-1.0.0/test/schematron-01.xml +14 -0
  176. data/vendor/xspec-1.0.0/test/schematron-01.xspec +14 -0
  177. data/vendor/xspec-1.0.0/test/schematron-012.xspec +83 -0
  178. data/vendor/xspec-1.0.0/test/schematron-014-01.xml +10 -0
  179. data/vendor/xspec-1.0.0/test/schematron-014.sch +16 -0
  180. data/vendor/xspec-1.0.0/test/schematron-014.xspec +11 -0
  181. data/vendor/xspec-1.0.0/test/schematron-015.sch +16 -0
  182. data/vendor/xspec-1.0.0/test/schematron-015.xspec +11 -0
  183. data/vendor/xspec-1.0.0/test/schematron-016.sch +19 -0
  184. data/vendor/xspec-1.0.0/test/schematron-016.xspec +171 -0
  185. data/vendor/xspec-1.0.0/test/schematron-017.xspec +26 -0
  186. data/vendor/xspec-1.0.0/test/schematron-018.xspec +120 -0
  187. data/vendor/xspec-1.0.0/test/schematron-019.xspec +16 -0
  188. data/vendor/xspec-1.0.0/test/schematron-020.xspec +53 -0
  189. data/vendor/xspec-1.0.0/test/schematron-021.xspec +27 -0
  190. data/vendor/xspec-1.0.0/test/schematron-022.xspec +15 -0
  191. data/vendor/xspec-1.0.0/test/schematron-param-001.xspec +50 -0
  192. data/vendor/xspec-1.0.0/test/schut-to-xspec-012.sch +27 -0
  193. data/vendor/xspec-1.0.0/test/schut-to-xspec.xspec +85 -0
  194. data/vendor/xspec-1.0.0/test/unit-expect-xsl.xspec +28 -0
  195. data/vendor/xspec-1.0.0/test/xspec-26.xsl +19 -0
  196. data/vendor/xspec-1.0.0/test/xspec-26.xspec +17 -0
  197. data/vendor/xspec-1.0.0/test/xspec-30.xml +2 -0
  198. data/vendor/xspec-1.0.0/test/xspec-30.xsl +6 -0
  199. data/vendor/xspec-1.0.0/test/xspec-30.xspec +8 -0
  200. data/vendor/xspec-1.0.0/test/xspec-33.xsl +7 -0
  201. data/vendor/xspec-1.0.0/test/xspec-33.xspec +15 -0
  202. data/vendor/xspec-1.0.0/test/xspec-46.xsl +7 -0
  203. data/vendor/xspec-1.0.0/test/xspec-46.xspec +9 -0
  204. data/vendor/xspec-1.0.0/test/xspec-72.xsl +13 -0
  205. data/vendor/xspec-1.0.0/test/xspec-72.xspec +19 -0
  206. data/vendor/xspec-1.0.0/test/xspec-bat.cmd +757 -0
  207. data/vendor/xspec-1.0.0/test/xspec-focus-2.xspec +91 -0
  208. data/vendor/xspec-1.0.0/test/xspec-junit.xspec +78 -0
  209. data/vendor/xspec-1.0.0/test/xspec-result-naming-collision.xml +1003 -0
  210. data/vendor/xspec-1.0.0/test/xspec-result-naming-collision.xslt +10 -0
  211. data/vendor/xspec-1.0.0/test/xspec-result-naming-collision.xspec +13 -0
  212. data/vendor/xspec-1.0.0/test/xspec-tested.xql +44 -0
  213. data/vendor/xspec-1.0.0/test/xspec-tested.xsl +64 -0
  214. data/vendor/xspec-1.0.0/test/xspec-variable.xml +3 -0
  215. data/vendor/xspec-1.0.0/test/xspec-variable.xspec +58 -0
  216. data/vendor/xspec-1.0.0/test/xspec-xslt3.xsl +13 -0
  217. data/vendor/xspec-1.0.0/test/xspec-xslt3.xspec +12 -0
  218. data/vendor/xspec-1.0.0/test/xspec.bats +420 -0
  219. data/vendor/xspec-1.0.0/tutorial/escape-for-regex.xslt +40 -0
  220. data/vendor/xspec-1.0.0/tutorial/escape-for-regex.xspec +75 -0
  221. data/vendor/xspec-1.0.0/tutorial/schematron/demo-01.sch +17 -0
  222. data/vendor/xspec-1.0.0/tutorial/schematron/demo-01.xml +11 -0
  223. data/vendor/xspec-1.0.0/tutorial/schematron/demo-01.xspec +14 -0
  224. data/vendor/xspec-1.0.0/tutorial/schematron/demo-02-PhaseA.xspec +11 -0
  225. data/vendor/xspec-1.0.0/tutorial/schematron/demo-02-PhaseB.xspec +12 -0
  226. data/vendor/xspec-1.0.0/tutorial/schematron/demo-02-import1.xspec +10 -0
  227. data/vendor/xspec-1.0.0/tutorial/schematron/demo-02-import2.xspec +8 -0
  228. data/vendor/xspec-1.0.0/tutorial/schematron/demo-02-import3.xspec +10 -0
  229. data/vendor/xspec-1.0.0/tutorial/schematron/demo-02.sch +58 -0
  230. data/vendor/xspec-1.0.0/tutorial/schematron/demo-02.xml +19 -0
  231. data/vendor/xspec-1.0.0/tutorial/schematron/demo-03-doc1.xml +6 -0
  232. data/vendor/xspec-1.0.0/tutorial/schematron/demo-03-doc2.xml +7 -0
  233. data/vendor/xspec-1.0.0/tutorial/schematron/demo-03.sch +29 -0
  234. data/vendor/xspec-1.0.0/tutorial/schematron/demo-03.xspec +63 -0
  235. data/vendor/xspec-1.0.0/tutorial/schematron/demo-04.sch +20 -0
  236. data/vendor/xspec-1.0.0/tutorial/schematron/demo-04.xspec +33 -0
  237. data/vendor/xspec-1.0.0/tutorial/schematron/quickfix.sch +81 -0
  238. data/vendor/xspec-1.0.0/tutorial/xquery-tutorial.xq +8 -0
  239. data/vendor/xspec-1.0.0/tutorial/xquery-tutorial.xspec +16 -0
  240. data/vendor/xspec-1.0.0/xproject/project.xml +8 -0
  241. data/vendor/xspec-1.0.0/xproject/release-project.xsl +41 -0
  242. metadata +341 -0
@@ -0,0 +1,101 @@
1
+ <h1>ISO SCHEMATRON 2010</h1>
2
+
3
+ XSLT implementation by Rick Jelliffe with assistance from members of Schematron-love-in maillist.
4
+
5
+ 2010-04-21
6
+
7
+ Two distributions are available. One is for XSLT1 engines.
8
+ The other is for XSLT2 engines, such as SAXON 9.
9
+
10
+
11
+ This version of Schematron splits the process into a pipeline of several different XSLT stages.
12
+
13
+ 1) First, preprocess your Schematron schema with iso_dsdl_include.xsl.
14
+ This is a macro processor to assemble the schema from various parts.
15
+ If your schema is not in separate parts, you can skip this stage.
16
+ This stage also generates error messages for some common XPath syntax problems.
17
+
18
+ 2) Second, preprocess the output from stage 1 with iso_abstract_expand.xsl.
19
+ This is a macro processor to convert abstract patterns to real patterns.
20
+ If your schema does not use abstract patterns, you can skip this
21
+ stage.
22
+
23
+ 3) Third, compile the Schematron schema into an XSLT script.
24
+ This will typically use iso_svrl_for_xslt1.xsl or iso_svrl_for_xslt2.xsl
25
+ (which in turn invoke iso_schematron_skeleton_for_xslt1.xsl or iso_schematron_skeleton_for_saxon.xsl)
26
+ However, other "meta-styleseets" are also in common use; the principle of operation is the same.
27
+ If your schema uses Schematron phases, supply these as command line/invocation parameters
28
+ to this process.
29
+
30
+ 4) Fourth, run the script generated by stage 3 against the document being validated.
31
+ If you are using the SVRL script, then the output of validation will be an XML document.
32
+ If your schema uses Schematron parameters, supply these as command line/invocation parameters
33
+ to this process.
34
+
35
+
36
+ The XSLT2 distribution also features several next generation features,
37
+ such as validating multiple documents. See the source code for details.
38
+
39
+ Schematron assertions can be written in any language, of course; the file
40
+ sch-messages-en.xhtml contains the diagnostics messages from the XSLT2 skeleton
41
+ in English, and this can be used as template to localize the skeleton's
42
+ error messages. Note that typically programming errors in Schematron are XPath
43
+ errors, which requires localized messages from the XSLT engine.
44
+
45
+ ANT
46
+ ---
47
+ To give an example of how to process a document, here is a sample ANT task.
48
+
49
+ <target name="schematron-compile-test" >
50
+
51
+ <!-- expand inclusions -->
52
+ <xslt basedir="test/schematron"
53
+ style="iso_dsdl_include.xsl" in="test.sch" out="test1.sch">
54
+ <classpath>
55
+ <pathelement location="${lib.dir}/saxon9.jar"/>
56
+ </classpath>
57
+ </xslt>
58
+
59
+ <!-- expand abstract patterns -->
60
+ <xslt basedir="test/schematron"
61
+ style="iso_abstract_expand.xsl" in="test1.sch" out="test2.sch">
62
+ <classpath>
63
+ <pathelement location="${lib.dir}/saxon9.jar"/>
64
+ </classpath>
65
+ </xslt>
66
+
67
+
68
+
69
+ <!-- compile it -->
70
+ <xslt basedir="test/schematron"
71
+ style="iso_svrl_for_xslt2.xsl" in="test2.sch" out="test.xsl">
72
+ <classpath>
73
+ <pathelement location="${lib.dir}/saxon9.jar"/>
74
+ </classpath>
75
+ </xslt>
76
+
77
+ <!-- validate -->
78
+ <xslt basedir="test/schematron"
79
+ style="test.xsl" in="instance.xml" out="instance.svrlt">
80
+ <classpath>
81
+ <pathelement location="${lib.dir}/saxon9.jar"/>
82
+ </classpath>
83
+ </xslt>
84
+ </target>
85
+
86
+ EXTRACTION SCHEMATRON FROM XSD OR RELAX NG
87
+
88
+ The following files allow extracting of embedded schematron patterns
89
+ in XML Schemas or RELAX NG schemas. For details, see the at
90
+ article http://www.topologi.com/resources/schtrn_xsd_paper.html
91
+
92
+ The following files are provided:
93
+ ExtractSchFromRNG.xsl Generate a Schematron schema from patterns
94
+ embedded in a RELAX NG schema. The schema uses XSLT1.
95
+ ExtractSchFromXSD.xsl Generate a Schematron schema from patterns
96
+ embedded in a W3C XML Schemas schema. The schema uses XSLT1.
97
+
98
+ ExtractSchFromRNG-2.xsl Generate a Schematron schema from patterns
99
+ embedded in a RELAX NG schema. The schema uses XSLT2.
100
+ ExtractSchFromXSD-2.xsl Generate a Schematron schema from patterns
101
+ embedded in a W3C XML Schemas schema. The schema uses XSLT2.
@@ -0,0 +1,56 @@
1
+ <xhtml:div class="ErrorMessages" xml:lang="cs"
2
+ xmlns:xhtml="http://www.w3.org/1999/xhtml" >
3
+ <!-- Obsahuje-li chybové hlášení dynamické informace, je rozděleno
4
+ do sekcí "a" a "b". Různé jazyky tak mohou dynamické informace
5
+ umístit s ohledem na svá gramatická pravidla. -->
6
+ <xhtml:p id="sch-message-1-cs">Chyba ve schématu: nalezeny elementy Schematronu ve starém i novém jmenném prostoru</xhtml:p>
7
+ <xhtml:p id="sch-message-2-cs">Chyba ve schématu: v atributu queryBinding použijte 'xslt'</xhtml:p>
8
+ <xhtml:p id="sch-message-3a-cs">Porucha: Tato implementace ISO Schematronu nefunguje se schématy, která používají dotazovací jazyk</xhtml:p>
9
+ <xhtml:p id="sch-message-3b-cs"/>
10
+ <xhtml:p id="sch-message-4a-cs">Fázová chyba: fáze jménem </xhtml:p>
11
+ <xhtml:p id="sch-message-4b-cs"> není definována.</xhtml:p>
12
+ <xhtml:p id="sch-message-5-cs">Chybný markup: v elementu &lt;active> chybí atribut pattern</xhtml:p>
13
+ <xhtml:p id="sch-message-6a-cs">Chybný odkaz: vzor "</xhtml:p>
14
+ <xhtml:p id="sch-message-6b-cs">" byl aktivován, ne však deklarován</xhtml:p>
15
+ <xhtml:p id="sch-message-7-cs">Chybný markup: v elementu &lt;assert> chybí atribut test</xhtml:p>
16
+ <xhtml:p id="sch-message-8-cs">Chybný markup: v elementu &lt;report> chybí atribut test</xhtml:p>
17
+ <xhtml:p id="sch-message-9-cs">Chybný markup: v elementu &lt;diagnostic> chybí atribut id</xhtml:p>
18
+ <xhtml:p id="sch-message-10-cs">Chybný markup: v elementu &lt;extends> chybí atribut rule</xhtml:p>
19
+ <xhtml:p id="sch-message-11a-cs">Chybný odkaz: abstraktní pravidlo "</xhtml:p>
20
+ <xhtml:p id="sch-message-11b-cs">" není definováno, ačkoli se na ně odkazuje</xhtml:p>
21
+ <xhtml:p id="sch-message-12-cs">Chybný markup: v elementu &lt;key> chybí atribut name</xhtml:p>
22
+ <xhtml:p id="sch-message-13-cs">Chybný markup: v elementu &lt;key> chybí atribut path nebo use</xhtml:p>
23
+ <xhtml:p id="sch-message-14-cs">Chybný markup: v elementu &lt;key> chybí atribut path nebo use</xhtml:p>
24
+ <xhtml:p id="sch-message-15-cs">Chyba ve schématu: element &lt;key> není ve jmenném prostoru ISO Schematronu. Použijte jmenný prostor XSLT.</xhtml:p>
25
+ <xhtml:p id="sch-message-16-cs">Chybný markup: v elementu &lt;function> chybí atribut name</xhtml:p>
26
+ <xhtml:p id="sch-message-17-cs">Chyba ve schématu: element &lt;function> není ve jmenném prostoru ISO Schematronu. Použijte jmenný prostor XSLT.</xhtml:p>
27
+ <xhtml:p id="sch-message-18-cs">Chyba ve schématu: direktiva &lt;include> má prázdný atribut href</xhtml:p>
28
+ <xhtml:p id="sch-message-19-cs">Chyba: Nesprávné URL v direktivě &lt;include></xhtml:p>
29
+ <xhtml:p id="sch-message-20a-cs">Chyba: Nelze otevřít vkládaný soubor </xhtml:p>
30
+ <xhtml:p id="sch-message-20b-cs" />
31
+ <xhtml:p id="sch-message-21-cs">Chyba ve schématu: &lt;include> používejte ke vkládání fragmentů, ne celého schématu</xhtml:p>
32
+ <xhtml:p id="sch-message-22-cs">Chyba ve schématu: Schémata XSD lze importovat pouze pokud používáte dotazovací jazyk "xslt2"</xhtml:p>
33
+ <xhtml:p id="sch-message-23-cs">Chyba ve schématu: element &lt;import-schema> není ve jmenném prostoru ISO Schematronu. Použijte jmenný prostor XSLT.</xhtml:p>
34
+ <xhtml:p id="sch-message-24-cs">Varování: S dotazovacím jazykem "xpath" by se neměly používat proměnné</xhtml:p>
35
+ <xhtml:p id="sch-message-25-cs">Varování: S dotazovacím jazykem "xpath2" by se neměly používat proměnné</xhtml:p>
36
+ <xhtml:p id="sch-message-26-cs">Chybný markup: v elementu &lt;ns> chybí atribut uri</xhtml:p>
37
+ <xhtml:p id="sch-message-27-cs">Chybný markup: v elementu &lt;ns> chybí atribut prefix</xhtml:p>
38
+ <xhtml:p id="sch-message-28-cs">Chyba v implementaci schématu: toto schéma obsahuje abstraktní vzory, které však již měly být předchozím zpracováním odstraněny</xhtml:p>
39
+ <xhtml:p id="sch-message-29-cs">Chybný markup: v elementu &lt;phase> chybí atribut id</xhtml:p>
40
+ <xhtml:p id="sch-message-30-cs">Chybný markup: v elementu &lt;rule> chybí atribut context</xhtml:p>
41
+ <xhtml:p id="sch-message-31-cs">Chybný markup: v abstraktním pravidlu chybí atribut id</xhtml:p>
42
+ <xhtml:p id="sch-message-32-cs">Chybný markup: (2) Abstraktní pravidlo nesmí mít atribut context</xhtml:p>
43
+ <xhtml:p id="sch-message-33-cs">Chybný markup: Abstraktní pravidlo nesmí mít atribut context</xhtml:p>
44
+ <xhtml:p id="sch-message-34-cs">Chybný markup: v elementu &lt;value-of> chybí atribut select</xhtml:p>
45
+ <xhtml:p id="sch-message-35a-cs">Varování: </xhtml:p>
46
+ <xhtml:p id="sch-message-35b-cs"> nesmí obsahovat žádné podelementy</xhtml:p>
47
+ <xhtml:p id="sch-message-36a-cs">Chybný odkaz: Diagnostika "</xhtml:p>
48
+ <xhtml:p id="sch-message-36b-cs">" nebyla deklarována, ačkoli se na ni odkazuje</xhtml:p>
49
+ <xhtml:p id="sch-message-37a-cs">Chyba: procesor </xhtml:p>
50
+ <xhtml:p id="sch-message-37b-cs"> nepodporuje použití jmenného prostoru XSLT s jiným prefixem než "xsl"</xhtml:p>
51
+ <xhtml:p id="sch-message-38a-cs">Chyba: neznámý element </xhtml:p>
52
+ <xhtml:p id="sch-message-38b-cs"> ve jmenném prostoru ISO Schematronu: zkontrolujte, je-li správně zapsán</xhtml:p>
53
+ <xhtml:p id="sch-message-39a-cs">Varování: neznámý element
54
+ </xhtml:p>
55
+ <xhtml:p id="sch-message-39b-cs" />
56
+ </xhtml:div>
@@ -0,0 +1,55 @@
1
+ <xhtml:div class="ErrorMessages" xml:lang="de" xmlns:xhtml="http://www.w3.org/1999/xhtml">
2
+ <!-- Where the error message contains dynamic information, the message has been split into an "a" and a "b" section.
3
+ This has been done even when the English does not require it, in order to accomodate different language grammars
4
+ that might position the dynamic information differently.
5
+ -->
6
+ <xhtml:p id="sch-message-1-de">Fehler im Schema: Schematron Elemente sowohl im alten als auch neuen Namensraum gefunden</xhtml:p>
7
+ <xhtml:p id="sch-message-2-de">Fehler im Schema: Nutzen Sie 'xslt' als Wert für das 'queryBinding'-Attribut</xhtml:p>
8
+ <xhtml:p id="sch-message-3a-de">Fehler: Diese Implementierung von ISO Schematron unterstützt keine Schemas, welche die Query Language </xhtml:p>
9
+ <xhtml:p id="sch-message-3b-de">nutzen</xhtml:p>
10
+ <xhtml:p id="sch-message-4a-de">Phasenfehler: Es gibt keine Phase mit Namen </xhtml:p>
11
+ <xhtml:p id="sch-message-4b-de"/>
12
+ <xhtml:p id="sch-message-5-de">Fehler in der Annotation: Kein Attribut 'pattern' in &lt;active></xhtml:p>
13
+ <xhtml:p id="sch-message-6a-de">Referenzierungsfehler: Der Ausdruck "</xhtml:p>
14
+ <xhtml:p id="sch-message-6b-de">" wurde aktiviert, ist aber nicht deklariert</xhtml:p>
15
+ <xhtml:p id="sch-message-7-de">Fehler in der Annotation: Kein Attribut 'test' in &lt;assert</xhtml:p>
16
+ <xhtml:p id="sch-message-8-de">Fehler in der Annotation: Kein Attribut 'test' in &lt;report></xhtml:p>
17
+ <xhtml:p id="sch-message-9-de">Fehler in der Annotation: Kein Attribut 'id' in &lt;diagnostic></xhtml:p>
18
+ <xhtml:p id="sch-message-10-de">Fehler in der Annotation: Kein Attribut 'rule' in &lt;extends></xhtml:p>
19
+ <xhtml:p id="sch-message-11a-de">Referenzierungsfehler: Die abstrakte Regel "</xhtml:p>
20
+ <xhtml:p id="sch-message-11b-de">" wurde referenziert, ist aber nicht deklariert</xhtml:p>
21
+ <xhtml:p id="sch-message-12-de">Fehler in der Annotation: Kein Attribut 'name' in &lt;key></xhtml:p>
22
+ <xhtml:p id="sch-message-13-de">Fehler in der Annotation: Kein Attribut 'path' oder 'use' in &lt;key></xhtml:p>
23
+ <xhtml:p id="sch-message-14-de">Fehler in der Annotation: Kein Attribut 'path' oder 'use' in &lt;key></xhtml:p>
24
+ <xhtml:p id="sch-message-15-de">Fehler im Schema: Das Element &lt;key> ist im ISO Schematron-Namensraum nicht vorhanden. Benutzen Sie den XSLT-Namensraum.</xhtml:p>
25
+ <xhtml:p id="sch-message-16-de">Fehler in der Annotation: Kein Attribut 'name' in &lt;function></xhtml:p>
26
+ <xhtml:p id="sch-message-17-de">Fehler im Schema: Das Element &lt;function> ist im ISO Schematron-Namensraum nicht vorhanden. Benutzen Sie den XSLT-Namensraum.</xhtml:p>
27
+ <xhtml:p id="sch-message-18-de">Fehler im Schema: Leeres Attribut 'href' für &lt;include> Anweisung.</xhtml:p>
28
+ <xhtml:p id="sch-message-19-de">Fehler: Ungültige URL in &lt;include></xhtml:p>
29
+ <xhtml:p id="sch-message-20a-de">Kann die referenzierte Datei nicht öffnen: </xhtml:p>
30
+ <xhtml:p id="sch-message-20b-de"/>
31
+ <xhtml:p id="sch-message-21-de">Fehler im Schema: &lt;include> darf nur zur Einbettung von Schemafragmenten genutzt werden, nicht für ganze Schemata</xhtml:p>
32
+ <xhtml:p id="sch-message-22-de">Fehler im Schema: XSD Schemata dürfen nur importiert werden, wenn das 'xslt2' Query Language Binding genutzt wird</xhtml:p>
33
+ <xhtml:p id="sch-message-23-de">Fehler im Schema: Das Element &lt;import-schema> ist im ISO Schematron-Namensraum nicht vorhanden. Benutzen Sie den XSLT-Namensraum.</xhtml:p>
34
+ <xhtml:p id="sch-message-24-de">Warnung: Variablen sollten nicht zusammen mit dem 'xpath' Query Language Binding genutzt werden.</xhtml:p>
35
+ <xhtml:p id="sch-message-25-de">Warnung: Variablen sollten nicht zusammen mit dem 'xpath2' Query Language Binding genutzt werden.</xhtml:p>
36
+ <xhtml:p id="sch-message-26-de">Fehler in der Annotation: Fehlendes Attribut 'uri' in &lt;ns></xhtml:p>
37
+ <xhtml:p id="sch-message-27-de">Fehler in der Annotation: Fehlendes Attribut 'prefix' in &lt;ns></xhtml:p>
38
+ <xhtml:p id="sch-message-28-de">Fehler bei der Schemaimplementierung: Dieses Schema enthält abstrakte Mustervergleiche, die bereits vorverarbeitet sein sollten.</xhtml:p>
39
+ <xhtml:p id="sch-message-29-de">Fehler in der Annotation: Fehlendes Attribut 'id' in &lt;phase></xhtml:p>
40
+ <xhtml:p id="sch-message-30-de">Fehler in der Annotation: Fehlendes Attribut 'context' in &lt;rule></xhtml:p>
41
+ <xhtml:p id="sch-message-31-de">Fehler in der Annotation: Fehlendes Attribut 'id' an abstrakter &lt;rule></xhtml:p>
42
+ <xhtml:p id="sch-message-32-de">Fehler in der Annotation: (2) Kontext-Attribut an abstrakter &lt;rule></xhtml:p>
43
+ <xhtml:p id="sch-message-33-de">Fehler in der Annotation: Attribut 'context' an abstrakter &lt;rule></xhtml:p>
44
+ <xhtml:p id="sch-message-34-de">Fehler in der Annotation: Fehlendes Attribut 'select' in &lt;value-of></xhtml:p>
45
+ <xhtml:p id="sch-message-35a-de">Warnung: </xhtml:p>
46
+ <xhtml:p id="sch-message-35b-de"> darf keine Kindelemente beinhalten</xhtml:p>
47
+ <xhtml:p id="sch-message-36a-de">Referenzierungsfehler: Ein &lt;diagnostic>-Element "</xhtml:p>
48
+ <xhtml:p id="sch-message-36b-de">" wurde referenziert, ist aber nicht deklariert</xhtml:p>
49
+ <xhtml:p id="sch-message-37a-de">Der Gebrauch des XSLT-Namensraums mit einem anderen Präfix als 'xsl' in Schematron-Regeln wird von diesem Prozessor nicht unterstützt:</xhtml:p>
50
+ <xhtml:p id="sch-message-37b-de"/>
51
+ <xhtml:p id="sch-message-38a-de">Fehler: Unbekanntes Element im ISO Schematron-Namensraum: Überprüfen Sie die Schreibweise (inkl. Groß- und Kleinschreibung)</xhtml:p>
52
+ <xhtml:p id="sch-message-38b-de"/>
53
+ <xhtml:p id="sch-message-39a-de">Warnung: Unbekanntes Element </xhtml:p>
54
+ <xhtml:p id="sch-message-39b-de"/>
55
+ </xhtml:div>
@@ -0,0 +1,57 @@
1
+
2
+ <xhtml:div class="ErrorMessages" xml:lang="en"
3
+ xmlns:xhtml="http://www.w3.org/1999/xhtml" >
4
+ <!-- Where the error message contains dynamic information, the message has been split into an "a" and a "b" section.
5
+ This has been done even when the English does not require it, in order to accomodate different language grammars
6
+ that might position the dynamic information differently.
7
+ -->
8
+ <xhtml:p id="sch-message-1-en">Schema error: Schematron elements in old and new namespaces found</xhtml:p>
9
+ <xhtml:p id="sch-message-2-en">Schema error: in the queryBinding attribute, use 'xslt'</xhtml:p>
10
+ <xhtml:p id="sch-message-3a-en">Fail: This implementation of ISO Schematron does not work with schemas using the query language </xhtml:p>
11
+ <xhtml:p id="sch-message-3b-en"/>
12
+ <xhtml:p id="sch-message-4a-en">Phase Error: no phase has been defined with name </xhtml:p>
13
+ <xhtml:p id="sch-message-4b-en" />
14
+ <xhtml:p id="sch-message-5-en">Markup Error: no pattern attribute in &lt;active></xhtml:p>
15
+ <xhtml:p id="sch-message-6a-en">Reference Error: the pattern "</xhtml:p>
16
+ <xhtml:p id="sch-message-6b-en">" has been activated but is not declared</xhtml:p>
17
+ <xhtml:p id="sch-message-7-en">Markup Error: no test attribute in &lt;assert></xhtml:p>
18
+ <xhtml:p id="sch-message-8-en">Markup Error: no test attribute in &lt;report></xhtml:p>
19
+ <xhtml:p id="sch-message-9-en">Markup Error: no id attribute in &lt;diagnostic></xhtml:p>
20
+ <xhtml:p id="sch-message-10-en">Markup Error: no rule attribute in &lt;extends></xhtml:p>
21
+ <xhtml:p id="sch-message-11a-en">Reference Error: the abstract rule "</xhtml:p>
22
+ <xhtml:p id="sch-message-11b-en">" has been referenced but is not declared</xhtml:p>
23
+ <xhtml:p id="sch-message-12-en">Markup Error: no name attribute in &lt;key></xhtml:p>
24
+ <xhtml:p id="sch-message-13-en">Markup Error: no path or use attribute in &lt;key></xhtml:p>
25
+ <xhtml:p id="sch-message-14-en">Markup Error: no path or use attribute in &lt;key></xhtml:p>
26
+ <xhtml:p id="sch-message-15-en">Schema error: The &lt;key> element is not in the ISO Schematron namespace. Use the XSLT namespace.</xhtml:p>
27
+ <xhtml:p id="sch-message-16-en">Markup Error: no name attribute in &lt;function></xhtml:p>
28
+ <xhtml:p id="sch-message-17-en">Schema error: The &lt;function> element is not in the ISO Schematron namespace. Use the XSLT namespace.</xhtml:p>
29
+ <xhtml:p id="sch-message-18-en">Schema error: Empty href attribute for &lt;include> directive.</xhtml:p>
30
+ <xhtml:p id="sch-message-19-en">Error: Impossible URL in Schematron &lt;include></xhtml:p>
31
+ <xhtml:p id="sch-message-20a-en">Error: Unable to open referenced included file: </xhtml:p>
32
+ <xhtml:p id="sch-message-20b-en" />
33
+ <xhtml:p id="sch-message-21-en">Schema error: Use &lt;include> to include fragments, not a whole schema</xhtml:p>
34
+ <xhtml:p id="sch-message-22-en">Schema error: XSD schemas may only be imported if you are using the 'xslt2' query language binding</xhtml:p>
35
+ <xhtml:p id="sch-message-23-en">Schema error: The &lt;import-schema> element is not available in the ISO Schematron namespace. Use the XSLT namespace.</xhtml:p>
36
+ <xhtml:p id="sch-message-24-en">Warning: Variables should not be used with the "xpath" query language binding.</xhtml:p>
37
+ <xhtml:p id="sch-message-25-en">Warning: Variables should not be used with the "xpath2" query language binding.</xhtml:p>
38
+ <xhtml:p id="sch-message-26-en">Markup Error: no uri attribute in &lt;ns></xhtml:p>
39
+ <xhtml:p id="sch-message-27-en">Markup Error: no prefix attribute in &lt;ns></xhtml:p>
40
+ <xhtml:p id="sch-message-28-en">Schema implementation error: This schema has abstract patterns, yet they are supposed to be preprocessed out already</xhtml:p>
41
+ <xhtml:p id="sch-message-29-en">Markup Error: no id attribute in &lt;phase></xhtml:p>
42
+ <xhtml:p id="sch-message-30-en">Markup Error: no context attribute in &lt;rule></xhtml:p>
43
+ <xhtml:p id="sch-message-31-en">Markup Error: no id attribute on abstract &lt;rule></xhtml:p>
44
+ <xhtml:p id="sch-message-32-en">Markup Error: (2) context attribute on abstract &lt;rule></xhtml:p>
45
+ <xhtml:p id="sch-message-33-en">Markup Error: context attribute on abstract &lt;rule></xhtml:p>
46
+ <xhtml:p id="sch-message-34-en">Markup Error: no select attribute in &lt;value-of></xhtml:p>
47
+ <xhtml:p id="sch-message-35a-en">Warning: </xhtml:p>
48
+ <xhtml:p id="sch-message-35b-en"> must not contain any child elements</xhtml:p>
49
+ <xhtml:p id="sch-message-36a-en">Reference error: A diagnostic "</xhtml:p>
50
+ <xhtml:p id="sch-message-36b-en">" has been referenced but is not declared</xhtml:p>
51
+ <xhtml:p id="sch-message-37a-en">Warning: Using the XSLT namespace with a prefix other than "xsl" in Schematron rules is not supported in this processor:</xhtml:p>
52
+ <xhtml:p id="sch-message-37b-en" />
53
+ <xhtml:p id="sch-message-38a-en">Error: unrecognized element in ISO Schematron namespace: check spelling and capitalization</xhtml:p>
54
+ <xhtml:p id="sch-message-38b-en" />
55
+ <xhtml:p id="sch-message-39a-en">Warning: unrecognized element </xhtml:p>
56
+ <xhtml:p id="sch-message-39b-en" />
57
+ </xhtml:div>
@@ -0,0 +1,54 @@
1
+ <xhtml:div class="ErrorMessages" xml:lang="fr" xmlns:xhtml="http://www.w3.org/1999/xhtml">
2
+ <!-- Where the error message contains dynamic information, the message has been split into an "a" and a "b" section.
3
+ This has been done even when the English does not require it, in order to accomodate different language grammars
4
+ that might position the dynamic information differently.
5
+ -->
6
+ <xhtml:p id="sch-message-1-fr">Erreur de schema: éléments Schematron à la fois dans l'ancien et le nouveau namespace</xhtml:p>
7
+ <xhtml:p id="sch-message-2-fr">Erreur de schema: utilisez 'xslt' dans l'attribut queryBinding</xhtml:p>
8
+ <xhtml:p id="sch-message-3a-fr">Échec: Cette implémentation de Schematron ISO ne fonctionne pas avec des schemas utilisant le langage de query </xhtml:p>
9
+ <xhtml:p id="sch-message-3b-fr"/>
10
+ <xhtml:p id="sch-message-4a-fr">Erreur de phase: aucune phase n'a été définie avec le nom </xhtml:p>
11
+ <xhtml:p id="sch-message-4b-fr"/>
12
+ <xhtml:p id="sch-message-5-fr">Erreur de balisage: pas d'attribut pattern dans &lt;active></xhtml:p>
13
+ <xhtml:p id="sch-message-6a-fr">Erreur de référence: le pattern "</xhtml:p>
14
+ <xhtml:p id="sch-message-6b-fr">" a été activé mais n'a pas été décalaré</xhtml:p>
15
+ <xhtml:p id="sch-message-7-fr">Erreur de balisage: pas d'attribut test dans &lt;assert></xhtml:p>
16
+ <xhtml:p id="sch-message-8-fr">Erreur de balisage: pas d'attribut test dans &lt;report></xhtml:p>
17
+ <xhtml:p id="sch-message-9-fr">Erreur de balisage: pas d'attribut id dans &lt;diagnostic></xhtml:p>
18
+ <xhtml:p id="sch-message-10-fr">Erreur de balisage: pas d'attribut rule dans &lt;extends></xhtml:p>
19
+ <xhtml:p id="sch-message-11a-fr">Erreur de référence: la règle abstraite "</xhtml:p>
20
+ <xhtml:p id="sch-message-11b-fr">" a été référencée mais pas déclarée</xhtml:p>
21
+ <xhtml:p id="sch-message-12-fr">Erreur de balisage: pas d'attribut name dans &lt;key></xhtml:p>
22
+ <xhtml:p id="sch-message-13-fr">Erreur de balisage: pas d'attribut path ou use dans &lt;key></xhtml:p>
23
+ <xhtml:p id="sch-message-15-fr">Erreur de schema: L'élément key n'est pas dans le namespace Schematron ISO. Utilisez le namespace XSLT.</xhtml:p>
24
+ <xhtml:p id="sch-message-16-fr">Erreur de balisage: pas d'attribut name dans &lt;function></xhtml:p>
25
+ <xhtml:p id="sch-message-17-fr">Erreur de schema: L'élément function n'est pas dans le namespace Schematron ISO. Utilisez le namespace XSLT.</xhtml:p>
26
+ <xhtml:p id="sch-message-18-fr">Erreur de schema: Attribut href vide sur a directive include.</xhtml:p>
27
+ <xhtml:p id="sch-message-19-fr">Erreur: URL impossible dans la directive include de Schematron</xhtml:p>
28
+ <xhtml:p id="sch-message-20a-fr">Impossible d'ouvrir le fichier référencé pour l'inclusion: </xhtml:p>
29
+ <xhtml:p id="sch-message-20b-fr"/>
30
+ <xhtml:p id="sch-message-21-fr">Erreur de schema: Utilisez include pour inclure des fragments et non un schema entier</xhtml:p>
31
+ <xhtml:p id="sch-message-22-fr">Erreur de schema: Les schema XSD peuvent être importés seulement si vous utilisez the langage de query 'xslt2'</xhtml:p>
32
+ <xhtml:p id="sch-message-23-fr">Erreur de schema: L'élément import-schema n'est pas disponible dans le namespace Schematron ISO. Utilisez le namespace XSLT.</xhtml:p>
33
+ <xhtml:p id="sch-message-24-fr">Avertissement: Des variables ne devraient pas être utiliées avec le langage de query "xpath".</xhtml:p>
34
+ <xhtml:p id="sch-message-24-fr">Avertissement: Des variables ne devraient pas être utiliées avec le langage de query "xpath2".</xhtml:p>
35
+ <xhtml:p id="sch-message-26-fr">Erreur de balisage: pas d'attribut uri dans &lt;ns></xhtml:p>
36
+ <xhtml:p id="sch-message-27-fr">Erreur de balisage: pas d'attribut prefix dans &lt;ns></xhtml:p>
37
+ <xhtml:p id="sch-message-28-fr">Erreur d'implémentation de schema: Ce schema des patterns abstraits, bien qu'ils sont supposés avoir été préprocessés précédemment</xhtml:p>
38
+ <xhtml:p id="sch-message-29-fr">Erreur de balisage: pas d'attribut id dans &lt;phase></xhtml:p>
39
+ <xhtml:p id="sch-message-30-fr">Erreur de balisage: pas d'attribut context dans &lt;rule></xhtml:p>
40
+ <xhtml:p id="sch-message-31-fr">Erreur de balisage: pas d'attribut id dans &lt;rule></xhtml:p>
41
+ <xhtml:p id="sch-message-32-fr">Erreur de balisage: (2) attribut context dans une &lt;rule> abstraite</xhtml:p>
42
+ <xhtml:p id="sch-message-33-fr">Erreur de balisage: attribut context dans une &lt;rule> abstraite</xhtml:p>
43
+ <xhtml:p id="sch-message-34-fr">Erreur de balisage: pas d'attribut select dans &lt;value-of></xhtml:p>
44
+ <xhtml:p id="sch-message-35a-fr">Avertissement: </xhtml:p>
45
+ <xhtml:p id="sch-message-35b-fr"> ne peut contenir aucun élément enfant</xhtml:p>
46
+ <xhtml:p id="sch-message-36a-fr">Erreur de référence: Un diagnostique "</xhtml:p>
47
+ <xhtml:p id="sch-message-36b-fr">" a été référencé mais n'est pas déclaré</xhtml:p>
48
+ <xhtml:p id="sch-message-37a-fr">Utiliser the namespace XSLT avec un autre préfixe que "xsl" dans les rules Schematron n'est pas supporté par ce processor:</xhtml:p>
49
+ <xhtml:p id="sch-message-37b-fr"/>
50
+ <xhtml:p id="sch-message-38a-fr">Erreur: élément inconnu dans le namespace Schematron ISO: vérifiez l'orthographe et la casse</xhtml:p>
51
+ <xhtml:p id="sch-message-38b-fr"/>
52
+ <xhtml:p id="sch-message-39a-fr">Avertissement: élément inconnu</xhtml:p>
53
+ <xhtml:p id="sch-message-39b-fr"/>
54
+ </xhtml:div>
@@ -0,0 +1,53 @@
1
+ <xhtml:div class="ErrorMessages" xml:lang="ja"
2
+ xmlns:xhtml="http://www.w3.org/1999/xhtml">
3
+ <!--エラーメセージは動的な情報が含まれている場合、メセージは "a" と "b" のセクションに分割されています。英語が異なる動的情報の可能がある時、別の言語の文法を収容するために、それを必要しない時にも行われている。-->
4
+ <xhtml:p id="sch-message-1-ja">スキーマエラー:古い名前空間と新しい名前空間にはSchematron 要素が見つかりました。</xhtml:p>
5
+ <xhtml:p id="sch-message-2-ja">スキーマエラー:検索結合属性では、 'xslt'を使用する。</xhtml:p>
6
+ <xhtml:p id="sch-message-3a-ja">失敗: ISO Schematron の 実行 は、スキーマが検索言語を使用してできない。</xhtml:p>
7
+ <xhtml:p id="sch-message-3b-ja"/>
8
+ <xhtml:p id="sch-message-4a-ja">フェーズ エラー: フェーズは名前で定義されていない。</xhtml:p>
9
+ <xhtml:p id="sch-message-4b-ja"/>
10
+ <xhtml:p id="sch-message-5-ja">マークアップエラー: &lt;active>にはパターンの属性がない</xhtml:p>
11
+ <xhtml:p id="sch-message-6a-ja">参照エラー: パターン が "</xhtml:p>
12
+ <xhtml:p id="sch-message-6b-ja">" 活性化されているが宣言されていない。</xhtml:p>
13
+ <xhtml:p id="sch-message-7-ja">マークアップエラー: &lt;assert> にはtestの属性がない</xhtml:p>
14
+ <xhtml:p id="sch-message-8-ja">マークアップエラー: &lt;report> にはtestの属性がない</xhtml:p>
15
+ <xhtml:p id="sch-message-9-ja">マークアップエラー: &lt;diagnostic> にはidの属性がない  </xhtml:p>
16
+ <xhtml:p id="sch-message-10-ja">マークアップエラー:  &lt;extends> にはruleの属性がない</xhtml:p>
17
+ <xhtml:p id="sch-message-11a-ja">参照エラー: 抽象的な規則が "</xhtml:p>
18
+ <xhtml:p id="sch-message-11b-ja">" 参照されているが宣言されていない。</xhtml:p>
19
+ <xhtml:p id="sch-message-12-ja">マークアップエラー: &lt;key>にはnameの属性がない</xhtml:p>
20
+ <xhtml:p id="sch-message-13-ja">マークアップエラー: &lt;key>にはpath か 又は useの 属性がない</xhtml:p>
21
+ <xhtml:p id="sch-message-14-ja">マークアップエラー:  &lt;key>には path か 又は useの 属性がない</xhtml:p>
22
+ <xhtml:p id="sch-message-15-ja">スキーマエラー: &lt;key> の要素はISO Schematronの 名前空間にはない. XSLTの名前空間を使用する。</xhtml:p>
23
+ <xhtml:p id="sch-message-16-ja">マークアップエラー: &lt;function>にはnameの属性がない</xhtml:p>
24
+ <xhtml:p id="sch-message-17-ja">スキーマエラー: &lt;function> の要素はISO Schematronの 名前空間にはない. XSLTの名前空間を使用する。</xhtml:p>
25
+ <xhtml:p id="sch-message-18-ja">スキーマエラー: &lt;include>のために空hrefの属性がある。</xhtml:p>
26
+ <xhtml:p id="sch-message-19-ja">エラー: Schematron &lt;include>には不可能なURL がある</xhtml:p>
27
+ <xhtml:p id="sch-message-20a-ja">エラー: 参照したファイルが含まれて、開けない : </xhtml:p>
28
+ <xhtml:p id="sch-message-20b-ja"/>
29
+ <xhtml:p id="sch-message-21-ja">スキーマエラー:全体のスキーマではなく、フラグメントを含む &lt;include> を使用する。</xhtml:p>
30
+ <xhtml:p id="sch-message-22-ja">スキーマエラー: 'xslt2'の検索言語結合を使用している場合はXSDスキーマのみ読み込みできる。</xhtml:p>
31
+ <xhtml:p id="sch-message-23-ja">スキーマエラー:ISO Schematron の名前空間には &lt;import-schema>の要素は無効です。 XSLTの 名前空間を使用する。</xhtml:p>
32
+ <xhtml:p id="sch-message-24-ja">注意: 変数は、"xpath" 検索言語結合を使用すべきではない。</xhtml:p>
33
+ <xhtml:p id="sch-message-25-ja">注意: 変数は、"xpath" 検索言語結合を使用すべきではない。</xhtml:p>
34
+ <xhtml:p id="sch-message-26-ja">マークアップエラー: &lt;ns>にはuriの属性がない</xhtml:p>
35
+ <xhtml:p id="sch-message-27-ja">マークアップエラー: &lt;ns>にはprefixの属性がない</xhtml:p>
36
+ <xhtml:p id="sch-message-28-ja">スキーマ実行 エラー: このスキーマは抽象的なパターンを持って、まだすでに前加工されることになっている。</xhtml:p>
37
+ <xhtml:p id="sch-message-29-ja">マークアップエラー: &lt;phase>にはidの属性がない</xhtml:p>
38
+ <xhtml:p id="sch-message-30-ja">マークアップエラー: &lt;rule>にはcontextの要素がない</xhtml:p>
39
+ <xhtml:p id="sch-message-31-ja">マークアップエラー: 抽象的な &lt;rule>にはid属性がない。</xhtml:p>
40
+ <xhtml:p id="sch-message-32-ja">マークアップエラー: (2) 抽象的な &lt;rule>にはcontext属性がない。</xhtml:p>
41
+ <xhtml:p id="sch-message-33-ja">マークアップエラー: 抽象的な &lt;rule>にはcontext属性がない。</xhtml:p>
42
+ <xhtml:p id="sch-message-34-ja">マークアップエラー: &lt;value-of>には selectの属性がない</xhtml:p>
43
+ <xhtml:p id="sch-message-35a-ja">注意: </xhtml:p>
44
+ <xhtml:p id="sch-message-35b-ja"> 子要素が含まれなくてはならない</xhtml:p>
45
+ <xhtml:p id="sch-message-36a-ja">参照エラー: 診断は "</xhtml:p>
46
+ <xhtml:p id="sch-message-36b-ja">" 参照されているが宣言されていない。</xhtml:p>
47
+ <xhtml:p id="sch-message-37a-ja">注意: Schematron規則で"xsl"以外の接頭辞 XSLT 名前空間を使用することは、このプロセサーで サーポトしていない。</xhtml:p>
48
+ <xhtml:p id="sch-message-37b-ja"/>
49
+ <xhtml:p id="sch-message-38a-ja">エラー: ISO Schematron 名前空間に不明な要素がある: 綴り字と大文字使用を確認する</xhtml:p>
50
+ <xhtml:p id="sch-message-38b-ja"/>
51
+ <xhtml:p id="sch-message-39a-ja">注意: 不明な要素</xhtml:p>
52
+ <xhtml:p id="sch-message-39b-ja"/>
53
+ </xhtml:div>
@@ -0,0 +1,58 @@
1
+ <xhtml:div class="ErrorMessages" xml:lang="nl" xmlns:xhtml="http://www.w3.org/1999/xhtml">
2
+ <!-- Where the error message contains dynamic information, the message has been split into an "a" and a "b" section.
3
+ This has been done even when the English does not require it, in order to accomodate different language grammars
4
+ that might position the dynamic information differently.
5
+ -->
6
+ <xhtml:p id="sch-message-1-nl">Schema fout: er werden Schematron elementen uit de oude en nieuwe
7
+ namespace gevonden</xhtml:p>
8
+ <xhtml:p id="sch-message-2-nl">Schema fout: gebruik 'xslt' in het queryBinding attribute</xhtml:p>
9
+ <xhtml:p id="sch-message-3a-nl">Faling: Deze implementatie van ISO Schematron werkt niet met
10
+ schemas die gebruik maken van de query language </xhtml:p>
11
+ <xhtml:p id="sch-message-3b-nl"/>
12
+ <xhtml:p id="sch-message-4a-nl">Fase fout: er is geen 'phase' gedefinieerd met naam </xhtml:p>
13
+ <xhtml:p id="sch-message-4b-nl"/>
14
+ <xhtml:p id="sch-message-5-nl">Markup fout: er is geen 'pattern' attribuut in &lt;active></xhtml:p>
15
+ <xhtml:p id="sch-message-6a-nl">Referentie fout: het 'pattern' "</xhtml:p>
16
+ <xhtml:p id="sch-message-6b-nl">" is geactiveerd maar niet gedeclareerd</xhtml:p>
17
+ <xhtml:p id="sch-message-7-nl">Markup fout: er is geen 'test' attribuut in &lt;assert</xhtml:p>
18
+ <xhtml:p id="sch-message-8-nl">Markup fout: er is geen 'test' attribuut in &lt;report></xhtml:p>
19
+ <xhtml:p id="sch-message-9-nl">Markup fout: er is geen 'id' attribuut in &lt;diagnostic></xhtml:p>
20
+ <xhtml:p id="sch-message-10-nl">Markup fout: er is geen 'rule' attribuut in &lt;extends></xhtml:p>
21
+ <xhtml:p id="sch-message-11a-nl">Referentie fout: de abstracte regel "</xhtml:p>
22
+ <xhtml:p id="sch-message-11b-nl">" werd gerefereerd maar niet gedeclareerd</xhtml:p>
23
+ <xhtml:p id="sch-message-12-nl">Markup fout: er is geen 'name' attribuut in &lt;key></xhtml:p>
24
+ <xhtml:p id="sch-message-13-nl">Markup fout: er is geen 'path' of 'use' attribuut in &lt;key></xhtml:p>
25
+ <xhtml:p id="sch-message-14-nl">Markup fout: er is geen 'path' of 'use' attribuut in &lt;key></xhtml:p>
26
+ <xhtml:p id="sch-message-15-nl">Schema fout: Het 'key' element zit niet in de ISO Schematron namespace. Gebruik de XSLT namespace.</xhtml:p>
27
+ <xhtml:p id="sch-message-16-nl">Markup fout: er is geen 'name' attribuut in &lt;function></xhtml:p>
28
+ <xhtml:p id="sch-message-17-nl">Schema fout: Het 'function' element zit niet in de ISO Schematron namespace. Gebruik de XSLT namespace.</xhtml:p>
29
+ <xhtml:p id="sch-message-18-nl">Schema fout: Leeg 'href=' attribuut bij de include opdracht.</xhtml:p>
30
+ <xhtml:p id="sch-message-19-nl">Fout: Onmogelijke URL gebruikt bij de Schematron include</xhtml:p>
31
+ <xhtml:p id="sch-message-20a-nl">Kan de gerefereerde 'include' file niet openen: </xhtml:p>
32
+ <xhtml:p id="sch-message-20b-nl"/>
33
+ <xhtml:p id="sch-message-21-nl">Schema fout: Gebruik include om fragmenten op te nemen, niet een volledig schema</xhtml:p>
34
+ <xhtml:p id="sch-message-22-nl">Schema fout: XSD schemas kunnen enkel geïmporteerd worden indien de 'xslt2' query language binding gebruikt is</xhtml:p>
35
+ <xhtml:p id="sch-message-23-nl">Schema fout: Het 'import-schema' element is niet beschikbaar in the ISO Schematron namespace. Gebruik de XSLT namespace.</xhtml:p>
36
+ <xhtml:p id="sch-message-24-nl">Waarschuwing: Variabelen niet gebruiken met de "xpath" query language binding.</xhtml:p>
37
+ <xhtml:p id="sch-message-25-nl">Waarschuwing: Variabelen niet gebruiken met de "xpath2" query language binding.</xhtml:p>
38
+ <xhtml:p id="sch-message-26-nl">Markup fout: er is geen 'uri' attribute in &lt;ns></xhtml:p>
39
+ <xhtml:p id="sch-message-27-nl">Markup fout: er is geen 'prefix' attribute in &lt;ns></xhtml:p>
40
+ <xhtml:p id="sch-message-28-nl">Schema implementatie fout: Dit schema heeft abstracte patronen, die al gepreprocessed zouden moeten zijn</xhtml:p>
41
+ <xhtml:p id="sch-message-29-nl">Markup fout: er is geen 'id' attribuut in &lt;phase></xhtml:p>
42
+ <xhtml:p id="sch-message-30-nl">Markup fout: er is geen 'context' attribuut in &lt;rule></xhtml:p>
43
+ <xhtml:p id="sch-message-31-nl">Markup fout: er is geen 'id' attribuut op abstracte &lt;rule></xhtml:p>
44
+ <xhtml:p id="sch-message-32-nl">Markup fout: (2) context attributen op abstracte &lt;rule></xhtml:p>
45
+ <xhtml:p id="sch-message-33-nl">Markup fout: context attribuut op abstracte &lt;rule></xhtml:p>
46
+ <xhtml:p id="sch-message-34-nl">Markup fout: er is geen 'select' attribute in &lt;value-of></xhtml:p>
47
+ <xhtml:p id="sch-message-35a-nl">Waarschuwing: </xhtml:p>
48
+ <xhtml:p id="sch-message-35b-nl"> mag geen kind elementen bevatten</xhtml:p>
49
+ <xhtml:p id="sch-message-36a-nl">Referentie fout: Een diagnostic "</xhtml:p>
50
+ <xhtml:p id="sch-message-36b-nl">" werd gerefereerd maar is niet gedeclareerd.</xhtml:p>
51
+ <xhtml:p id="sch-message-37a-nl">Het gebruik van de XSLT namespace met een prefix verschillend
52
+ van "xsl" in Schematron regels wordt niet ondersteund in deze processor:</xhtml:p>
53
+ <xhtml:p id="sch-message-37b-nl"/>
54
+ <xhtml:p id="sch-message-38a-nl">Fout: een niet herkend element in de ISO Schematron namespace: check spelling en hoofdlettergebruik</xhtml:p>
55
+ <xhtml:p id="sch-message-38b-nl"/>
56
+ <xhtml:p id="sch-message-39a-nl">Waarschuwing: een niet herkend element </xhtml:p>
57
+ <xhtml:p id="sch-message-39b-nl"/>
58
+ </xhtml:div>