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
data/spec-test.xml ADDED
@@ -0,0 +1,1125 @@
1
+ <?xml-stylesheet type="text/xsl" href="file:/Users/matt/Documents/work/current/xcential/simple-xspec-wrapper/vendor/xspec-1.0.0/src/compiler/format-xspec-report.xsl"?><x:report xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
2
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
3
+ xmlns:test="http://www.jenitennison.com/xslt/unit-test"
4
+ xmlns:x="http://www.jenitennison.com/xslt/xspec"
5
+ xmlns:uslm="http://schemas.gpo.gov/xml/uslm/2.0"
6
+ xmlns:xhtml="http://www.w3.org/1999/xhtml"
7
+ xmlns:gpo="http://www.gpo.gov/"
8
+ stylesheet="file:/Users/matt/Documents/work/current/xcential/GPO-USLM-FR-CFR/transforms/body-content.xsl"
9
+ date="2018-05-28T13:30:01.27+02:00">
10
+ <x:scenario>
11
+ <x:label>gpo:paras</x:label>
12
+ <x:scenario>
13
+ <x:label>nesting plus chapeau</x:label>
14
+ <x:context mode="body-content">
15
+ <gpo:para element="P">
16
+ <gpo:numbering display="a">
17
+ <gpo:candidate level="1" number="1"/>
18
+ </gpo:numbering>
19
+ <gpo:chapeau>
20
+ <gpo:content>Content</gpo:content>
21
+ </gpo:chapeau>
22
+ <gpo:para element="P">
23
+ <gpo:numbering display="1">
24
+ <gpo:candidate level="2" number="1"/>
25
+ </gpo:numbering>
26
+ <gpo:content-block>
27
+ <gpo:content>Nested content</gpo:content>
28
+ </gpo:content-block>
29
+ </gpo:para>
30
+ </gpo:para>
31
+ </x:context>
32
+ <x:result>
33
+ <paragraph xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
34
+ identifier="/us/cfr/t1/s32.1/a"
35
+ style="-uslm-sgm: P;">
36
+ <num>(a)</num>
37
+ <chapeau>Content</chapeau>
38
+ <paragraph identifier="/us/cfr/t1/s32.1/a/1" style="-uslm-sgm: P;">
39
+ <num>(1)</num>
40
+ <content>Nested content</content>
41
+ </paragraph>
42
+ </paragraph>
43
+ </x:result>
44
+ <x:test successful="true">
45
+ <x:label>nested with a chapeau</x:label>
46
+ <x:expect>
47
+ <paragraph xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
48
+ style="-uslm-sgm: P;"
49
+ identifier="/us/cfr/t1/s32.1/a">
50
+ <num>(a)</num>
51
+ <chapeau>Content</chapeau>
52
+ <paragraph style="-uslm-sgm: P;" identifier="/us/cfr/t1/s32.1/a/1">
53
+ <num>(1)</num>
54
+ <content>Nested content</content>
55
+ </paragraph>
56
+ </paragraph>
57
+ </x:expect>
58
+ </x:test>
59
+ </x:scenario>
60
+ <x:scenario>
61
+ <x:label>nesting plus multi-element chapeau</x:label>
62
+ <x:context mode="body-content">
63
+ <gpo:para element="P">
64
+ <gpo:numbering display="a">
65
+ <gpo:candidate level="1" number="1"/>
66
+ </gpo:numbering>
67
+ <gpo:chapeau>
68
+ <gpo:content>Chapeau</gpo:content>
69
+ <P>Also Chapeau</P>
70
+ </gpo:chapeau>
71
+ <gpo:para element="P">
72
+ <gpo:numbering display="1">
73
+ <gpo:candidate level="2" number="1"/>
74
+ </gpo:numbering>
75
+ <gpo:content-block>
76
+ <gpo:content>Nested content</gpo:content>
77
+ </gpo:content-block>
78
+ </gpo:para>
79
+ </gpo:para>
80
+ </x:context>
81
+ <x:result>
82
+ <paragraph xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
83
+ identifier="/us/cfr/t1/s32.1/a"
84
+ style="-uslm-sgm: P;">
85
+ <num>(a)</num>
86
+ <chapeau>
87
+ <p>Chapeau</p>
88
+ <p style="-uslm-sgm: P;">Also Chapeau</p>
89
+ </chapeau>
90
+ <paragraph identifier="/us/cfr/t1/s32.1/a/1" style="-uslm-sgm: P;">
91
+ <num>(1)</num>
92
+ <content>Nested content</content>
93
+ </paragraph>
94
+ </paragraph>
95
+ </x:result>
96
+ <x:test successful="true">
97
+ <x:label>nested with a chapeau</x:label>
98
+ <x:expect>
99
+ <paragraph xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
100
+ style="-uslm-sgm: P;"
101
+ identifier="/us/cfr/t1/s32.1/a">
102
+ <num>(a)</num>
103
+ <chapeau>
104
+ <p>Chapeau</p>
105
+ <p style="-uslm-sgm: P;">Also Chapeau</p>
106
+ </chapeau>
107
+ <paragraph style="-uslm-sgm: P;" identifier="/us/cfr/t1/s32.1/a/1">
108
+ <num>(1)</num>
109
+ <content>Nested content</content>
110
+ </paragraph>
111
+ </paragraph>
112
+ </x:expect>
113
+ </x:test>
114
+ </x:scenario>
115
+ <x:scenario>
116
+ <x:label>nesting plus non-gpo:content chapeau</x:label>
117
+ <x:context mode="body-content">
118
+ <gpo:para element="P">
119
+ <gpo:numbering display="a">
120
+ <gpo:candidate level="1" number="1"/>
121
+ </gpo:numbering>
122
+ <gpo:chapeau>
123
+ <P>Also Chapeau</P>
124
+ </gpo:chapeau>
125
+ <gpo:para element="P">
126
+ <gpo:numbering display="1">
127
+ <gpo:candidate level="2" number="1"/>
128
+ </gpo:numbering>
129
+ <gpo:content-block>
130
+ <gpo:content>Nested content</gpo:content>
131
+ </gpo:content-block>
132
+ </gpo:para>
133
+ </gpo:para>
134
+ </x:context>
135
+ <x:result>
136
+ <paragraph xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
137
+ identifier="/us/cfr/t1/s32.1/a"
138
+ style="-uslm-sgm: P;">
139
+ <num>(a)</num>
140
+ <chapeau style="-uslm-sgm: P;">Also Chapeau</chapeau>
141
+ <paragraph identifier="/us/cfr/t1/s32.1/a/1" style="-uslm-sgm: P;">
142
+ <num>(1)</num>
143
+ <content>Nested content</content>
144
+ </paragraph>
145
+ </paragraph>
146
+ </x:result>
147
+ <x:test successful="true">
148
+ <x:label>nested with a chapeau</x:label>
149
+ <x:expect>
150
+ <paragraph xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
151
+ style="-uslm-sgm: P;"
152
+ identifier="/us/cfr/t1/s32.1/a">
153
+ <num>(a)</num>
154
+ <chapeau style="-uslm-sgm: P;">Also Chapeau</chapeau>
155
+ <paragraph style="-uslm-sgm: P;" identifier="/us/cfr/t1/s32.1/a/1">
156
+ <num>(1)</num>
157
+ <content>Nested content</content>
158
+ </paragraph>
159
+ </paragraph>
160
+ </x:expect>
161
+ </x:test>
162
+ </x:scenario>
163
+ <x:scenario>
164
+ <x:label>nesting plus non-gpo:content or P chapeau</x:label>
165
+ <x:context mode="body-content">
166
+ <gpo:para element="P">
167
+ <gpo:numbering display="a">
168
+ <gpo:candidate level="1" number="1"/>
169
+ </gpo:numbering>
170
+ <gpo:chapeau>
171
+ <EXTRACT/>
172
+ </gpo:chapeau>
173
+ <gpo:para element="P">
174
+ <gpo:numbering display="1">
175
+ <gpo:candidate level="2" number="1"/>
176
+ </gpo:numbering>
177
+ <gpo:content-block>
178
+ <gpo:content>Nested content</gpo:content>
179
+ </gpo:content-block>
180
+ </gpo:para>
181
+ </gpo:para>
182
+ </x:context>
183
+ <x:result>
184
+ <paragraph xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
185
+ identifier="/us/cfr/t1/s32.1/a"
186
+ style="-uslm-sgm: P;">
187
+ <num>(a)</num>
188
+ <chapeau>
189
+ <note style="-uslm-sgm: EXTRACT;">
190
+ <content/>
191
+ </note>
192
+ </chapeau>
193
+ <paragraph identifier="/us/cfr/t1/s32.1/a/1" style="-uslm-sgm: P;">
194
+ <num>(1)</num>
195
+ <content>Nested content</content>
196
+ </paragraph>
197
+ </paragraph>
198
+ </x:result>
199
+ <x:test successful="true">
200
+ <x:label>nested with a chapeau with children</x:label>
201
+ <x:expect>
202
+ <paragraph xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
203
+ style="-uslm-sgm: P;"
204
+ identifier="/us/cfr/t1/s32.1/a">
205
+ <num>(a)</num>
206
+ <chapeau>
207
+ <note style="-uslm-sgm: EXTRACT;">...</note>
208
+ </chapeau>
209
+ <paragraph style="-uslm-sgm: P;" identifier="/us/cfr/t1/s32.1/a/1">
210
+ <num>(1)</num>
211
+ <content>Nested content</content>
212
+ </paragraph>
213
+ </paragraph>
214
+ </x:expect>
215
+ </x:test>
216
+ </x:scenario>
217
+ <x:scenario>
218
+ <x:label>marked as definitions</x:label>
219
+ <x:context mode="body-content">
220
+ <gpo:para element="P" role="definitions">
221
+ <gpo:numbering display="a">
222
+ <gpo:candidate level="1" number="1"/>
223
+ </gpo:numbering>
224
+ <gpo:heading definitions="true">Definitions.</gpo:heading>
225
+ <gpo:content-block>
226
+ <gpo:content>For purposes, definitions:</gpo:content>
227
+ <P>(i) Issues debt</P>
228
+ </gpo:content-block>
229
+ </gpo:para>
230
+ </x:context>
231
+ <x:result>
232
+ <paragraph xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
233
+ role="definitions"
234
+ identifier="/us/cfr/t1/s32.1/a"
235
+ style="-uslm-sgm: P;">
236
+ <num>(a)</num>
237
+ <heading>Definitions.</heading>
238
+ <content>
239
+ <p>For purposes, definitions:</p>
240
+ <p style="-uslm-sgm: P;">(i) Issues debt</p>
241
+ </content>
242
+ </paragraph>
243
+ </x:result>
244
+ <x:test successful="true">
245
+ <x:label>para is correctly marked with p's in a content</x:label>
246
+ <x:expect>
247
+ <paragraph xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
248
+ role="definitions"
249
+ style="-uslm-sgm: P;"
250
+ identifier="/us/cfr/t1/s32.1/a">
251
+ <num>(a)</num>
252
+ <heading>Definitions.</heading>
253
+ <content>
254
+ <p>For purposes, definitions:</p>
255
+ <p style="-uslm-sgm: P;">(i) Issues debt</p>
256
+ </content>
257
+ </paragraph>
258
+ </x:expect>
259
+ </x:test>
260
+ </x:scenario>
261
+ </x:scenario>
262
+ <x:scenario>
263
+ <x:label>[Reserved] things</x:label>
264
+ <x:scenario>
265
+ <x:label>Marking ordinary paras reserved</x:label>
266
+ <x:context mode="body-content">
267
+ <P>(b) [Reserved]</P>
268
+ </x:context>
269
+ <x:result>
270
+ <p xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
271
+ style="-uslm-sgm: P;"
272
+ role="reserved">(b) [Reserved]</p>
273
+ </x:result>
274
+ <x:test successful="true">
275
+ <x:label>a reserved para</x:label>
276
+ <x:expect>
277
+ <p xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
278
+ style="-uslm-sgm: P;"
279
+ role="reserved">(b) [Reserved]</p>
280
+ </x:expect>
281
+ </x:test>
282
+ </x:scenario>
283
+ <x:scenario>
284
+ <x:label>unreserved ordinary paras are not marked</x:label>
285
+ <x:context mode="body-content">
286
+ <P>Blah</P>
287
+ </x:context>
288
+ <x:result>
289
+ <p xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: P;">Blah</p>
290
+ </x:result>
291
+ <x:test successful="true">
292
+ <x:label>an unreserved para</x:label>
293
+ <x:expect>
294
+ <p xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: P;">Blah</p>
295
+ </x:expect>
296
+ </x:test>
297
+ </x:scenario>
298
+ <x:scenario>
299
+ <x:label>marking gpo:para reserved</x:label>
300
+ <x:scenario>
301
+ <x:label>when reserved</x:label>
302
+ <x:context mode="body-content">
303
+ <gpo:para element="P">
304
+ <gpo:numbering display="b"/>
305
+ <gpo:content-block>
306
+ <gpo:content> [Reserved]</gpo:content>
307
+ </gpo:content-block>
308
+ </gpo:para>
309
+ </x:context>
310
+ <x:result>
311
+ <paragraph xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
312
+ role="reserved"
313
+ identifier="/us/cfr/t1/s32.1/b"
314
+ style="-uslm-sgm: P;">
315
+ <num>(b)</num>
316
+ <content> [Reserved]</content>
317
+ </paragraph>
318
+ </x:result>
319
+ <x:test successful="true">
320
+ <x:label>a reserved para</x:label>
321
+ <x:expect>
322
+ <paragraph xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
323
+ style="-uslm-sgm: P;"
324
+ role="reserved"
325
+ identifier="/us/cfr/t1/s32.1/b">
326
+ <num>(b)</num>
327
+ <content> [Reserved]</content>
328
+ </paragraph>
329
+ </x:expect>
330
+ </x:test>
331
+ </x:scenario>
332
+ <x:scenario>
333
+ <x:label>unreserved paras are not marked</x:label>
334
+ <x:context mode="body-content">
335
+ <gpo:para element="P">
336
+ <gpo:numbering display="b"/>
337
+ <gpo:content-block>
338
+ <gpo:content> Blah</gpo:content>
339
+ </gpo:content-block>
340
+ </gpo:para>
341
+ </x:context>
342
+ <x:result>
343
+ <paragraph xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
344
+ identifier="/us/cfr/t1/s32.1/b"
345
+ style="-uslm-sgm: P;">
346
+ <num>(b)</num>
347
+ <content> Blah</content>
348
+ </paragraph>
349
+ </x:result>
350
+ <x:test successful="true">
351
+ <x:label>an unreserved para</x:label>
352
+ <x:expect>
353
+ <paragraph xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
354
+ style="-uslm-sgm: P;"
355
+ identifier="/us/cfr/t1/s32.1/b">
356
+ <num>(b)</num>
357
+ <content> Blah</content>
358
+ </paragraph>
359
+ </x:expect>
360
+ </x:test>
361
+ </x:scenario>
362
+ </x:scenario>
363
+ </x:scenario>
364
+ <x:scenario>
365
+ <x:label>Notes</x:label>
366
+ <x:scenario>
367
+ <x:label>a NOTE</x:label>
368
+ <x:context mode="body-content">
369
+ <NOTE>
370
+ <HED>A note</HED>
371
+ <P>Para 1</P>
372
+ <P>Para 2</P>
373
+ </NOTE>
374
+ </x:context>
375
+ <x:result>
376
+ <note xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: NOTE;">
377
+ <heading style="-uslm-sgm: HED;">A note</heading>
378
+ <p style="-uslm-sgm: P;">Para 1</p>
379
+ <p style="-uslm-sgm: P;">Para 2</p>
380
+ </note>
381
+ </x:result>
382
+ <x:test successful="true">
383
+ <x:label>creating</x:label>
384
+ <x:expect>
385
+ <note xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: NOTE;">
386
+ <heading style="-uslm-sgm: HED;">A note</heading>
387
+ <p style="-uslm-sgm: P;">Para 1</p>
388
+ <p style="-uslm-sgm: P;">Para 2</p>
389
+ </note>
390
+ </x:expect>
391
+ </x:test>
392
+ </x:scenario>
393
+ <x:scenario>
394
+ <x:label>an EDNOTE</x:label>
395
+ <x:context mode="body-content">
396
+ <EDNOTE>
397
+ <HED>An editorial note</HED>
398
+ <P>Para 1</P>
399
+ <P>Para 2</P>
400
+ </EDNOTE>
401
+ </x:context>
402
+ <x:result>
403
+ <editorialNote xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: EDNOTE;">
404
+ <heading style="-uslm-sgm: HED;">An editorial note</heading>
405
+ <p style="-uslm-sgm: P;">Para 1</p>
406
+ <p style="-uslm-sgm: P;">Para 2</p>
407
+ </editorialNote>
408
+ </x:result>
409
+ <x:test successful="true">
410
+ <x:label>creating</x:label>
411
+ <x:expect>
412
+ <editorialNote xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: EDNOTE;">
413
+ <heading style="-uslm-sgm: HED;">An editorial note</heading>
414
+ <p style="-uslm-sgm: P;">Para 1</p>
415
+ <p style="-uslm-sgm: P;">Para 2</p>
416
+ </editorialNote>
417
+ </x:expect>
418
+ </x:test>
419
+ </x:scenario>
420
+ </x:scenario>
421
+ <x:scenario>
422
+ <x:label>EFFDNOT/EFFDNOTP</x:label>
423
+ <x:scenario>
424
+ <x:label>EFFDNOTP with REVTXT</x:label>
425
+ <x:context mode="body-content">
426
+ <EFFDNOTP>
427
+ <HED>Effective Date Note:</HED>
428
+ <P>At 81 FR 35980, June 3, 2016, § 49.151 was amended by revising paragraph (b)(1), effective Aug. 2, 2016. For the convenience of the user, the revised text is set forth as follows:</P>
429
+ <REVTXT/>
430
+ </EFFDNOTP>
431
+ </x:context>
432
+ <x:result>
433
+ <effectiveDateNote xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: EFFDNOTP;">
434
+ <heading style="-uslm-sgm: HED;">Effective Date Note:</heading>
435
+ <p style="-uslm-sgm: P;">At 81 FR 35980, June 3, 2016, § 49.151 was amended by revising paragraph (b)(1), effective Aug. 2, 2016. For the convenience of the user, the revised text is set forth as follows:</p>
436
+ <quotedContent style="-uslm-sgm: REVTXT;"/>
437
+ </effectiveDateNote>
438
+ </x:result>
439
+ <x:test successful="true">
440
+ <x:label>correctly created</x:label>
441
+ <x:expect>
442
+ <effectiveDateNote xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: EFFDNOTP;">
443
+ <heading style="-uslm-sgm: HED;">Effective Date Note:</heading>
444
+ <p style="-uslm-sgm: P;">At 81 FR 35980, June 3, 2016, § 49.151 was amended by revising paragraph (b)(1), effective Aug. 2, 2016. For the convenience of the user, the revised text is set forth as follows:</p>
445
+ <quotedContent style="-uslm-sgm: REVTXT;"/>
446
+ </effectiveDateNote>
447
+ </x:expect>
448
+ </x:test>
449
+ </x:scenario>
450
+ <x:scenario>
451
+ <x:label>EFFDNOT without REVTXT</x:label>
452
+ <x:context mode="body-content">
453
+ <EFFDNOT>
454
+ <HED>Effective Date Note:</HED>
455
+ <P>At 73 FR 67109, Nov. 13, 2008, paragraph (d)(3) of § 49.23 was stayed until further notice. § 49.23 was redesignated as § 49.5512 at 76 FR 23879, Apr. 29, 2011.</P>
456
+ </EFFDNOT>
457
+ </x:context>
458
+ <x:result>
459
+ <effectiveDateNote xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: EFFDNOT;">
460
+ <heading style="-uslm-sgm: HED;">Effective Date Note:</heading>
461
+ <p style="-uslm-sgm: P;">At 73 FR 67109, Nov. 13, 2008, paragraph (d)(3) of § 49.23 was stayed until further notice. § 49.23 was redesignated as § 49.5512 at 76 FR 23879, Apr. 29, 2011.</p>
462
+ </effectiveDateNote>
463
+ </x:result>
464
+ <x:test successful="true">
465
+ <x:label>correctly created</x:label>
466
+ <x:expect>
467
+ <effectiveDateNote xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: EFFDNOT;">
468
+ <heading style="-uslm-sgm: HED;">Effective Date Note:</heading>
469
+ <p style="-uslm-sgm: P;">At 73 FR 67109, Nov. 13, 2008, paragraph (d)(3) of § 49.23 was stayed until further notice. § 49.23 was redesignated as § 49.5512 at 76 FR 23879, Apr. 29, 2011.</p>
470
+ </effectiveDateNote>
471
+ </x:expect>
472
+ </x:test>
473
+ </x:scenario>
474
+ </x:scenario>
475
+ <x:scenario>
476
+ <x:label>FTNT footnotes</x:label>
477
+ <x:scenario>
478
+ <x:label>with a single P child</x:label>
479
+ <x:context mode="body-content">
480
+ <gpo:content-block>
481
+ <P>Hello there<SU>1</SU>
482
+ <FTREF/>
483
+ </P>
484
+ <FTNT>
485
+ <P>
486
+ <SU>1</SU>The agencies have adopted a uniform rule on real estate lending.</P>
487
+ </FTNT>
488
+ </gpo:content-block>
489
+ </x:context>
490
+ <x:result>
491
+ <content xmlns="http://schemas.gpo.gov/xml/uslm/2.0">
492
+ <p style="-uslm-sgm: P;">Hello there<ref id="fnd433e4" idref="fnd433e7" style="-uslm-sgm: SU;">1</ref>
493
+ </p>
494
+ <footnote id="fnd433e7" style="-uslm-sgm: FTNT;">
495
+ <content>
496
+ <p style="-uslm-sgm: P;">
497
+ <ref idref="fnd433e4" style="-uslm-sgm: SU;">1</ref>The agencies have adopted a uniform rule on real estate lending.</p>
498
+ </content>
499
+ </footnote>
500
+ </content>
501
+ </x:result>
502
+ <x:test successful="true">
503
+ <x:label>a USLM footnote</x:label>
504
+ <x:expect>
505
+ <content xmlns="http://schemas.gpo.gov/xml/uslm/2.0">
506
+ <p style="-uslm-sgm: P;">Hello there<ref id="..." idref="..." style="-uslm-sgm: SU;">1</ref>
507
+ </p>
508
+ <footnote style="-uslm-sgm: FTNT;" id="...">
509
+ <content>
510
+ <p style="-uslm-sgm: P;">
511
+ <ref style="-uslm-sgm: SU;" idref="...">1</ref>The agencies have adopted a uniform rule on real estate lending.</p>
512
+ </content>
513
+ </footnote>
514
+ </content>
515
+ </x:expect>
516
+ </x:test>
517
+ <x:test successful="true">
518
+ <x:label>idref of note ref is correct</x:label>
519
+ <x:expect select="()"/>
520
+ </x:test>
521
+ <x:test successful="true">
522
+ <x:label>idref of footnote backref is correct</x:label>
523
+ <x:expect select="()"/>
524
+ </x:test>
525
+ </x:scenario>
526
+ <x:scenario>
527
+ <x:label>with multiple P children</x:label>
528
+ <x:context mode="body-content">
529
+ <gpo:content-block>
530
+ <P>Hello there<SU>1</SU>
531
+ <FTREF/>
532
+ </P>
533
+ <FTNT>
534
+ <P>
535
+ <SU>1</SU>Additional information may be added:</P>
536
+ <P>Dear Mr./Ms. ___:</P>
537
+ <P>Info</P>
538
+ </FTNT>
539
+ </gpo:content-block>
540
+ </x:context>
541
+ <x:result>
542
+ <content xmlns="http://schemas.gpo.gov/xml/uslm/2.0">
543
+ <p style="-uslm-sgm: P;">Hello there<ref id="fnd438e4" idref="fnd438e7" style="-uslm-sgm: SU;">1</ref>
544
+ </p>
545
+ <footnote id="fnd438e7" style="-uslm-sgm: FTNT;">
546
+ <content>
547
+ <p style="-uslm-sgm: P;">
548
+ <ref idref="fnd438e4" style="-uslm-sgm: SU;">1</ref>Additional information may be added:</p>
549
+ <p style="-uslm-sgm: P;">Dear Mr./Ms. ___:</p>
550
+ <p style="-uslm-sgm: P;">Info</p>
551
+ </content>
552
+ </footnote>
553
+ </content>
554
+ </x:result>
555
+ <x:test successful="true">
556
+ <x:label>a USLM footnote</x:label>
557
+ <x:expect>
558
+ <content xmlns="http://schemas.gpo.gov/xml/uslm/2.0">
559
+ <p style="-uslm-sgm: P;">Hello there<ref id="..." idref="..." style="-uslm-sgm: SU;">1</ref>
560
+ </p>
561
+ <footnote style="-uslm-sgm: FTNT;" id="...">
562
+ <content>
563
+ <p style="-uslm-sgm: P;">
564
+ <ref style="-uslm-sgm: SU;" idref="...">1</ref>Additional information may be added:</p>
565
+ <p style="-uslm-sgm: P;">Dear Mr./Ms. ___:</p>
566
+ <p style="-uslm-sgm: P;">Info</p>
567
+ </content>
568
+ </footnote>
569
+ </content>
570
+ </x:expect>
571
+ </x:test>
572
+ <x:test successful="true">
573
+ <x:label>idref of note ref is correct</x:label>
574
+ <x:expect select="()"/>
575
+ </x:test>
576
+ <x:test successful="true">
577
+ <x:label>footnote backref is correct</x:label>
578
+ <x:expect select="()"/>
579
+ </x:test>
580
+ </x:scenario>
581
+ <x:scenario>
582
+ <x:label>multiple footnotes referenced from one para</x:label>
583
+ <x:context mode="body-content">
584
+ <gpo:content-block>
585
+ <P>Hello there<SU>1</SU>
586
+ <FTREF/> and also here<SU>2</SU>
587
+ <FTREF/>
588
+ </P>
589
+ <FTNT>
590
+ <P>
591
+ <SU>1</SU>The agencies.</P>
592
+ </FTNT>
593
+ <FTNT>
594
+ <P>
595
+ <SU>2</SU>The uniform rule.</P>
596
+ </FTNT>
597
+ </gpo:content-block>
598
+ </x:context>
599
+ <x:result>
600
+ <content xmlns="http://schemas.gpo.gov/xml/uslm/2.0">
601
+ <p style="-uslm-sgm: P;">Hello there<ref id="fnd443e4" idref="fnd443e11" style="-uslm-sgm: SU;">1</ref> and also here<ref id="fnd443e8" idref="fnd443e16" style="-uslm-sgm: SU;">2</ref>
602
+ </p>
603
+ <footnote id="fnd443e11" style="-uslm-sgm: FTNT;">
604
+ <content>
605
+ <p style="-uslm-sgm: P;">
606
+ <ref idref="fnd443e4" style="-uslm-sgm: SU;">1</ref>The agencies.</p>
607
+ </content>
608
+ </footnote>
609
+ <footnote id="fnd443e16" style="-uslm-sgm: FTNT;">
610
+ <content>
611
+ <p style="-uslm-sgm: P;">
612
+ <ref idref="fnd443e8" style="-uslm-sgm: SU;">2</ref>The uniform rule.</p>
613
+ </content>
614
+ </footnote>
615
+ </content>
616
+ </x:result>
617
+ <x:test successful="true">
618
+ <x:label>two USLM footnotes</x:label>
619
+ <x:expect>
620
+ <content xmlns="http://schemas.gpo.gov/xml/uslm/2.0">
621
+ <p style="-uslm-sgm: P;">Hello there<ref id="..." idref="..." style="-uslm-sgm: SU;">1</ref> and also here<ref id="..." idref="..." style="-uslm-sgm: SU;">2</ref>
622
+ </p>
623
+ <footnote style="-uslm-sgm: FTNT;" id="...">
624
+ <content>
625
+ <p style="-uslm-sgm: P;">
626
+ <ref style="-uslm-sgm: SU;" idref="...">1</ref>The agencies.</p>
627
+ </content>
628
+ </footnote>
629
+ <footnote style="-uslm-sgm: FTNT;" id="...">
630
+ <content>
631
+ <p style="-uslm-sgm: P;">
632
+ <ref style="-uslm-sgm: SU;" idref="...">2</ref>The uniform rule.</p>
633
+ </content>
634
+ </footnote>
635
+ </content>
636
+ </x:expect>
637
+ </x:test>
638
+ <x:test successful="true">
639
+ <x:label>footnote 1 ref is correct</x:label>
640
+ <x:expect select="()"/>
641
+ </x:test>
642
+ <x:test successful="true">
643
+ <x:label>footnote 2 ref is correct</x:label>
644
+ <x:expect select="()"/>
645
+ </x:test>
646
+ <x:test successful="true">
647
+ <x:label>footnote 1 backref is correct</x:label>
648
+ <x:expect select="()"/>
649
+ </x:test>
650
+ <x:test successful="true">
651
+ <x:label>footnote 2 backref is correct</x:label>
652
+ <x:expect select="()"/>
653
+ </x:test>
654
+ </x:scenario>
655
+ <x:scenario>
656
+ <x:label>misnumbered footnotes</x:label>
657
+ <x:context mode="body-content">
658
+ <gpo:content-block>
659
+ <P>Hello there<SU>1</SU>
660
+ <FTREF/> and also here<SU>2</SU>
661
+ <FTREF/>
662
+ </P>
663
+ <FTNT>
664
+ <P>
665
+ <SU>1</SU>The agencies.</P>
666
+ </FTNT>
667
+ <FTNT>
668
+ <P>
669
+ <SU>2</SU>The uniform rule.</P>
670
+ </FTNT>
671
+ <P>Hello there<SU>1</SU>
672
+ <FTREF/>
673
+ </P>
674
+ <FTNT>
675
+ <P>
676
+ <SU>1</SU>The agencies.</P>
677
+ </FTNT>
678
+ </gpo:content-block>
679
+ </x:context>
680
+ <x:result>
681
+ <content xmlns="http://schemas.gpo.gov/xml/uslm/2.0">
682
+ <p style="-uslm-sgm: P;">Hello there<ref id="fnd450e4" idref="fnd450e11" style="-uslm-sgm: SU;">1</ref> and also here<ref id="fnd450e8" idref="fnd450e16" style="-uslm-sgm: SU;">2</ref>
683
+ </p>
684
+ <footnote id="fnd450e11" style="-uslm-sgm: FTNT;">
685
+ <content>
686
+ <p style="-uslm-sgm: P;">
687
+ <ref idref="fnd450e4" style="-uslm-sgm: SU;">1</ref>The agencies.</p>
688
+ </content>
689
+ </footnote>
690
+ <footnote id="fnd450e16" style="-uslm-sgm: FTNT;">
691
+ <content>
692
+ <p style="-uslm-sgm: P;">
693
+ <ref idref="fnd450e8" style="-uslm-sgm: SU;">2</ref>The uniform rule.</p>
694
+ </content>
695
+ </footnote>
696
+ <p style="-uslm-sgm: P;">Hello there<ref id="fnd450e23" idref="fnd450e26" style="-uslm-sgm: SU;">1</ref>
697
+ </p>
698
+ <footnote id="fnd450e26" style="-uslm-sgm: FTNT;">
699
+ <content>
700
+ <p style="-uslm-sgm: P;">
701
+ <ref idref="fnd450e23" style="-uslm-sgm: SU;">1</ref>The agencies.</p>
702
+ </content>
703
+ </footnote>
704
+ </content>
705
+ </x:result>
706
+ <x:test successful="true">
707
+ <x:label>three USLM footnotes</x:label>
708
+ <x:expect>
709
+ <content xmlns="http://schemas.gpo.gov/xml/uslm/2.0">
710
+ <p style="-uslm-sgm: P;">Hello there<ref id="..." idref="..." style="-uslm-sgm: SU;">1</ref> and also here<ref id="..." idref="..." style="-uslm-sgm: SU;">2</ref>
711
+ </p>
712
+ <footnote style="-uslm-sgm: FTNT;" id="...">
713
+ <content>
714
+ <p style="-uslm-sgm: P;">
715
+ <ref style="-uslm-sgm: SU;" idref="...">1</ref>The agencies.</p>
716
+ </content>
717
+ </footnote>
718
+ <footnote style="-uslm-sgm: FTNT;" id="...">
719
+ <content>
720
+ <p style="-uslm-sgm: P;">
721
+ <ref style="-uslm-sgm: SU;" idref="...">2</ref>The uniform rule.</p>
722
+ </content>
723
+ </footnote>
724
+ <p style="-uslm-sgm: P;">Hello there<ref id="..." idref="..." style="-uslm-sgm: SU;">1</ref>
725
+ </p>
726
+ <footnote style="-uslm-sgm: FTNT;" id="...">
727
+ <content>
728
+ <p style="-uslm-sgm: P;">
729
+ <ref style="-uslm-sgm: SU;" idref="...">1</ref>The agencies.</p>
730
+ </content>
731
+ </footnote>
732
+ </content>
733
+ </x:expect>
734
+ </x:test>
735
+ <x:test successful="true">
736
+ <x:label>footnote 1 ref is correct</x:label>
737
+ <x:expect select="()"/>
738
+ </x:test>
739
+ <x:test successful="true">
740
+ <x:label>footnote 2 ref is correct</x:label>
741
+ <x:expect select="()"/>
742
+ </x:test>
743
+ <x:test successful="true">
744
+ <x:label>footnote 3 ref is correct</x:label>
745
+ <x:expect select="()"/>
746
+ </x:test>
747
+ <x:test successful="true">
748
+ <x:label>footnote 1 backref is correct</x:label>
749
+ <x:expect select="()"/>
750
+ </x:test>
751
+ <x:test successful="true">
752
+ <x:label>footnote 2 backref is correct</x:label>
753
+ <x:expect select="()"/>
754
+ </x:test>
755
+ <x:test successful="true">
756
+ <x:label>footnote 2 backref is correct</x:label>
757
+ <x:expect select="()"/>
758
+ </x:test>
759
+ </x:scenario>
760
+ <x:scenario>
761
+ <x:label>missing refs in footnotes</x:label>
762
+ <x:context mode="body-content">
763
+ <gpo:content-block>
764
+ <P>Hello there<SU>1</SU>
765
+ <FTREF/> and also here<SU>2</SU>
766
+ <FTREF/>
767
+ </P>
768
+ <FTNT>
769
+ <P>1 The agencies.</P>
770
+ </FTNT>
771
+ <FTNT>
772
+ <P>
773
+ <SU>2</SU>The uniform rule.</P>
774
+ </FTNT>
775
+ <P>Hello there<SU>2</SU>
776
+ <FTREF/>
777
+ </P>
778
+ <FTNT>
779
+ <P>
780
+ <SU>1</SU>The agencies.</P>
781
+ </FTNT>
782
+ </gpo:content-block>
783
+ </x:context>
784
+ <x:result>
785
+ <content xmlns="http://schemas.gpo.gov/xml/uslm/2.0">
786
+ <p style="-uslm-sgm: P;">Hello there<ref id="fnd459e4" style="-uslm-sgm: SU;">1</ref> and also here<ref id="fnd459e8" idref="fnd459e14" style="-uslm-sgm: SU;">2</ref>
787
+ </p>
788
+ <footnote id="fnd459e11" style="-uslm-sgm: FTNT;">
789
+ <content>
790
+ <p style="-uslm-sgm: P;">1 The agencies.</p>
791
+ </content>
792
+ </footnote>
793
+ <footnote id="fnd459e14" style="-uslm-sgm: FTNT;">
794
+ <content>
795
+ <p style="-uslm-sgm: P;">
796
+ <ref idref="fnd459e8" style="-uslm-sgm: SU;">2</ref>The uniform rule.</p>
797
+ </content>
798
+ </footnote>
799
+ <p style="-uslm-sgm: P;">Hello there<ref id="fnd459e21" style="-uslm-sgm: SU;">2</ref>
800
+ </p>
801
+ <footnote id="fnd459e24" style="-uslm-sgm: FTNT;">
802
+ <content>
803
+ <p style="-uslm-sgm: P;">
804
+ <ref style="-uslm-sgm: SU;">1</ref>The agencies.</p>
805
+ </content>
806
+ </footnote>
807
+ </content>
808
+ </x:result>
809
+ <x:test successful="true">
810
+ <x:label>three USLM footnotes, only one of which has correct refs and backrefs</x:label>
811
+ <x:expect>
812
+ <content xmlns="http://schemas.gpo.gov/xml/uslm/2.0">
813
+ <p style="-uslm-sgm: P;">Hello there<ref id="..." style="-uslm-sgm: SU;">1</ref> and also here<ref id="..." idref="..." style="-uslm-sgm: SU;">2</ref>
814
+ </p>
815
+ <footnote style="-uslm-sgm: FTNT;" id="...">
816
+ <content>
817
+ <p style="-uslm-sgm: P;">1 The agencies.</p>
818
+ </content>
819
+ </footnote>
820
+ <footnote style="-uslm-sgm: FTNT;" id="...">
821
+ <content>
822
+ <p style="-uslm-sgm: P;">
823
+ <ref style="-uslm-sgm: SU;" idref="...">2</ref>The uniform rule.</p>
824
+ </content>
825
+ </footnote>
826
+ <p style="-uslm-sgm: P;">Hello there<ref id="..." style="-uslm-sgm: SU;">2</ref>
827
+ </p>
828
+ <footnote style="-uslm-sgm: FTNT;" id="...">
829
+ <content>
830
+ <p style="-uslm-sgm: P;">
831
+ <ref style="-uslm-sgm: SU;">1</ref>The agencies.</p>
832
+ </content>
833
+ </footnote>
834
+ </content>
835
+ </x:expect>
836
+ </x:test>
837
+ <x:test successful="true">
838
+ <x:label>footnote 1 ref is empty</x:label>
839
+ <x:expect select="()"/>
840
+ </x:test>
841
+ <x:test successful="true">
842
+ <x:label>footnote 2 ref is correct</x:label>
843
+ <x:expect select="()"/>
844
+ </x:test>
845
+ <x:test successful="true">
846
+ <x:label>footnote 3 ref is empty</x:label>
847
+ <x:expect select="()"/>
848
+ </x:test>
849
+ <x:test successful="true">
850
+ <x:label>footnote 1 backref is empty</x:label>
851
+ <x:expect select="()"/>
852
+ </x:test>
853
+ <x:test successful="true">
854
+ <x:label>footnote 2 backref is correct</x:label>
855
+ <x:expect select="()"/>
856
+ </x:test>
857
+ <x:test successful="true">
858
+ <x:label>footnote 2 backref is empty</x:label>
859
+ <x:expect select="()"/>
860
+ </x:test>
861
+ </x:scenario>
862
+ </x:scenario>
863
+ <x:scenario>
864
+ <x:label>CROSSREF</x:label>
865
+ <x:context mode="body-content">
866
+ <CROSSREF>
867
+ <HED>Cross Reference:</HED>
868
+ <P>For regulations with respect to distilled spirits, see part 26 of this subchapter.</P>
869
+ </CROSSREF>
870
+ </x:context>
871
+ <x:result>
872
+ <note xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: CROSSREF;">
873
+ <heading style="-uslm-sgm: HED;">Cross Reference:</heading>
874
+ <p style="-uslm-sgm: P;">For regulations with respect to distilled spirits, see part 26 of this subchapter.</p>
875
+ </note>
876
+ </x:result>
877
+ <x:test successful="true">
878
+ <x:label>a generic content element with heading and para</x:label>
879
+ <x:expect>
880
+ <note xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: CROSSREF;">
881
+ <heading style="-uslm-sgm: HED;">Cross Reference:</heading>
882
+ <p style="-uslm-sgm: P;">For regulations with respect to distilled spirits, see part 26 of this subchapter.</p>
883
+ </note>
884
+ </x:expect>
885
+ </x:test>
886
+ </x:scenario>
887
+ <x:scenario>
888
+ <x:label>the authority element for a Part/Subpart</x:label>
889
+ <x:context mode="body-content">
890
+ <AUTH>
891
+ <HED>Authority:</HED>
892
+ <P>42 U.S.C. 7401 <E T="03">et seq.</E>
893
+ </P>
894
+ </AUTH>
895
+ </x:context>
896
+ <x:result>
897
+ <authority xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: AUTH;">
898
+ <heading style="-uslm-sgm: HED;">Authority:</heading> 42 U.S.C. 7401 <i style="-uslm-sgm: E;" class="-gpo-grid-0-3">et seq.</i>
899
+ </authority>
900
+ </x:result>
901
+ <x:test successful="true">
902
+ <x:label>the source is correctly created</x:label>
903
+ <x:expect>
904
+ <authority xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: AUTH;">
905
+ <heading style="-uslm-sgm: HED;">Authority:</heading> 42 U.S.C. 7401 <i style="-uslm-sgm: E;" class="-gpo-grid-0-3">et seq.</i>
906
+ </authority>
907
+ </x:expect>
908
+ </x:test>
909
+ </x:scenario>
910
+ <x:scenario>
911
+ <x:label>the source element for a Part/Subpart</x:label>
912
+ <x:context mode="body-content">
913
+ <SOURCE>
914
+ <HED>Source:</HED>
915
+ <P>57 FR 61992, Dec. 29, 1992, unless otherwise noted.</P>
916
+ </SOURCE>
917
+ </x:context>
918
+ <x:result>
919
+ <source xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: SOURCE;">
920
+ <heading style="-uslm-sgm: HED;">Source:</heading> 57 FR 61992, Dec. 29, 1992, unless otherwise noted.</source>
921
+ </x:result>
922
+ <x:test successful="true">
923
+ <x:label>the source is correctly created</x:label>
924
+ <x:expect>
925
+ <source xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: SOURCE;">
926
+ <heading style="-uslm-sgm: HED;">Source:</heading> 57 FR 61992, Dec. 29, 1992, unless otherwise noted.</source>
927
+ </x:expect>
928
+ </x:test>
929
+ </x:scenario>
930
+ <x:scenario>
931
+ <x:label>LDRWK/LDRFIG two-column tables</x:label>
932
+ <x:context mode="body-content">
933
+ <LDRWK>
934
+ <P>Blah</P>
935
+ <LDRFIG>1</LDRFIG>
936
+ <FP>Blah</FP>
937
+ <LDRFIG>2</LDRFIG>
938
+ <FP-2>Blah</FP-2>
939
+ <LDRFIG>3</LDRFIG>
940
+ </LDRWK>
941
+ </x:context>
942
+ <x:result>
943
+ <xhtml:table xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: LDRWK;">
944
+ <xhtml:tbody>
945
+ <xhtml:tr>
946
+ <xhtml:td style="-uslm-sgm: P;">Blah</xhtml:td>
947
+ <xhtml:td style="-uslm-sgm: LDRFIG;">1</xhtml:td>
948
+ </xhtml:tr>
949
+ <xhtml:tr>
950
+ <xhtml:td style="-uslm-sgm: FP;">Blah</xhtml:td>
951
+ <xhtml:td style="-uslm-sgm: LDRFIG;">2</xhtml:td>
952
+ </xhtml:tr>
953
+ <xhtml:tr>
954
+ <xhtml:td style="-uslm-sgm: FP-2;">Blah</xhtml:td>
955
+ <xhtml:td style="-uslm-sgm: LDRFIG;">3</xhtml:td>
956
+ </xhtml:tr>
957
+ </xhtml:tbody>
958
+ </xhtml:table>
959
+ </x:result>
960
+ <x:test successful="true">
961
+ <x:label>an XHTML table</x:label>
962
+ <x:expect>
963
+ <xhtml:table xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: LDRWK;">
964
+ <xhtml:tbody>
965
+ <xhtml:tr>
966
+ <xhtml:td style="-uslm-sgm: P;">Blah</xhtml:td>
967
+ <xhtml:td style="-uslm-sgm: LDRFIG;">1</xhtml:td>
968
+ </xhtml:tr>
969
+ <xhtml:tr>
970
+ <xhtml:td style="-uslm-sgm: FP;">Blah</xhtml:td>
971
+ <xhtml:td style="-uslm-sgm: LDRFIG;">2</xhtml:td>
972
+ </xhtml:tr>
973
+ <xhtml:tr>
974
+ <xhtml:td style="-uslm-sgm: FP-2;">Blah</xhtml:td>
975
+ <xhtml:td style="-uslm-sgm: LDRFIG;">3</xhtml:td>
976
+ </xhtml:tr>
977
+ </xhtml:tbody>
978
+ </xhtml:table>
979
+ </x:expect>
980
+ </x:test>
981
+ </x:scenario>
982
+ <x:scenario>
983
+ <x:label>SCOL2 lists</x:label>
984
+ <x:context mode="body-content">
985
+ <SCOL2>
986
+ <LI>01—Alabama</LI>
987
+ <LI>02—Alaska</LI>
988
+ </SCOL2>
989
+ </x:context>
990
+ <x:result>
991
+ <list xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: SCOL2;">
992
+ <listItem style="-uslm-sgm: LI;">
993
+ <listContent>01—Alabama</listContent>
994
+ </listItem>
995
+ <listItem style="-uslm-sgm: LI;">
996
+ <listContent>02—Alaska</listContent>
997
+ </listItem>
998
+ </list>
999
+ </x:result>
1000
+ <x:test successful="true">
1001
+ <x:label>A list</x:label>
1002
+ <x:expect>
1003
+ <list xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: SCOL2;">
1004
+ <listItem style="-uslm-sgm: LI;">
1005
+ <listContent>01—Alabama</listContent>
1006
+ </listItem>
1007
+ <listItem style="-uslm-sgm: LI;">
1008
+ <listContent>02—Alaska</listContent>
1009
+ </listItem>
1010
+ </list>
1011
+ </x:expect>
1012
+ </x:test>
1013
+ </x:scenario>
1014
+ <x:scenario>
1015
+ <x:label>An EXAMPLE</x:label>
1016
+ <x:context mode="body-content">
1017
+ <EXAMPLE>
1018
+ <HED>E.g.</HED>
1019
+ <P>Example</P>
1020
+ </EXAMPLE>
1021
+ </x:context>
1022
+ <x:result>
1023
+ <block xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
1024
+ style="-uslm-sgm: EXAMPLE;"
1025
+ role="example">
1026
+ <heading style="-uslm-sgm: HED;">E.g.</heading>
1027
+ <content>
1028
+ <p style="-uslm-sgm: P;">Example</p>
1029
+ </content>
1030
+ </block>
1031
+ </x:result>
1032
+ <x:test successful="true">
1033
+ <x:label>a block with role='example'</x:label>
1034
+ <x:expect>
1035
+ <block xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
1036
+ style="-uslm-sgm: EXAMPLE;"
1037
+ role="example">
1038
+ <heading style="...">...</heading>
1039
+ <content>
1040
+ <p style="-uslm-sgm: P;">Example</p>
1041
+ </content>
1042
+ </block>
1043
+ </x:expect>
1044
+ </x:test>
1045
+ </x:scenario>
1046
+ <x:scenario>
1047
+ <x:label>An APPRO</x:label>
1048
+ <x:context mode="body-content">
1049
+ <APPRO>(Approved)</APPRO>
1050
+ </x:context>
1051
+ <x:result>
1052
+ <note xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
1053
+ style="-uslm-sgm: APPRO;"
1054
+ role="approval">(Approved)</note>
1055
+ </x:result>
1056
+ <x:test successful="true">
1057
+ <x:label>a note with role='approval'</x:label>
1058
+ <x:expect>
1059
+ <note xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
1060
+ style="-uslm-sgm: APPRO;"
1061
+ role="approval">(Approved)</note>
1062
+ </x:expect>
1063
+ </x:test>
1064
+ </x:scenario>
1065
+ <x:scenario>
1066
+ <x:label>FNP/FNC</x:label>
1067
+ <x:context mode="body-content">
1068
+ <FNC/>
1069
+ <FNP/>
1070
+ </x:context>
1071
+ <x:result>
1072
+ <marker xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
1073
+ style="-uslm-sgm: FNC;"
1074
+ role="column-break"/>
1075
+ <marker xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
1076
+ style="-uslm-sgm: FNP;"
1077
+ role="page-break"/>
1078
+ </x:result>
1079
+ <x:test successful="true">
1080
+ <x:label>markers</x:label>
1081
+ <x:expect>
1082
+ <marker xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
1083
+ style="-uslm-sgm: FNC;"
1084
+ role="column-break"/>
1085
+ <marker xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
1086
+ style="-uslm-sgm: FNP;"
1087
+ role="page-break"/>
1088
+ </x:expect>
1089
+ </x:test>
1090
+ </x:scenario>
1091
+ <x:scenario>
1092
+ <x:label>PARAUTH</x:label>
1093
+ <x:context mode="body-content">
1094
+ <PARAUTH TYPE="N">(Sec. 301(a), 81 Stat. 490, 504)</PARAUTH>
1095
+ </x:context>
1096
+ <x:result>
1097
+ <authority xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: PARAUTH;"/>
1098
+ </x:result>
1099
+ <x:test successful="false">
1100
+ <x:label>an authority</x:label>
1101
+ <x:expect>
1102
+ <authority xmlns="http://schemas.gpo.gov/xml/uslm/2.0" style="-uslm-sgm: PARAUTH;">
1103
+ <content>(Sec. 301(a), 81 Stat. 490, 504)</content>
1104
+ </authority>
1105
+ </x:expect>
1106
+ </x:test>
1107
+ </x:scenario>
1108
+ <x:scenario>
1109
+ <x:label>Q</x:label>
1110
+ <x:context mode="body-content">
1111
+ <Q P="02"/>
1112
+ </x:context>
1113
+ <x:result>
1114
+ <br xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
1115
+ style="-uslm-sgm: Q; -gpo-Q-P: 02;"/>
1116
+ </x:result>
1117
+ <x:test successful="true">
1118
+ <x:label>a br with an appropriate class</x:label>
1119
+ <x:expect>
1120
+ <br xmlns="http://schemas.gpo.gov/xml/uslm/2.0"
1121
+ style="-uslm-sgm: Q; -gpo-Q-P: 02;"/>
1122
+ </x:expect>
1123
+ </x:test>
1124
+ </x:scenario>
1125
+ </x:report>