java2ruby-xmldsig 0.1 → 0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1776) hide show
  1. data/Rakefile +1 -0
  2. data/bin/xmldsig.jar +0 -0
  3. data/java2ruby-xmldsig-0.1.gem +0 -0
  4. data/java2ruby-xmldsig.gemspec +20 -0
  5. data/java2ruby-xmldsig.ipr +213 -0
  6. data/java2ruby-xmldsig.iws +387 -0
  7. data/lib/java2ruby-xmldsig.rb +40 -0
  8. data/lib/java2ruby-xmldsig/version.rb +5 -0
  9. data/lib/jcp.1.0.49/Doc/BASE64.js +0 -0
  10. data/lib/jcp.1.0.49/Doc/Formular.pdf +0 -0
  11. data/lib/jcp.1.0.49/Doc/J6CF_pubdoc.jar +0 -0
  12. data/lib/jcp.1.0.49/Doc/J6Oscar_pubdoc.jar +0 -0
  13. data/lib/jcp.1.0.49/Doc/JCPRequest_pubdoc.jar +0 -0
  14. data/lib/jcp.1.0.49/Doc/JCP_pubdoc.jar +0 -0
  15. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/META-INF/MANIFEST.MF +4 -0
  16. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/allclasses-frame.html +88 -0
  17. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/allclasses-noframe.html +88 -0
  18. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/constant-values.html +736 -0
  19. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/deprecated-list.html +134 -0
  20. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/help-doc.html +193 -0
  21. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/index-all.html +1065 -0
  22. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/index.html +26 -0
  23. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/overview-frame.html +60 -0
  24. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/overview-summary.html +180 -0
  25. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/overview-tree.html +182 -0
  26. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/package-list +10 -0
  27. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/packages.html +37 -0
  28. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/resources/inherit.gif +0 -0
  29. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Install/JCPInstaller.html +655 -0
  30. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Install/ManifestInstall.html +244 -0
  31. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Install/class-use/JCPInstaller.html +136 -0
  32. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Install/class-use/ManifestInstall.html +136 -0
  33. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Install/package-frame.html +34 -0
  34. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Install/package-summary.html +152 -0
  35. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Install/package-tree.html +146 -0
  36. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Install/package-use.html +136 -0
  37. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/JCP.html +1056 -0
  38. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Key/KeyTwix.html +379 -0
  39. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Key/class-use/KeyTwix.html +136 -0
  40. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Key/package-frame.html +32 -0
  41. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Key/package-summary.html +148 -0
  42. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Key/package-tree.html +145 -0
  43. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Key/package-use.html +136 -0
  44. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/KeyStore/CertWithoutKeyException.html +248 -0
  45. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/KeyStore/CertificateValidityException.html +248 -0
  46. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/KeyStore/InvalidAliasException.html +248 -0
  47. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/KeyStore/KeyIsNotExportableException.html +248 -0
  48. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/KeyStore/OldKeyException.html +266 -0
  49. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/KeyStore/UnsupportedKeyFormatException.html +251 -0
  50. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/KeyStore/UserProtectedKeyException.html +252 -0
  51. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/KeyStore/class-use/CertWithoutKeyException.html +136 -0
  52. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/KeyStore/class-use/CertificateValidityException.html +136 -0
  53. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/KeyStore/class-use/InvalidAliasException.html +136 -0
  54. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/KeyStore/class-use/KeyIsNotExportableException.html +136 -0
  55. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/KeyStore/class-use/OldKeyException.html +136 -0
  56. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/KeyStore/class-use/UnsupportedKeyFormatException.html +136 -0
  57. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/KeyStore/class-use/UserProtectedKeyException.html +136 -0
  58. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/KeyStore/package-frame.html +44 -0
  59. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/KeyStore/package-summary.html +175 -0
  60. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/KeyStore/package-tree.html +160 -0
  61. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/KeyStore/package-use.html +136 -0
  62. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Random/CancelException.html +264 -0
  63. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Random/RandomRefuseException.html +281 -0
  64. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Random/class-use/CancelException.html +136 -0
  65. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Random/class-use/RandomRefuseException.html +136 -0
  66. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Random/package-frame.html +34 -0
  67. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Random/package-summary.html +153 -0
  68. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Random/package-tree.html +152 -0
  69. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/Random/package-use.html +136 -0
  70. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/class-use/JCP.html +136 -0
  71. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/package-frame.html +32 -0
  72. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/package-summary.html +148 -0
  73. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/package-tree.html +154 -0
  74. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/package-use.html +136 -0
  75. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/params/AlgIdInterface.html +325 -0
  76. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/params/AlgIdSpec.html +1338 -0
  77. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/params/ExportableParameterInterface.html +196 -0
  78. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/params/ExportableParameterSpec.html +235 -0
  79. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/params/OID.html +438 -0
  80. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/params/ParamsInterface.html +392 -0
  81. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/params/class-use/AlgIdInterface.html +173 -0
  82. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/params/class-use/AlgIdSpec.html +136 -0
  83. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/params/class-use/ExportableParameterInterface.html +172 -0
  84. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/params/class-use/ExportableParameterSpec.html +136 -0
  85. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/params/class-use/OID.html +434 -0
  86. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/params/class-use/ParamsInterface.html +306 -0
  87. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/params/package-frame.html +51 -0
  88. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/params/package-summary.html +179 -0
  89. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/params/package-tree.html +156 -0
  90. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/params/package-use.html +180 -0
  91. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/pref/ConfigurationException.html +300 -0
  92. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/pref/class-use/ConfigurationException.html +136 -0
  93. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/pref/package-frame.html +32 -0
  94. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/pref/package-summary.html +148 -0
  95. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/pref/package-tree.html +150 -0
  96. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/pref/package-use.html +136 -0
  97. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/CPVerify/CPVerifyException.html +450 -0
  98. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/CPVerify/Prompt.html +518 -0
  99. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/CPVerify/class-use/CPVerifyException.html +136 -0
  100. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/CPVerify/class-use/Prompt.html +136 -0
  101. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/CPVerify/package-frame.html +43 -0
  102. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/CPVerify/package-summary.html +162 -0
  103. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/CPVerify/package-tree.html +150 -0
  104. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/CPVerify/package-use.html +136 -0
  105. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/CertReader/Extension.html +999 -0
  106. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/CertReader/ExtensionProcessor.html +386 -0
  107. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/CertReader/SplitDirectName.html +262 -0
  108. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/CertReader/class-use/Extension.html +211 -0
  109. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/CertReader/class-use/ExtensionProcessor.html +136 -0
  110. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/CertReader/class-use/SplitDirectName.html +136 -0
  111. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/CertReader/package-frame.html +36 -0
  112. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/CertReader/package-summary.html +156 -0
  113. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/CertReader/package-tree.html +145 -0
  114. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/CertReader/package-use.html +162 -0
  115. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/ChainParserException.html +311 -0
  116. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/Decoder.html +339 -0
  117. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/Encoder.html +413 -0
  118. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/LicenseException.html +488 -0
  119. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/SelfTesterException.html +300 -0
  120. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/class-use/ChainParserException.html +136 -0
  121. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/class-use/Decoder.html +136 -0
  122. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/class-use/Encoder.html +136 -0
  123. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/class-use/LicenseException.html +172 -0
  124. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/class-use/SelfTesterException.html +136 -0
  125. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/package-frame.html +49 -0
  126. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/package-summary.html +179 -0
  127. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/package-tree.html +152 -0
  128. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/ru/CryptoPro/JCP/tools/package-use.html +162 -0
  129. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/serialized-form.html +365 -0
  130. data/lib/jcp.1.0.49/Doc/JCP_pubdoc/stylesheet.css +29 -0
  131. data/lib/jcp.1.0.49/Doc/JCPinst_pubdoc.jar +0 -0
  132. data/lib/jcp.1.0.49/Doc/JCPxml_pubdoc.jar +0 -0
  133. data/lib/jcp.1.0.49/Doc/JCryptoP_pubdoc.jar +0 -0
  134. data/lib/jcp.1.0.49/Doc/LicenseLoader.html +281 -0
  135. data/lib/jcp.1.0.49/Doc/OCF_pubdoc.jar +0 -0
  136. data/lib/jcp.1.0.49/Doc/Oscar_pubdoc.jar +0 -0
  137. data/lib/jcp.1.0.49/Doc/admin.html +4079 -0
  138. data/lib/jcp.1.0.49/Doc/cryptoprovider.html +1107 -0
  139. data/lib/jcp.1.0.49/Doc/images/JCP_diagram.gif +0 -0
  140. data/lib/jcp.1.0.49/Doc/images/Key.gif +0 -0
  141. data/lib/jcp.1.0.49/Doc/images/add.gif +0 -0
  142. data/lib/jcp.1.0.49/Doc/images/blank.gif +0 -0
  143. data/lib/jcp.1.0.49/Doc/images/certstore1.gif +0 -0
  144. data/lib/jcp.1.0.49/Doc/images/certstore2.gif +0 -0
  145. data/lib/jcp.1.0.49/Doc/images/certstore3.gif +0 -0
  146. data/lib/jcp.1.0.49/Doc/images/check1.gif +0 -0
  147. data/lib/jcp.1.0.49/Doc/images/check2.gif +0 -0
  148. data/lib/jcp.1.0.49/Doc/images/check3.gif +0 -0
  149. data/lib/jcp.1.0.49/Doc/images/cont.gif +0 -0
  150. data/lib/jcp.1.0.49/Doc/images/cont_cert.gif +0 -0
  151. data/lib/jcp.1.0.49/Doc/images/cont_key.gif +0 -0
  152. data/lib/jcp.1.0.49/Doc/images/image004.gif +0 -0
  153. data/lib/jcp.1.0.49/Doc/images/image005.gif +0 -0
  154. data/lib/jcp.1.0.49/Doc/images/image006.gif +0 -0
  155. data/lib/jcp.1.0.49/Doc/images/image007.gif +0 -0
  156. data/lib/jcp.1.0.49/Doc/images/key_fields.gif +0 -0
  157. data/lib/jcp.1.0.49/Doc/images/key_req.gif +0 -0
  158. data/lib/jcp.1.0.49/Doc/images/license1.gif +0 -0
  159. data/lib/jcp.1.0.49/Doc/images/license2.gif +0 -0
  160. data/lib/jcp.1.0.49/Doc/images/params.gif +0 -0
  161. data/lib/jcp.1.0.49/Doc/images/paths.gif +0 -0
  162. data/lib/jcp.1.0.49/Doc/images/store1.gif +0 -0
  163. data/lib/jcp.1.0.49/Doc/images/store2.gif +0 -0
  164. data/lib/jcp.1.0.49/Doc/images/store3.gif +0 -0
  165. data/lib/jcp.1.0.49/Doc/images/store4.gif +0 -0
  166. data/lib/jcp.1.0.49/Doc/images/storecer1.gif +0 -0
  167. data/lib/jcp.1.0.49/Doc/images/storecer2.gif +0 -0
  168. data/lib/jcp.1.0.49/Doc/images/storecer3.gif +0 -0
  169. data/lib/jcp.1.0.49/Doc/images/tls1.gif +0 -0
  170. data/lib/jcp.1.0.49/Doc/images/tls2.gif +0 -0
  171. data/lib/jcp.1.0.49/Doc/jcp.css +115 -0
  172. data/lib/jcp.1.0.49/Doc/progguide.html +2874 -0
  173. data/lib/jcp.1.0.49/Doc/whatsnew.txt +325 -0
  174. data/lib/jcp.1.0.49/lib/AsnLite.jar +0 -0
  175. data/lib/jcp.1.0.49/lib/ControlPane.bat +56 -0
  176. data/lib/jcp.1.0.49/lib/ControlPane.sh +40 -0
  177. data/lib/jcp.1.0.49/lib/J6CF.jar +0 -0
  178. data/lib/jcp.1.0.49/lib/J6Oscar.jar +0 -0
  179. data/lib/jcp.1.0.49/lib/JCP.jar +0 -0
  180. data/lib/jcp.1.0.49/lib/JCPRequest.jar +0 -0
  181. data/lib/jcp.1.0.49/lib/JCPRevCheck.jar +0 -0
  182. data/lib/jcp.1.0.49/lib/JCPRevTools.jar +0 -0
  183. data/lib/jcp.1.0.49/lib/JCP_ASN.jar +0 -0
  184. data/lib/jcp.1.0.49/lib/JCPinst.jar +0 -0
  185. data/lib/jcp.1.0.49/lib/JCPxml.jar +0 -0
  186. data/lib/jcp.1.0.49/lib/JCryptoP.jar +0 -0
  187. data/lib/jcp.1.0.49/lib/OCF.jar +0 -0
  188. data/lib/jcp.1.0.49/lib/Oscar.jar +0 -0
  189. data/lib/jcp.1.0.49/lib/asn1rt.jar +0 -0
  190. data/lib/jcp.1.0.49/lib/forms_rt.jar +0 -0
  191. data/lib/jcp.1.0.49/lib/install.bat +154 -0
  192. data/lib/jcp.1.0.49/lib/install.sh +85 -0
  193. data/lib/jcp.1.0.49/lib/uninstall.bat +126 -0
  194. data/lib/jcp.1.0.49/lib/uninstall.sh +67 -0
  195. data/lib/jcp.1.0.49/readme.txt +26 -0
  196. data/lib/jcp.1.0.49/samples/samples.jar +0 -0
  197. data/lib/jcp.1.0.49/samples/samples_src.jar +0 -0
  198. data/lib/xml-security-1_4_5/INSTALL +88 -0
  199. data/lib/xml-security-1_4_5/KEYS +174 -0
  200. data/lib/xml-security-1_4_5/LICENSE +202 -0
  201. data/lib/xml-security-1_4_5/NOTICE +9 -0
  202. data/lib/xml-security-1_4_5/Readme.html +15 -0
  203. data/lib/xml-security-1_4_5/TODO +42 -0
  204. data/lib/xml-security-1_4_5/build.xml +900 -0
  205. data/lib/xml-security-1_4_5/data/at/buergerkarte/testresp.xml +54 -0
  206. data/lib/xml-security-1_4_5/data/at/iaik/IXSIL.SampleSignatures.20011115.zip +0 -0
  207. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/coreFeatures/digestInputs/anonymousReferenceSignature.firstReference.txt +3 -0
  208. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/coreFeatures/digestInputs/manifestReference.firstReference.txt +1 -0
  209. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/coreFeatures/digestInputs/manifestReference.manifest.firstReference.txt +5 -0
  210. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/coreFeatures/digestInputs/manifestReference.manifest.secondReference.txt +3 -0
  211. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/coreFeatures/digestInputs/signatureTypesSignature.fifthReference.txt +1 -0
  212. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/coreFeatures/digestInputs/signatureTypesSignature.fourthReference.txt +3 -0
  213. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/coreFeatures/digestInputs/signatureTypesSignature.seventhReference.txt +5 -0
  214. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/coreFeatures/digestInputs/signatureTypesSignature.sixthReference.txt +1 -0
  215. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/coreFeatures/digestInputs/signatureTypesSignature.thirdReference.txt +3 -0
  216. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/coreFeatures/samples/anonymousReferenceContent.xml +5 -0
  217. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/coreFeatures/samples/sampleTextData.txt +1 -0
  218. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/coreFeatures/samples/sampleXMLData.xml +15 -0
  219. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/coreFeatures/signatures/anonymousReferenceSignature.xml +6 -0
  220. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/coreFeatures/signatures/manifestSignature.xml +13 -0
  221. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/coreFeatures/signatures/signatureTypesSignature.xml +13 -0
  222. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/readme.txt +201 -0
  223. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/signatureAlgorithms/digestInputs/dSASignature.firstReference.txt +1 -0
  224. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/signatureAlgorithms/digestInputs/hMACShortSignature.firstReference.txt +1 -0
  225. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/signatureAlgorithms/digestInputs/hMACSignature.firstReference.txt +1 -0
  226. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/signatureAlgorithms/digestInputs/rSASignature.firstReference.txt +1 -0
  227. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/signatureAlgorithms/signatures/dSASignature.xml +8 -0
  228. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/signatureAlgorithms/signatures/hMACShortSignature.xml +2 -0
  229. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/signatureAlgorithms/signatures/hMACSignature.xml +2 -0
  230. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/signatureAlgorithms/signatures/rSASignature.xml +6 -0
  231. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/transforms/digestInputs/base64Signature.firstReference.txt +341 -0
  232. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/transforms/digestInputs/c14NSignature.firstReference.txt +4 -0
  233. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/transforms/digestInputs/c14NSignature.secondReference.txt +6 -0
  234. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/transforms/digestInputs/envelopedSignatureSignature.firstReference.txt +5 -0
  235. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/transforms/digestInputs/xPathSignature.firstReference.txt +1 -0
  236. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/transforms/digestInputs/xPathSignature.secondReference.txt +1 -0
  237. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/transforms/digestInputs/xPathSignature.thirdReference.txt +1 -0
  238. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/transforms/samples/sampleBase64EncodedData.txt +1 -0
  239. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/transforms/samples/sampleXMLData.xml +12 -0
  240. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/transforms/signatures/base64DecodeSignature.xml +6 -0
  241. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/transforms/signatures/c14nSignature.xml +6 -0
  242. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/transforms/signatures/envelopedSignatureSignature.xml +10 -0
  243. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/transforms/signatures/xPathSignature.xml +6 -0
  244. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/transforms/signatures/xPathSignature.xml.0.input +1 -0
  245. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/transforms/signatures/xPathSignature.xml.1.input +1 -0
  246. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/transforms/signatures/xPathSignature.xml.2.input +1 -0
  247. data/lib/xml-security-1_4_5/data/at/iaik/ixsil/transforms/signatures/xPathSignature.xml.3.input +1 -0
  248. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/README.txt +248 -0
  249. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/certs/crl.der +0 -0
  250. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/certs/dsa-ca-cert.der +0 -0
  251. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/certs/dsa-cert.der +0 -0
  252. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/certs/enc-dsa-key.der +0 -0
  253. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/certs/enc-rsa-key.der +0 -0
  254. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/certs/rsa-ca-cert.der +0 -0
  255. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/certs/rsa-cert.der +0 -0
  256. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/document-stylesheet.xml +7 -0
  257. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/document.b64 +4 -0
  258. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/document.xml +6 -0
  259. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/document.xsl +45 -0
  260. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-big.xml +39 -0
  261. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-dsa-detached.xml +1 -0
  262. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-dsa-enveloped.xml +6 -0
  263. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-dsa-enveloping.xml +6 -0
  264. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-dsa-manifest.xml +1 -0
  265. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-hmac-md5-c14n-enveloping.xml +6 -0
  266. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-hmac-sha1-40-c14n-comments-detached.xml +1 -0
  267. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-hmac-sha1-40-exclusive-c14n-comments-detached.xml +1 -0
  268. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-hmac-sha1-exclusive-c14n-comments-detached.xml +1 -0
  269. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-hmac-sha1-exclusive-c14n-enveloped.xml +6 -0
  270. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-rsa-detached-b64-transform.xml +1 -0
  271. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-rsa-detached-xpath-transform.xml +1 -0
  272. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-rsa-detached-xslt-transform-bad-retrieval-method.xml +6 -0
  273. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-rsa-detached-xslt-transform-retrieval-method.xml +39 -0
  274. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-rsa-detached-xslt-transform.xml +39 -0
  275. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-rsa-detached.xml +1 -0
  276. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-rsa-enveloped-bad-digest-val.xml +6 -0
  277. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-rsa-enveloped-bad-sig.xml +6 -0
  278. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-rsa-enveloped.xml +6 -0
  279. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-rsa-enveloping.xml +6 -0
  280. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-rsa-manifest-x509-data-cert-chain.xml +1 -0
  281. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-rsa-manifest-x509-data-cert.xml +1 -0
  282. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-rsa-manifest-x509-data-issuer-serial.xml +1 -0
  283. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-rsa-manifest-x509-data-ski.xml +1 -0
  284. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-rsa-manifest-x509-data-subject-name.xml +1 -0
  285. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-rsa-manifest-x509-data.xml +1 -0
  286. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-rsa-manifest.xml +1 -0
  287. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmldsig-three/signature-rsa-xpath-transform-enveloped.xml +6 -0
  288. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/Readme.txt +52 -0
  289. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/bad-alg-enc-element-aes128-kw-3des.xml +29 -0
  290. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/dh-priv-key.der +0 -0
  291. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-content-3des-kw-aes192.xml +30 -0
  292. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-content-aes128-kw-3des.xml +30 -0
  293. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-content-aes192-kw-aes256.xml +30 -0
  294. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-content-aes256-kt-rsa1_5.xml +63 -0
  295. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-element-3des-ka-dh.xml +83 -0
  296. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-element-3des-kt-rsa1_5.xml +61 -0
  297. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-element-3des-kt-rsa_oaep_sha1.xml +63 -0
  298. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-element-3des-kt-rsa_oaep_sha256.xml +63 -0
  299. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-element-3des-kt-rsa_oaep_sha512.xml +63 -0
  300. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-element-3des-kw-3des.xml +29 -0
  301. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-element-aes128-ka-dh.xml +83 -0
  302. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-element-aes128-kt-rsa1_5.xml +61 -0
  303. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-element-aes128-kt-rsa_oaep_sha1.xml +63 -0
  304. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-element-aes128-kw-aes128.xml +29 -0
  305. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-element-aes128-kw-aes256.xml +29 -0
  306. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-element-aes192-ka-dh.xml +83 -0
  307. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-element-aes192-kt-rsa_oaep_sha1.xml +63 -0
  308. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-element-aes192-kw-aes192.xml +29 -0
  309. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-element-aes256-ka-dh.xml +83 -0
  310. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-element-aes256-kw-aes256.xml +29 -0
  311. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-text-3des-kw-aes256.xml +32 -0
  312. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-text-aes128-kw-aes192.xml +28 -0
  313. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-text-aes192-kt-rsa1_5.xml +62 -0
  314. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/enc-text-aes256-kt-rsa_oaep_sha1.xml +64 -0
  315. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/key.txt +117 -0
  316. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/payment.xml +9 -0
  317. data/lib/xml-security-1_4_5/data/com/phaos/phaos-xmlenc-3/rsa-priv-key.der +0 -0
  318. data/lib/xml-security-1_4_5/data/com/pothole/xmldsig/xml-stylesheet.txt +1 -0
  319. data/lib/xml-security-1_4_5/data/com/pureedge/LeaveRequest.xfd +4130 -0
  320. data/lib/xml-security-1_4_5/data/com/pureedge/LeaveRequest.xml +4000 -0
  321. data/lib/xml-security-1_4_5/data/com/pureedge/LeaveRequest_signed.xfd +4198 -0
  322. data/lib/xml-security-1_4_5/data/com/rsasecurity/bdournaee/certj201_enveloped.xml +26 -0
  323. data/lib/xml-security-1_4_5/data/com/rsasecurity/bdournaee/certj201_enveloping.xml +25 -0
  324. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/Readme.txt +22 -0
  325. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/c14n-0.txt +3 -0
  326. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/c14n-1.txt +3 -0
  327. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/c14n-2.txt +3 -0
  328. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/c14n-3.txt +3 -0
  329. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/c14n-4.txt +3 -0
  330. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/c14n-5.txt +3 -0
  331. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/c14n-6.txt +3 -0
  332. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/c14n-7.txt +3 -0
  333. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/c14n-8.txt +82 -0
  334. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/iaikTests.example1.xml +38 -0
  335. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/iaikTests.example2.xml +37 -0
  336. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/iaikTests.example3.xml +70 -0
  337. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/iaikTests.example4.xml +38 -0
  338. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/signature.tmpl +86 -0
  339. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/signature.xml +163 -0
  340. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-exc-c14n-one/Readme.txt +3 -0
  341. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-exc-c14n-one/c14n-0.txt +5 -0
  342. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-exc-c14n-one/c14n-1.txt +5 -0
  343. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-exc-c14n-one/c14n-2.txt +5 -0
  344. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-exc-c14n-one/c14n-3.txt +5 -0
  345. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-exc-c14n-one/c14n-4.txt +36 -0
  346. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-exc-c14n-one/exc-signature.xml +73 -0
  347. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/Readme.txt +37 -0
  348. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/certs/badb.crt +0 -0
  349. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/certs/balor.crt +0 -0
  350. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/certs/bres.crt +0 -0
  351. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/certs/lugh.crt +0 -0
  352. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/certs/macha.crt +0 -0
  353. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/certs/morigu.crt +0 -0
  354. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/certs/nemain.crt +0 -0
  355. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/certs/nocertifiacte.crt +37 -0
  356. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-keyname.xml +19 -0
  357. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-retrievalmethod-rawx509crt.xml +19 -0
  358. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-x509-crt-crl.xml +49 -0
  359. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-x509-crt.xml +37 -0
  360. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-x509-is.xml +26 -0
  361. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-x509-ski.xml +23 -0
  362. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-eighteen/signature-x509-sn.xml +23 -0
  363. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/Readme.txt +18 -0
  364. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloped-dsa-c14n-0.txt +3 -0
  365. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloped-dsa-c14n-1.txt +11 -0
  366. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloped-dsa.xml +66 -0
  367. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloping-b64-dsa-c14n-0.txt +11 -0
  368. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloping-b64-dsa.xml +65 -0
  369. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloping-dsa-c14n-0.txt +1 -0
  370. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloping-dsa-c14n-1.txt +8 -0
  371. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloping-dsa.xml +62 -0
  372. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloping-hmac-sha1-40-c14n-0.txt +1 -0
  373. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloping-hmac-sha1-40-c14n-1.txt +10 -0
  374. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloping-hmac-sha1-40.xml +17 -0
  375. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloping-hmac-sha1-c14n-0.txt +1 -0
  376. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloping-hmac-sha1-c14n-1.txt +8 -0
  377. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloping-hmac-sha1.xml +15 -0
  378. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloping-rsa-c14n-0.txt +1 -0
  379. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloping-rsa-c14n-1.txt +8 -0
  380. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-enveloping-rsa.xml +31 -0
  381. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-external-b64-dsa-c14n-0.txt +11 -0
  382. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-external-b64-dsa.xml +64 -0
  383. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-external-dsa-c14n-0.txt +8 -0
  384. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-fifteen/signature-external-dsa.xml +61 -0
  385. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-filter2-one/Readme.txt +21 -0
  386. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-filter2-one/sign-xfdl-c14n-0.txt +3986 -0
  387. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-filter2-one/sign-xfdl.tmpl +4151 -0
  388. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-filter2-one/sign-xfdl.xml +4227 -0
  389. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-filter2-one/signature-c14n-0.txt +11 -0
  390. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-filter2-one/signature-c14n-1.txt +11 -0
  391. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-filter2-one/signature.tmpl +69 -0
  392. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-filter2-one/signature.xml +146 -0
  393. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/Readme.txt +22 -0
  394. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/bad-signature.xml +249 -0
  395. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-0.txt +1 -0
  396. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-1.txt +5 -0
  397. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-10.txt +4 -0
  398. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-11.txt +40 -0
  399. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-12.txt +4 -0
  400. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-13.txt +15 -0
  401. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-14.txt +13 -0
  402. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-15.txt +13 -0
  403. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-16.txt +13 -0
  404. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-17.txt +109 -0
  405. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-18.txt +124 -0
  406. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-2.txt +3 -0
  407. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-3.txt +3 -0
  408. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-4.txt +3 -0
  409. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-5.txt +3 -0
  410. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-6.txt +4 -0
  411. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-7.txt +4 -0
  412. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-8.txt +1 -0
  413. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/c14n-9.txt +4 -0
  414. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/signature.tmpl +245 -0
  415. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-sixteen/signature.xml +249 -0
  416. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/Readme.txt +63 -0
  417. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/certs/badb.crt +0 -0
  418. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/certs/balor.crt +0 -0
  419. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/certs/bres.crt +0 -0
  420. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/certs/ca.crt +0 -0
  421. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/certs/crl +11 -0
  422. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/certs/lugh.crt +0 -0
  423. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/certs/macha.crt +0 -0
  424. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/certs/morigu.crt +0 -0
  425. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/certs/mullan.crt +0 -0
  426. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/certs/nemain.crt +0 -0
  427. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/certs/xmldsig.jks +0 -0
  428. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-c14n-0.txt +1 -0
  429. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-c14n-1.txt +5 -0
  430. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-c14n-10.txt +40 -0
  431. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-c14n-11.txt +4 -0
  432. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-c14n-12.txt +15 -0
  433. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-c14n-13.txt +13 -0
  434. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-c14n-14.txt +13 -0
  435. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-c14n-15.txt +13 -0
  436. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-c14n-16.txt +109 -0
  437. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-c14n-17.txt +124 -0
  438. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-c14n-2.txt +3 -0
  439. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-c14n-3.txt +3 -0
  440. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-c14n-4.txt +3 -0
  441. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-c14n-5.txt +3 -0
  442. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-c14n-6.txt +4 -0
  443. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-c14n-7.txt +4 -0
  444. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-c14n-8.txt +4 -0
  445. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-c14n-9.txt +4 -0
  446. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-enveloped-dsa-c14n-0.txt +3 -0
  447. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-enveloped-dsa-c14n-1.txt +11 -0
  448. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-enveloped-dsa.xml +43 -0
  449. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-enveloping-b64-dsa-c14n-0.txt +11 -0
  450. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-enveloping-b64-dsa.xml +42 -0
  451. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-enveloping-dsa-c14n-0.txt +1 -0
  452. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-enveloping-dsa-c14n-1.txt +8 -0
  453. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-enveloping-dsa.xml +39 -0
  454. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-enveloping-hmac-sha1-40-c14n-0.txt +1 -0
  455. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-enveloping-hmac-sha1-40-c14n-1.txt +10 -0
  456. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-enveloping-hmac-sha1-40.xml +17 -0
  457. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-enveloping-hmac-sha1-c14n-0.txt +1 -0
  458. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-enveloping-hmac-sha1-c14n-1.txt +8 -0
  459. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-enveloping-hmac-sha1.xml +15 -0
  460. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-enveloping-rsa-c14n-0.txt +1 -0
  461. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-enveloping-rsa-c14n-1.txt +8 -0
  462. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-enveloping-rsa.xml +31 -0
  463. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-external-b64-dsa-c14n-0.txt +11 -0
  464. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-external-b64-dsa.xml +41 -0
  465. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-external-dsa-c14n-0.txt +8 -0
  466. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-external-dsa.xml +38 -0
  467. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-keyname.xml +17 -0
  468. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-retrievalmethod-rawx509crt.xml +17 -0
  469. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-x509-crt-crl.xml +47 -0
  470. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-x509-crt.xml +38 -0
  471. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-x509-is.xml +24 -0
  472. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-x509-ski.xml +21 -0
  473. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature-x509-sn.xml +21 -0
  474. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature.tmpl +265 -0
  475. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/signature.xml +269 -0
  476. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmldsig-twenty-three/xml-stylesheet.b64 +274 -0
  477. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/Readme.txt +117 -0
  478. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/bad-encrypt-content-aes128-cbc-kw-aes192.xml +42 -0
  479. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/decryption-transform-except.xml +83 -0
  480. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/decryption-transform.xml +73 -0
  481. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/dh0.p8 +0 -0
  482. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/dh1.p8 +0 -0
  483. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/dsa.p8 +0 -0
  484. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encrypt-content-aes128-cbc-kw-aes192.xml +42 -0
  485. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encrypt-content-aes192-cbc-dh-sha512.xml +113 -0
  486. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encrypt-content-aes256-cbc-prop.xml +39 -0
  487. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encrypt-content-tripledes-cbc.xml +32 -0
  488. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encrypt-data-aes128-cbc.xml +12 -0
  489. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encrypt-data-aes192-cbc-kw-aes256.xml +22 -0
  490. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encrypt-data-aes256-cbc-kw-tripledes.xml +22 -0
  491. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encrypt-data-tripledes-cbc-rsa-oaep-mgf1p-sha256.xml +46 -0
  492. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encrypt-data-tripledes-cbc-rsa-oaep-mgf1p.xml +43 -0
  493. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encrypt-element-aes128-cbc-rsa-1_5.xml +60 -0
  494. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encrypt-element-aes192-cbc-ref.xml +39 -0
  495. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encrypt-element-aes256-cbc-carried-kw-aes256.xml +57 -0
  496. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encrypt-element-aes256-cbc-kw-aes256-dh-ripemd160.xml +122 -0
  497. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encrypt-element-aes256-cbc-retrieved-kw-aes256.xml +44 -0
  498. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encrypt-element-tripledes-cbc-kw-aes128.xml +40 -0
  499. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encsig-hmac-sha256-dh.xml +98 -0
  500. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encsig-hmac-sha256-kw-tripledes-dh.xml +108 -0
  501. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encsig-hmac-sha256-rsa-1_5.xml +46 -0
  502. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encsig-hmac-sha256-rsa-oaep-mgf1p.xml +51 -0
  503. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encsig-ripemd160-hmac-ripemd160-kw-tripledes.xml +27 -0
  504. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encsig-sha256-hmac-sha256-kw-aes128.xml +27 -0
  505. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encsig-sha384-hmac-sha384-kw-aes192.xml +27 -0
  506. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/encsig-sha512-hmac-sha512-kw-aes256.xml +28 -0
  507. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/ids.p12 +0 -0
  508. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/plaintext.txt +1 -0
  509. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/plaintext.xml +24 -0
  510. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/merlin-xmlenc-five/rsa.p8 +0 -0
  511. data/lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/urls.txt +15 -0
  512. data/lib/xml-security-1_4_5/data/interop/c14n/Y1/Readme.txt +3 -0
  513. data/lib/xml-security-1_4_5/data/interop/c14n/Y1/c14n-0.apache.html +39 -0
  514. data/lib/xml-security-1_4_5/data/interop/c14n/Y1/c14n-0.html +110 -0
  515. data/lib/xml-security-1_4_5/data/interop/c14n/Y1/c14n-0.txt +5 -0
  516. data/lib/xml-security-1_4_5/data/interop/c14n/Y1/c14n-1.apache.html +39 -0
  517. data/lib/xml-security-1_4_5/data/interop/c14n/Y1/c14n-1.html +110 -0
  518. data/lib/xml-security-1_4_5/data/interop/c14n/Y1/c14n-1.txt +5 -0
  519. data/lib/xml-security-1_4_5/data/interop/c14n/Y1/c14n-2.apache.html +39 -0
  520. data/lib/xml-security-1_4_5/data/interop/c14n/Y1/c14n-2.html +110 -0
  521. data/lib/xml-security-1_4_5/data/interop/c14n/Y1/c14n-2.txt +5 -0
  522. data/lib/xml-security-1_4_5/data/interop/c14n/Y1/c14n-3.apache.html +39 -0
  523. data/lib/xml-security-1_4_5/data/interop/c14n/Y1/c14n-3.html +110 -0
  524. data/lib/xml-security-1_4_5/data/interop/c14n/Y1/c14n-3.txt +5 -0
  525. data/lib/xml-security-1_4_5/data/interop/c14n/Y1/c14n-4.txt +36 -0
  526. data/lib/xml-security-1_4_5/data/interop/c14n/Y1/exc-signature.xml +73 -0
  527. data/lib/xml-security-1_4_5/data/interop/c14n/Y2/c14n-0.apache.html +39 -0
  528. data/lib/xml-security-1_4_5/data/interop/c14n/Y2/c14n-0.html +123 -0
  529. data/lib/xml-security-1_4_5/data/interop/c14n/Y2/c14n-0.txt +7 -0
  530. data/lib/xml-security-1_4_5/data/interop/c14n/Y2/c14n-1.apache.html +39 -0
  531. data/lib/xml-security-1_4_5/data/interop/c14n/Y2/c14n-1.html +123 -0
  532. data/lib/xml-security-1_4_5/data/interop/c14n/Y2/c14n-1.txt +7 -0
  533. data/lib/xml-security-1_4_5/data/interop/c14n/Y2/c14n-2.apache.html +39 -0
  534. data/lib/xml-security-1_4_5/data/interop/c14n/Y2/c14n-2.html +123 -0
  535. data/lib/xml-security-1_4_5/data/interop/c14n/Y2/c14n-2.txt +7 -0
  536. data/lib/xml-security-1_4_5/data/interop/c14n/Y2/signature-joseph-exc.xml +88 -0
  537. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/Readme.txt +22 -0
  538. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-0.apache.html +39 -0
  539. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-0.html +68 -0
  540. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-0.txt +3 -0
  541. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-1.apache.html +39 -0
  542. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-1.html +68 -0
  543. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-1.txt +3 -0
  544. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-2.apache.html +39 -0
  545. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-2.html +68 -0
  546. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-2.txt +3 -0
  547. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-3.apache.html +39 -0
  548. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-3.html +68 -0
  549. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-3.txt +3 -0
  550. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-4.apache.html +39 -0
  551. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-4.html +101 -0
  552. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-4.txt +3 -0
  553. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-5.apache.html +39 -0
  554. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-5.html +101 -0
  555. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-5.txt +3 -0
  556. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-6.apache.html +39 -0
  557. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-6.html +68 -0
  558. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-6.txt +3 -0
  559. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-7.apache.html +39 -0
  560. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-7.html +68 -0
  561. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-7.txt +3 -0
  562. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/c14n-8.txt +82 -0
  563. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/iaikTests.example1.xml +38 -0
  564. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/iaikTests.example2.xml +37 -0
  565. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/iaikTests.example3.xml +70 -0
  566. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/iaikTests.example4.xml +38 -0
  567. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/signature.tmpl +86 -0
  568. data/lib/xml-security-1_4_5/data/interop/c14n/Y3/signature.xml +163 -0
  569. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/Readme.txt +20 -0
  570. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-0.apache.html +39 -0
  571. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-0.html +557 -0
  572. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-0.txt +9 -0
  573. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-1.apache.html +39 -0
  574. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-1.html +557 -0
  575. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-1.txt +9 -0
  576. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-10.apache.html +39 -0
  577. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-10.html +557 -0
  578. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-10.txt +9 -0
  579. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-11.apache.html +39 -0
  580. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-11.html +557 -0
  581. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-11.txt +9 -0
  582. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-12.apache.html +39 -0
  583. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-12.html +557 -0
  584. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-12.txt +9 -0
  585. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-13.apache.html +39 -0
  586. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-13.html +557 -0
  587. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-13.txt +9 -0
  588. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-14.apache.html +39 -0
  589. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-14.html +557 -0
  590. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-14.txt +9 -0
  591. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-15.apache.html +39 -0
  592. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-15.html +557 -0
  593. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-15.txt +0 -0
  594. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-16.apache.html +39 -0
  595. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-16.html +557 -0
  596. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-16.txt +0 -0
  597. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-17.apache.html +39 -0
  598. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-17.html +557 -0
  599. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-17.txt +9 -0
  600. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-18.apache.html +39 -0
  601. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-18.html +557 -0
  602. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-18.txt +9 -0
  603. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-19.apache.html +39 -0
  604. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-19.html +557 -0
  605. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-19.txt +9 -0
  606. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-2.apache.html +39 -0
  607. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-2.html +557 -0
  608. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-2.txt +9 -0
  609. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-20.apache.html +39 -0
  610. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-20.html +557 -0
  611. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-20.txt +9 -0
  612. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-21.apache.html +39 -0
  613. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-21.html +557 -0
  614. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-21.txt +9 -0
  615. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-22.apache.html +39 -0
  616. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-22.html +557 -0
  617. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-22.txt +9 -0
  618. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-23.apache.html +39 -0
  619. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-23.html +557 -0
  620. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-23.txt +9 -0
  621. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-24.apache.html +39 -0
  622. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-24.html +557 -0
  623. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-24.txt +1 -0
  624. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-25.apache.html +39 -0
  625. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-25.html +557 -0
  626. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-25.txt +0 -0
  627. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-26.apache.html +39 -0
  628. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-26.html +557 -0
  629. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-26.txt +9 -0
  630. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-27.txt +430 -0
  631. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-3.apache.html +39 -0
  632. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-3.html +557 -0
  633. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-3.txt +9 -0
  634. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-4.apache.html +39 -0
  635. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-4.html +557 -0
  636. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-4.txt +9 -0
  637. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-5.apache.html +39 -0
  638. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-5.html +557 -0
  639. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-5.txt +9 -0
  640. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-6.apache.html +39 -0
  641. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-6.html +557 -0
  642. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-6.txt +1 -0
  643. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-7.apache.html +39 -0
  644. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-7.html +557 -0
  645. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-7.txt +1 -0
  646. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-8.apache.html +39 -0
  647. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-8.html +557 -0
  648. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-8.txt +9 -0
  649. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-9.apache.html +39 -0
  650. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-9.html +557 -0
  651. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/c14n-9.txt +9 -0
  652. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/signature.xml +520 -0
  653. data/lib/xml-security-1_4_5/data/interop/c14n/Y4/signatureStripped.xml +110 -0
  654. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/Readme.txt +20 -0
  655. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-0.txt +15 -0
  656. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-1.txt +15 -0
  657. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-10.txt +15 -0
  658. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-11.txt +15 -0
  659. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-12.txt +15 -0
  660. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-13.txt +15 -0
  661. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-14.txt +15 -0
  662. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-15.txt +0 -0
  663. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-16.txt +0 -0
  664. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-17.txt +15 -0
  665. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-18.txt +15 -0
  666. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-19.txt +15 -0
  667. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-2.txt +15 -0
  668. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-20.txt +15 -0
  669. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-21.txt +15 -0
  670. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-22.txt +15 -0
  671. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-23.txt +15 -0
  672. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-24.txt +1 -0
  673. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-25.txt +0 -0
  674. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-26.txt +15 -0
  675. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-27.txt +430 -0
  676. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-3.txt +15 -0
  677. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-4.txt +15 -0
  678. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-5.txt +15 -0
  679. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-6.txt +1 -0
  680. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-7.txt +1 -0
  681. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-8.txt +15 -0
  682. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/c14n-9.txt +15 -0
  683. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/merlin-c14n-three.tar.gz +0 -0
  684. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/signature.xml +526 -0
  685. data/lib/xml-security-1_4_5/data/interop/c14n/Y5/signatureCommented.xml +526 -0
  686. data/lib/xml-security-1_4_5/data/interop/xfilter2/merlin-xpath-filter2-three.tar.gz +0 -0
  687. data/lib/xml-security-1_4_5/data/interop/xfilter2/merlin-xpath-filter2-three/Readme.txt +23 -0
  688. data/lib/xml-security-1_4_5/data/interop/xfilter2/merlin-xpath-filter2-three/c14n-0.apache.html +39 -0
  689. data/lib/xml-security-1_4_5/data/interop/xfilter2/merlin-xpath-filter2-three/c14n-1.apache.html +39 -0
  690. data/lib/xml-security-1_4_5/data/interop/xfilter2/merlin-xpath-filter2-three/sign-spec-c14n-0.txt +11 -0
  691. data/lib/xml-security-1_4_5/data/interop/xfilter2/merlin-xpath-filter2-three/sign-spec-c14n-1.txt +0 -0
  692. data/lib/xml-security-1_4_5/data/interop/xfilter2/merlin-xpath-filter2-three/sign-spec-c14n-2.txt +25 -0
  693. data/lib/xml-security-1_4_5/data/interop/xfilter2/merlin-xpath-filter2-three/sign-spec.tmpl +47 -0
  694. data/lib/xml-security-1_4_5/data/interop/xfilter2/merlin-xpath-filter2-three/sign-spec.xml +122 -0
  695. data/lib/xml-security-1_4_5/data/interop/xfilter2/merlin-xpath-filter2-three/sign-xfdl-c14n-0.txt +3986 -0
  696. data/lib/xml-security-1_4_5/data/interop/xfilter2/merlin-xpath-filter2-three/sign-xfdl.tmpl +4151 -0
  697. data/lib/xml-security-1_4_5/data/interop/xfilter2/merlin-xpath-filter2-three/sign-xfdl.xml +4225 -0
  698. data/lib/xml-security-1_4_5/data/javax/xml/crypto/dsig/demo.signed.xml +144 -0
  699. data/lib/xml-security-1_4_5/data/javax/xml/crypto/dsig/envelopingSignature.xml +4 -0
  700. data/lib/xml-security-1_4_5/data/javax/xml/crypto/dsig/input.xml +15 -0
  701. data/lib/xml-security-1_4_5/data/javax/xml/crypto/dsig/invalid-signature.xml +31 -0
  702. data/lib/xml-security-1_4_5/data/javax/xml/crypto/dsig/signature-enveloping-hmac-sha1-trunclen-0-attack.xml +16 -0
  703. data/lib/xml-security-1_4_5/data/javax/xml/crypto/dsig/signature-enveloping-hmac-sha1-trunclen-8-attack.xml +17 -0
  704. data/lib/xml-security-1_4_5/data/javax/xml/crypto/dsig/signature-external-c14n-xmlatrs.xml +1 -0
  705. data/lib/xml-security-1_4_5/data/javax/xml/crypto/dsig/signature1.xml +42 -0
  706. data/lib/xml-security-1_4_5/data/javax/xml/crypto/dsig/signature2.xml +42 -0
  707. data/lib/xml-security-1_4_5/data/javax/xml/crypto/dsig/signature3.xml +42 -0
  708. data/lib/xml-security-1_4_5/data/javax/xml/crypto/dsig/xml-stylesheet +341 -0
  709. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/31_c14n-comments.xml +6 -0
  710. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/31_c14n.xml +4 -0
  711. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/31_input.xml +14 -0
  712. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/32_c14n.xml +11 -0
  713. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/32_input.xml +11 -0
  714. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/33_c14n.xml +14 -0
  715. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/33_input.xml +19 -0
  716. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/34_c14n.xml +10 -0
  717. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/34_c14n_validatingParser.xml +9 -0
  718. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/34_input.xml +14 -0
  719. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/34_input_validatingParser.xml +13 -0
  720. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/34_validatingParser.txt +5 -0
  721. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/35_c14n.xml +3 -0
  722. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/35_input.xml +12 -0
  723. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/36_c14n.xml +1 -0
  724. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/36_input.xml +2 -0
  725. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/37_c14n.xml +1 -0
  726. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/37_input.xml +11 -0
  727. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/37_subset.xpath +8 -0
  728. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/38_c14n.xml +1 -0
  729. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/38_input.xml +11 -0
  730. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/doc.dtd +1 -0
  731. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/foo.xml +4 -0
  732. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/md5sum.txt +9 -0
  733. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/testTranslationFromUTF16toUTF8.xml +1 -0
  734. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/in/world.txt +1 -0
  735. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/inExcl/example2_2_1.xml +5 -0
  736. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/inExcl/example2_2_1_c14nized.xml +3 -0
  737. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/inExcl/example2_2_2.xml +5 -0
  738. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/inExcl/example2_2_2_c14nized.xml +3 -0
  739. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/inExcl/example2_2_3.xml +13 -0
  740. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/inExcl/example2_2_3_c14nized_exclusive.xml +7 -0
  741. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/inExcl/example2_2_c14nized_exclusive.xml +3 -0
  742. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/inExcl/example2_4.xml +1 -0
  743. data/lib/xml-security-1_4_5/data/org/apache/xml/security/c14n/inExcl/example2_4_c14nized.xml +1 -0
  744. data/lib/xml-security-1_4_5/data/org/apache/xml/security/encryption/encryptedKey.xml +27 -0
  745. data/lib/xml-security-1_4_5/data/org/apache/xml/security/samples/input/UniLogoA.gif +0 -0
  746. data/lib/xml-security-1_4_5/data/org/apache/xml/security/samples/input/ecdsa.jks +0 -0
  747. data/lib/xml-security-1_4_5/data/org/apache/xml/security/samples/input/ecdsaSignature.xml +38 -0
  748. data/lib/xml-security-1_4_5/data/org/apache/xml/security/samples/input/file_cert +0 -0
  749. data/lib/xml-security-1_4_5/data/org/apache/xml/security/samples/input/genkey.bat +1 -0
  750. data/lib/xml-security-1_4_5/data/org/apache/xml/security/samples/input/keystore.jks +0 -0
  751. data/lib/xml-security-1_4_5/data/org/apache/xml/security/samples/input/keystore2.jks +0 -0
  752. data/lib/xml-security-1_4_5/data/org/apache/xml/security/samples/input/mykeystore +0 -0
  753. data/lib/xml-security-1_4_5/data/org/apache/xml/security/samples/input/test-assertion.xml +1 -0
  754. data/lib/xml-security-1_4_5/data/org/apache/xml/security/samples/input/truststore.jks +0 -0
  755. data/lib/xml-security-1_4_5/data/org/apache/xml/security/temp/extension.xsl +13 -0
  756. data/lib/xml-security-1_4_5/data/org/apache/xml/security/temp/id.xml +11 -0
  757. data/lib/xml-security-1_4_5/data/org/apache/xml/security/temp/id2.xml +9 -0
  758. data/lib/xml-security-1_4_5/data/org/apache/xml/security/temp/key/dsavalue.xml +21 -0
  759. data/lib/xml-security-1_4_5/data/org/apache/xml/security/temp/key/retrieval-from-same-doc-key.xml +1 -0
  760. data/lib/xml-security-1_4_5/data/org/apache/xml/security/temp/key/retrieval-from-same-doc.xml +60 -0
  761. data/lib/xml-security-1_4_5/data/org/apache/xml/security/temp/key/signature-retrievalmethod-dsavalue.xml +17 -0
  762. data/lib/xml-security-1_4_5/data/org/apache/xml/security/temp/key/signature-retrievalmethod-x509data.xml +41 -0
  763. data/lib/xml-security-1_4_5/data/org/apache/xml/security/temp/key/x509data.xml +20 -0
  764. data/lib/xml-security-1_4_5/data/org/apache/xml/security/temp/nuehomepage +29 -0
  765. data/lib/xml-security-1_4_5/data/org/apache/xml/security/temp/signature/signature-bad-c14n-algo.xml +55 -0
  766. data/lib/xml-security-1_4_5/data/org/apache/xml/security/temp/signature/signature-bad-sig-algo.xml +55 -0
  767. data/lib/xml-security-1_4_5/data/org/apache/xml/security/temp/signature/signature-bad-transform-algo.xml +55 -0
  768. data/lib/xml-security-1_4_5/data/org/apache/xml/security/temp/signature/signature-good.xml +55 -0
  769. data/lib/xml-security-1_4_5/data/org/apache/xml/security/testcases/README +9 -0
  770. data/lib/xml-security-1_4_5/data/org/apache/xml/security/testcases/SAML2ArtifactResponse.xml +30 -0
  771. data/lib/xml-security-1_4_5/data/org/apache/xml/security/testcases/out.xml +2 -0
  772. data/lib/xml-security-1_4_5/data/org/apache/xml/security/testcases/upp_sign.xml +18 -0
  773. data/lib/xml-security-1_4_5/data/org/w3c/www/TR/2000/REC-xml-20001006 +3156 -0
  774. data/lib/xml-security-1_4_5/data/org/w3c/www/TR/xml-stylesheet.html +341 -0
  775. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/appendixa/inputs.txt +64 -0
  776. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/appendixa/outputs.txt +64 -0
  777. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/report.sh +24 -0
  778. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec-102-IAIK.output +1 -0
  779. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec-102-IBM.output +1 -0
  780. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec-102-SUN.output +1 -0
  781. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec-102.output +1 -0
  782. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec-102.xpath +1 -0
  783. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec-103-IBM.output +2 -0
  784. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec-103-SUN.output +2 -0
  785. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec-input.xml +11 -0
  786. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec2-102-IAIK.output +1 -0
  787. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec2-102-IBM.output +1 -0
  788. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec2-102-SUN.output +1 -0
  789. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec2-102-UPC.output +2 -0
  790. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec2-102.output +1 -0
  791. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec2-102.xpath +1 -0
  792. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec2-input.xml +11 -0
  793. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec3-103-IAIK.output +2 -0
  794. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec3-103-IBM.output +2 -0
  795. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec3-103.output +2 -0
  796. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec3-103.xpath +1 -0
  797. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-c14n11spec3-input.xml +9 -0
  798. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-1-IAIK.output +14 -0
  799. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-1-IBM.output +14 -0
  800. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-1-SUN.output +14 -0
  801. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-1-UPC.output +14 -0
  802. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-1.output +14 -0
  803. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-1.xpath +1 -0
  804. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-102-UPC.output +1 -0
  805. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-2-IAIK.output +8 -0
  806. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-2-IBM.output +8 -0
  807. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-2-SUN.output +8 -0
  808. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-2-UPC.output +8 -0
  809. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-2.output +8 -0
  810. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-2.xpath +1 -0
  811. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-3-IAIK.output +3 -0
  812. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-3-IBM.output +3 -0
  813. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-3-SUN.output +3 -0
  814. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-3-UPC.output +3 -0
  815. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-3.output +3 -0
  816. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-3.xpath +1 -0
  817. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-4-IAIK.output +1 -0
  818. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-4-IBM.output +1 -0
  819. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-4-SUN.output +1 -0
  820. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-4-UPC.output +1 -0
  821. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-4.output +1 -0
  822. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-4.xpath +1 -0
  823. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-5-IAIK.output +1 -0
  824. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-5-IBM.output +1 -0
  825. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-5-SUN.output +1 -0
  826. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-5-UPC.output +1 -0
  827. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-5.output +1 -0
  828. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-5.xpath +1 -0
  829. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-6-IAIK.output +3 -0
  830. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-6-IBM.output +3 -0
  831. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-6-SUN.output +3 -0
  832. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-6-UPC.output +3 -0
  833. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-6.output +3 -0
  834. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-6.xpath +1 -0
  835. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-7-IAIK.output +7 -0
  836. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-7-IBM.output +7 -0
  837. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-7-SUN.output +7 -0
  838. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-7-UPC.output +7 -0
  839. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-7.output +7 -0
  840. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-7.xpath +1 -0
  841. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlbase-prop-input.xml +17 -0
  842. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlid-1-IAIK.output +8 -0
  843. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlid-1-IBM.output +8 -0
  844. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlid-1-SUN.output +8 -0
  845. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlid-1-UPC.output +8 -0
  846. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlid-1.output +8 -0
  847. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlid-1.xpath +1 -0
  848. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlid-2-IAIK.output +5 -0
  849. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlid-2-IBM.output +5 -0
  850. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlid-2-SUN.output +5 -0
  851. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlid-2-UPC.output +5 -0
  852. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlid-2.output +5 -0
  853. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlid-2.xpath +1 -0
  854. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlid-input.xml +15 -0
  855. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-1-IAIK.output +8 -0
  856. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-1-IBM.output +8 -0
  857. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-1-SUN.output +8 -0
  858. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-1-UPC.output +8 -0
  859. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-1.output +8 -0
  860. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-1.xpath +1 -0
  861. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-2-IAIK.output +3 -0
  862. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-2-IBM.output +3 -0
  863. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-2-SUN.output +3 -0
  864. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-2-UPC.output +3 -0
  865. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-2.output +3 -0
  866. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-2.xpath +1 -0
  867. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-3-IAIK.output +3 -0
  868. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-3-IBM.output +3 -0
  869. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-3-SUN.output +3 -0
  870. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-3-UPC.output +3 -0
  871. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-3.output +3 -0
  872. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-3.xpath +1 -0
  873. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-4-IAIK.output +5 -0
  874. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-4-IBM.output +5 -0
  875. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-4-SUN.output +5 -0
  876. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-4-UPC.output +5 -0
  877. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-4.output +5 -0
  878. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-4.xpath +1 -0
  879. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmllang-input.xml +15 -0
  880. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-1-IAIK.output +8 -0
  881. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-1-IBM.output +8 -0
  882. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-1-SUN.output +8 -0
  883. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-1-UPC.output +8 -0
  884. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-1.output +8 -0
  885. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-1.xpath +1 -0
  886. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-2-IAIK.output +3 -0
  887. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-2-IBM.output +3 -0
  888. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-2-SUN.output +3 -0
  889. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-2-UPC.output +3 -0
  890. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-2.output +3 -0
  891. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-2.xpath +1 -0
  892. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-3-IAIK.output +3 -0
  893. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-3-IBM.output +3 -0
  894. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-3-SUN.output +3 -0
  895. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-3-UPC.output +3 -0
  896. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-3.output +3 -0
  897. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-3.xpath +1 -0
  898. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-4-IAIK.output +5 -0
  899. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-4-IBM.output +5 -0
  900. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-4-SUN.output +5 -0
  901. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-4-UPC.output +5 -0
  902. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-4.output +5 -0
  903. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-4.xpath +1 -0
  904. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/c14n11/xmlspace-input.xml +15 -0
  905. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/testcases.html +3754 -0
  906. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/Makefile +8 -0
  907. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/digest.xsl +14 -0
  908. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/report.html +344 -0
  909. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/report.sh +83 -0
  910. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/testcases +20 -0
  911. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xml-base-c14n11spec-input.xml +11 -0
  912. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xml-base-c14n11spec2-input.xml +11 -0
  913. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xml-base-c14n11spec3-input.xml +9 -0
  914. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xml-base-input.xml +17 -0
  915. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xml-id-input.xml +15 -0
  916. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xml-lang-input.xml +15 -0
  917. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xml-space-input.xml +15 -0
  918. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec-102-IAIK-ref0.derefURI +13 -0
  919. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec-102-IAIK-ref0.digestinput +1 -0
  920. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec-102-IAIK.xml +2 -0
  921. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec-102-IBM.xml +1 -0
  922. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec-102-ORCL.xml +1 -0
  923. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec-102-SUN.xml +1 -0
  924. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec-102-UPC.OUTPUT +1 -0
  925. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec-102-UPC.xml +2 -0
  926. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec-102-template.xml +2 -0
  927. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec2-102-IAIK-ref0.derefURI +13 -0
  928. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec2-102-IAIK-ref0.digestinput +1 -0
  929. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec2-102-IAIK.xml +2 -0
  930. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec2-102-IBM.xml +1 -0
  931. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec2-102-ORCL.xml +1 -0
  932. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec2-102-SUN.xml +1 -0
  933. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec2-102-UPC.output +2 -0
  934. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec2-102-template.xml +2 -0
  935. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec3-103-IAIK.xml +2 -0
  936. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec3-103-IBM.xml +1 -0
  937. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec3-103-ORCL.xml +1 -0
  938. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec3-103-SUN.xml +1 -0
  939. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec3-103-UPC.output +2 -0
  940. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec3-103-UPC.xml +2 -0
  941. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-c14n11spec3-103-template.xml +2 -0
  942. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-1-IAIK-ref0.derefURI +20 -0
  943. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-1-IAIK-ref0.digestinput +14 -0
  944. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-1-IAIK.xml +2 -0
  945. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-1-IBM.xml +1 -0
  946. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-1-ORCL.xml +1 -0
  947. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-1-SUN.xml +1 -0
  948. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-1-UPC.xml +2 -0
  949. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-1-template.xml +2 -0
  950. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-2-IAIK-ref0.derefURI +20 -0
  951. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-2-IAIK-ref0.digestinput +8 -0
  952. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-2-IAIK.xml +2 -0
  953. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-2-IBM.xml +1 -0
  954. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-2-ORCL.xml +1 -0
  955. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-2-SUN.xml +1 -0
  956. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-2-UPC.xml +2 -0
  957. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-2-template.xml +2 -0
  958. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-3-IAIK-ref0.derefURI +20 -0
  959. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-3-IAIK-ref0.digestinput +3 -0
  960. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-3-IAIK.xml +2 -0
  961. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-3-IBM.xml +1 -0
  962. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-3-ORCL.xml +1 -0
  963. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-3-SUN.xml +1 -0
  964. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-3-UPC.xml +2 -0
  965. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-3-template.xml +2 -0
  966. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-4-IAIK-ref0.derefURI +20 -0
  967. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-4-IAIK-ref0.digestinput +1 -0
  968. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-4-IAIK.xml +2 -0
  969. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-4-IBM.xml +1 -0
  970. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-4-ORCL.xml +1 -0
  971. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-4-SUN.xml +1 -0
  972. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-4-UPC.xml +2 -0
  973. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-4-template.xml +2 -0
  974. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-5-IAIK-ref0.derefURI +20 -0
  975. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-5-IAIK-ref0.digestinput +1 -0
  976. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-5-IAIK.xml +2 -0
  977. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-5-IBM.xml +1 -0
  978. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-5-ORCL.xml +1 -0
  979. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-5-SUN.xml +1 -0
  980. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-5-UPC.xml +2 -0
  981. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-5-template.xml +2 -0
  982. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-6-IAIK-ref0.derefURI +20 -0
  983. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-6-IAIK-ref0.digestinput +3 -0
  984. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-6-IAIK.xml +2 -0
  985. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-6-IBM.xml +1 -0
  986. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-6-ORCL.xml +1 -0
  987. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-6-SUN.xml +1 -0
  988. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-6-UPC.xml +2 -0
  989. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-6-template.xml +2 -0
  990. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-7-IAIK-ref0.derefURI +20 -0
  991. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-7-IAIK-ref0.digestinput +7 -0
  992. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-7-IAIK.xml +2 -0
  993. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-7-IBM.xml +1 -0
  994. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-7-ORCL.xml +1 -0
  995. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-7-SUN.xml +1 -0
  996. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-7-UPC.xml +2 -0
  997. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlbase-prop-7-template.xml +2 -0
  998. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlid-1-IAIK-ref0.derefURI +17 -0
  999. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlid-1-IAIK-ref0.digestinput +8 -0
  1000. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlid-1-IAIK.xml +2 -0
  1001. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlid-1-IBM.xml +1 -0
  1002. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlid-1-ORCL.xml +1 -0
  1003. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlid-1-SUN.xml +1 -0
  1004. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlid-1-UPC.xml +2 -0
  1005. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlid-1-template.xml +2 -0
  1006. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlid-2-IAIK-ref0.derefURI +17 -0
  1007. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlid-2-IAIK-ref0.digestinput +5 -0
  1008. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlid-2-IAIK.xml +2 -0
  1009. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlid-2-IBM.xml +1 -0
  1010. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlid-2-ORCL.xml +1 -0
  1011. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlid-2-SUN.xml +1 -0
  1012. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlid-2-UPC.xml +2 -0
  1013. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlid-2-template.xml +2 -0
  1014. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-1-IAIK-ref0.derefURI +17 -0
  1015. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-1-IAIK-ref0.digestinput +8 -0
  1016. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-1-IAIK.xml +2 -0
  1017. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-1-IBM.xml +1 -0
  1018. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-1-ORCL.xml +1 -0
  1019. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-1-SUN.xml +1 -0
  1020. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-1-UPC.xml +2 -0
  1021. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-1-positive.xml +2 -0
  1022. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-1-template.xml +2 -0
  1023. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-2-IAIK-ref0.derefURI +17 -0
  1024. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-2-IAIK-ref0.digestinput +3 -0
  1025. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-2-IAIK.xml +2 -0
  1026. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-2-IBM.xml +1 -0
  1027. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-2-ORCL.xml +1 -0
  1028. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-2-SUN.xml +1 -0
  1029. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-2-UPC.xml +2 -0
  1030. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-2-template.xml +2 -0
  1031. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-3-IAIK-ref0.derefURI +17 -0
  1032. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-3-IAIK-ref0.digestinput +3 -0
  1033. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-3-IAIK.xml +2 -0
  1034. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-3-IBM.xml +1 -0
  1035. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-3-ORCL.xml +1 -0
  1036. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-3-SUN.xml +1 -0
  1037. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-3-UPC.xml +2 -0
  1038. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-3-template.xml +2 -0
  1039. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-4-IAIK-ref0.derefURI +17 -0
  1040. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-4-IAIK-ref0.digestinput +5 -0
  1041. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-4-IAIK.xml +2 -0
  1042. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-4-IBM.xml +1 -0
  1043. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-4-ORCL.xml +1 -0
  1044. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-4-SUN.xml +1 -0
  1045. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-4-UPC.xml +2 -0
  1046. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmllang-4-template.xml +2 -0
  1047. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-1-IAIK-ref0.derefURI +17 -0
  1048. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-1-IAIK-ref0.digestinput +8 -0
  1049. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-1-IAIK.xml +2 -0
  1050. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-1-IBM.xml +1 -0
  1051. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-1-ORCL.xml +1 -0
  1052. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-1-SUN.xml +1 -0
  1053. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-1-UPC.xml +2 -0
  1054. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-1-template.xml +2 -0
  1055. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-2-IAIK-ref0.derefURI +17 -0
  1056. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-2-IAIK-ref0.digestinput +3 -0
  1057. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-2-IAIK.xml +2 -0
  1058. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-2-IBM.xml +1 -0
  1059. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-2-ORCL.xml +1 -0
  1060. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-2-SUN.xml +1 -0
  1061. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-2-UPC.xml +2 -0
  1062. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-2-template.xml +2 -0
  1063. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-3-IAIK-ref0.derefURI +17 -0
  1064. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-3-IAIK-ref0.digestinput +3 -0
  1065. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-3-IAIK.xml +2 -0
  1066. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-3-IBM.xml +1 -0
  1067. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-3-ORCL.xml +1 -0
  1068. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-3-SUN.xml +1 -0
  1069. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-3-UPC.xml +2 -0
  1070. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-3-template.xml +2 -0
  1071. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-4-IAIK-ref0.derefURI +17 -0
  1072. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-4-IAIK-ref0.digestinput +5 -0
  1073. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-4-IAIK.xml +2 -0
  1074. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-4-IBM.xml +1 -0
  1075. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-4-ORCL.xml +1 -0
  1076. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-4-SUN.xml +1 -0
  1077. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-4-UPC.xml +2 -0
  1078. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/c14n11/xmlspace-4-template.xml +2 -0
  1079. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/defCan-1-IAIK-ref0.derefURI +20 -0
  1080. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/defCan-1-IAIK-ref0.digestinput +14 -0
  1081. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/defCan-1-IAIK.xml +2 -0
  1082. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/defCan-1-IBM.xml +1 -0
  1083. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/defCan-1-SUN.xml +1 -0
  1084. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/defCan-1-signature.xml +2 -0
  1085. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/defCan-1-template.xml +2 -0
  1086. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/defCan-2-IAIK-ref0.derefURI +20 -0
  1087. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/defCan-2-IAIK-ref0.digestinput +1 -0
  1088. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/defCan-2-IAIK.xml +2 -0
  1089. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/defCan-2-signature.xml +2 -0
  1090. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/defCan-2-template.xml +2 -0
  1091. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/defCan-3-IAIK-ref0.derefURI +20 -0
  1092. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/defCan-3-IAIK-ref0.digestinput +3 -0
  1093. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/defCan-3-IAIK.xml +2 -0
  1094. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/defCan-3-signature.xml +2 -0
  1095. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/defCan-3-template.xml +2 -0
  1096. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/certs/Control.crt +0 -0
  1097. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/certs/Equals.crt +0 -0
  1098. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/certs/Escaped.crt +0 -0
  1099. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/certs/John.crt +0 -0
  1100. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/certs/Null.crt +0 -0
  1101. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/certs/Number.crt +0 -0
  1102. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/certs/Spacey.crt +0 -0
  1103. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/certs/Trailing.crt +0 -0
  1104. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/certs/export.sh +5 -0
  1105. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/certs/keystore.jks +0 -0
  1106. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/certs/keystore.p12 +0 -0
  1107. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/certs/run.sh +5 -0
  1108. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-1-IAIK-ref0.derefURI +6 -0
  1109. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-1-IAIK-ref0.digestinput +1 -0
  1110. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-1-IAIK.xml +2 -0
  1111. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-1-ORCL.xml +1 -0
  1112. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-1-SUN.xml +1 -0
  1113. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-1-UPC.xml +1 -0
  1114. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-1-template.xml +3 -0
  1115. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-1a-template.xml +3 -0
  1116. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-2-IAIK-ref0.derefURI +6 -0
  1117. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-2-IAIK-ref0.digestinput +1 -0
  1118. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-2-IAIK.xml +2 -0
  1119. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-2-ORCL.xml +1 -0
  1120. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-2-SUN.xml +1 -0
  1121. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-2-UPC.xml +1 -0
  1122. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-2-template.xml +3 -0
  1123. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-3-IAIK-ref0.derefURI +6 -0
  1124. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-3-IAIK-ref0.digestinput +1 -0
  1125. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-3-IAIK.xml +2 -0
  1126. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-3-ORCL.xml +1 -0
  1127. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-3-SUN.xml +1 -0
  1128. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-3-UPC.xml +1 -0
  1129. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-3-template.xml +3 -0
  1130. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-4-IAIK-ref0.derefURI +6 -0
  1131. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-4-IAIK-ref0.digestinput +1 -0
  1132. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-4-IAIK.xml +2 -0
  1133. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-4-ORCL.xml +1 -0
  1134. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-4-SUN.xml +1 -0
  1135. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-4-UPC.xml +1 -0
  1136. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-4-template.xml +3 -0
  1137. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-5-IAIK-ref0.derefURI +6 -0
  1138. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-5-IAIK-ref0.digestinput +1 -0
  1139. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-5-IAIK.xml +2 -0
  1140. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-5-ORCL.xml +1 -0
  1141. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-5-SUN.xml +1 -0
  1142. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-5-UPC.xml +1 -0
  1143. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-5-template.xml +3 -0
  1144. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-6-UPC.xml +1 -0
  1145. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-7-UPC.xml +1 -0
  1146. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/diffRFCs-8-UPC.xml +1 -0
  1147. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-4-IAIK-ref0.derefURI +6 -0
  1148. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-4-IAIK-ref0.digestinput +1 -0
  1149. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-4-IAIK.xml +2 -0
  1150. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-4-ORCL.xml +1 -0
  1151. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-4-SUN.xml +1 -0
  1152. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-4-UPC.xml +1 -0
  1153. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-4-template.xml +3 -0
  1154. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-6-IAIK-ref0.derefURI +6 -0
  1155. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-6-IAIK-ref0.digestinput +1 -0
  1156. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-6-IAIK.xml +2 -0
  1157. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-6-ORCL.xml +1 -0
  1158. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-6-SUN.xml +1 -0
  1159. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-6-UPC.xml +1 -0
  1160. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-6-template.xml +3 -0
  1161. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-8-IAIK-ref0.derefURI +6 -0
  1162. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-8-IAIK-ref0.digestinput +1 -0
  1163. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-8-IAIK.xml +2 -0
  1164. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-8-ORCL.xml +1 -0
  1165. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-8-SUN.xml +1 -0
  1166. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-8-UPC.xml +1 -0
  1167. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/dnString-8-template.xml +3 -0
  1168. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/input.txt +1 -0
  1169. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/dname/inventory +3 -0
  1170. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/inventory +3 -0
  1171. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/report.html +323 -0
  1172. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/report.sh +128 -0
  1173. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/input.xml +22 -0
  1174. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/inventory +6 -0
  1175. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-1-IAIK-ref0.derefURI +134 -0
  1176. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-1-IAIK-ref0.digestinput +21 -0
  1177. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-1-IAIK.xml +22 -0
  1178. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-1-IBM.xml +21 -0
  1179. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-1-ORCL.xml +21 -0
  1180. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-1-SUN.xml +21 -0
  1181. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-1-UPC.xml +21 -0
  1182. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-1-template.xml +3 -0
  1183. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-1.pointervalue +1 -0
  1184. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-2-IAIK-ref0.derefURI +47 -0
  1185. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-2-IAIK-ref0.digestinput +11 -0
  1186. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-2-IAIK.xml +22 -0
  1187. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-2-IBM.xml +21 -0
  1188. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-2-ORCL.xml +21 -0
  1189. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-2-SUN.xml +21 -0
  1190. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-2-UPC.xml +21 -0
  1191. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-2-template.xml +3 -0
  1192. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-2.pointervalue +1 -0
  1193. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-3-IAIK-ref0.derefURI +129 -0
  1194. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-3-IAIK-ref0.digestinput +21 -0
  1195. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-3-IAIK.xml +22 -0
  1196. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-3-IBM.xml +21 -0
  1197. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-3-ORCL.xml +21 -0
  1198. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-3-SUN.xml +21 -0
  1199. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-3-UPC.xml +21 -0
  1200. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-3-template.xml +3 -0
  1201. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-4-IAIK-ref0.derefURI +44 -0
  1202. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-4-IAIK-ref0.digestinput +11 -0
  1203. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-4-IAIK.xml +22 -0
  1204. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-4-IBM.xml +21 -0
  1205. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-4-ORCL.xml +21 -0
  1206. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-4-SUN.xml +21 -0
  1207. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-4-UPC.xml +21 -0
  1208. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-4-template.xml +3 -0
  1209. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-4.pointervalue +1 -0
  1210. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-5-IAIK-ref0.derefURI +47 -0
  1211. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-5-IAIK-ref0.digestinput +11 -0
  1212. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-5-IAIK-ref1.derefURI +18 -0
  1213. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-5-IAIK-ref1.digestinput +4 -0
  1214. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-5-IAIK-ref2.derefURI +16 -0
  1215. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-5-IAIK-ref2.digestinput +3 -0
  1216. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-5-IAIK.xml +22 -0
  1217. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-5-IBM.xml +21 -0
  1218. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-5-ORCL.xml +21 -0
  1219. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-5-SUN.xml +21 -0
  1220. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-5-UPC.xml +21 -0
  1221. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-5-firsturi.pointervalue +1 -0
  1222. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-5-seconduri.pointervalue +1 -0
  1223. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-5-template.xml +3 -0
  1224. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-5-thirduri.pointervalue +1 -0
  1225. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-6-IAIK-ref0.derefURI +44 -0
  1226. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-6-IAIK-ref0.digestinput +11 -0
  1227. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-6-IAIK-ref1.derefURI +17 -0
  1228. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-6-IAIK-ref1.digestinput +4 -0
  1229. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-6-IAIK-ref2.derefURI +16 -0
  1230. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-6-IAIK-ref2.digestinput +3 -0
  1231. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-6-IAIK.xml +22 -0
  1232. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-6-IBM.xml +21 -0
  1233. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-6-ORCL.xml +21 -0
  1234. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-6-SUN.xml +21 -0
  1235. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-6-UPC.xml +21 -0
  1236. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-6-firsturi.pointervalue +1 -0
  1237. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-6-seconduri.pointervalue +1 -0
  1238. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-6-template.xml +3 -0
  1239. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-6-thirduri.pointervalue +1 -0
  1240. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointer-optional-1.pointervalue +1 -0
  1241. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointerscheme-1-IAIK-ref0.derefURI +23 -0
  1242. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointerscheme-1-IAIK-ref0.digestinput +4 -0
  1243. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointerscheme-1-IAIK-ref1.derefURI +18 -0
  1244. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointerscheme-1-IAIK-ref1.digestinput +4 -0
  1245. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointerscheme-1-IAIK.xml +22 -0
  1246. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointerscheme-1-template.xml +3 -0
  1247. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointerscheme-2-negative-template.xml +3 -0
  1248. data/lib/xml-security-1_4_5/data/org/w3c/www/interop/xmldsig/xpointer/xpointerscheme-Readme-RFC2396_RFC2732-diff-RFC3986.txt +185 -0
  1249. data/lib/xml-security-1_4_5/data/test.jks +0 -0
  1250. data/lib/xml-security-1_4_5/data/websig.conf +14 -0
  1251. data/lib/xml-security-1_4_5/data/websigMiflet.xml +42 -0
  1252. data/lib/xml-security-1_4_5/data/xmlsecurity.jin +428 -0
  1253. data/lib/xml-security-1_4_5/doc/Java/api/allclasses-frame.html +492 -0
  1254. data/lib/xml-security-1_4_5/doc/Java/api/allclasses-noframe.html +492 -0
  1255. data/lib/xml-security-1_4_5/doc/Java/api/constant-values.html +2298 -0
  1256. data/lib/xml-security-1_4_5/doc/Java/api/deprecated-list.html +247 -0
  1257. data/lib/xml-security-1_4_5/doc/Java/api/help-doc.html +187 -0
  1258. data/lib/xml-security-1_4_5/doc/Java/api/index-all.html +6171 -0
  1259. data/lib/xml-security-1_4_5/doc/Java/api/index.html +26 -0
  1260. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/AlgorithmMethod.html +253 -0
  1261. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/Data.html +195 -0
  1262. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/KeySelector.Purpose.html +328 -0
  1263. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/KeySelector.html +337 -0
  1264. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/KeySelectorException.html +423 -0
  1265. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/KeySelectorResult.html +227 -0
  1266. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/MarshalException.html +424 -0
  1267. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/NoSuchMechanismException.html +426 -0
  1268. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/NodeSetData.html +239 -0
  1269. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/OctetStreamData.html +347 -0
  1270. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/URIDereferencer.html +243 -0
  1271. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/URIReference.html +253 -0
  1272. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/URIReferenceException.html +479 -0
  1273. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/XMLCryptoContext.html +591 -0
  1274. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/XMLStructure.html +232 -0
  1275. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dom/DOMCryptoContext.html +774 -0
  1276. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dom/DOMStructure.html +311 -0
  1277. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dom/DOMURIReference.html +239 -0
  1278. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dom/package-frame.html +45 -0
  1279. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dom/package-summary.html +195 -0
  1280. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dom/package-tree.html +152 -0
  1281. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/CanonicalizationMethod.html +394 -0
  1282. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/DigestMethod.html +369 -0
  1283. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/Manifest.html +327 -0
  1284. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/Reference.html +495 -0
  1285. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/SignatureMethod.html +349 -0
  1286. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/SignatureProperties.html +327 -0
  1287. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/SignatureProperty.html +320 -0
  1288. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/SignedInfo.html +361 -0
  1289. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/Transform.html +475 -0
  1290. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/TransformException.html +425 -0
  1291. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/TransformService.html +669 -0
  1292. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/XMLObject.html +392 -0
  1293. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/XMLSignContext.html +223 -0
  1294. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/XMLSignature.SignatureValue.html +324 -0
  1295. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/XMLSignature.html +532 -0
  1296. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/XMLSignatureException.html +422 -0
  1297. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/XMLSignatureFactory.html +1408 -0
  1298. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/XMLValidateContext.html +223 -0
  1299. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/dom/DOMSignContext.html +470 -0
  1300. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/dom/DOMValidateContext.html +360 -0
  1301. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/dom/package-frame.html +34 -0
  1302. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/dom/package-summary.html +179 -0
  1303. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/dom/package-tree.html +148 -0
  1304. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/keyinfo/KeyInfo.html +348 -0
  1305. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/keyinfo/KeyInfoFactory.html +962 -0
  1306. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/keyinfo/KeyName.html +255 -0
  1307. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/keyinfo/KeyValue.html +361 -0
  1308. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/keyinfo/PGPData.html +372 -0
  1309. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/keyinfo/RetrievalMethod.html +343 -0
  1310. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/keyinfo/X509Data.html +343 -0
  1311. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/keyinfo/X509IssuerSerial.html +295 -0
  1312. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/keyinfo/package-frame.html +55 -0
  1313. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/keyinfo/package-summary.html +240 -0
  1314. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/keyinfo/package-tree.html +154 -0
  1315. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/package-frame.html +84 -0
  1316. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/package-summary.html +315 -0
  1317. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/package-tree.html +174 -0
  1318. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/spec/C14NMethodParameterSpec.html +195 -0
  1319. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/spec/DigestMethodParameterSpec.html +192 -0
  1320. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/spec/ExcC14NParameterSpec.html +350 -0
  1321. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/spec/HMACParameterSpec.html +284 -0
  1322. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/spec/SignatureMethodParameterSpec.html +195 -0
  1323. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/spec/TransformParameterSpec.html +198 -0
  1324. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/spec/XPathFilter2ParameterSpec.html +283 -0
  1325. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/spec/XPathFilterParameterSpec.html +338 -0
  1326. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/spec/XPathType.Filter.html +306 -0
  1327. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/spec/XPathType.html +394 -0
  1328. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/spec/XSLTTransformParameterSpec.html +285 -0
  1329. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/spec/package-frame.html +61 -0
  1330. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/spec/package-summary.html +245 -0
  1331. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/dsig/spec/package-tree.html +157 -0
  1332. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/package-frame.html +78 -0
  1333. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/package-summary.html +259 -0
  1334. data/lib/xml-security-1_4_5/doc/Java/api/javax/xml/crypto/package-tree.html +158 -0
  1335. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/Init.html +318 -0
  1336. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/Algorithm.html +340 -0
  1337. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/JCEMapper.Algorithm.html +227 -0
  1338. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/JCEMapper.html +413 -0
  1339. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/MessageDigestAlgorithm.html +748 -0
  1340. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/SignatureAlgorithm.html +833 -0
  1341. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/SignatureAlgorithmSpi.html +638 -0
  1342. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/IntegrityHmac.IntegrityHmacMD5.html +300 -0
  1343. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/IntegrityHmac.IntegrityHmacRIPEMD160.html +300 -0
  1344. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/IntegrityHmac.IntegrityHmacSHA1.html +300 -0
  1345. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/IntegrityHmac.IntegrityHmacSHA256.html +300 -0
  1346. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/IntegrityHmac.IntegrityHmacSHA384.html +300 -0
  1347. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/IntegrityHmac.IntegrityHmacSHA512.html +300 -0
  1348. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/IntegrityHmac.html +759 -0
  1349. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/SignatureBaseRSA.SignatureRSAMD5.html +310 -0
  1350. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/SignatureBaseRSA.SignatureRSARIPEMD160.html +310 -0
  1351. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/SignatureBaseRSA.SignatureRSASHA1.html +310 -0
  1352. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/SignatureBaseRSA.SignatureRSASHA256.html +310 -0
  1353. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/SignatureBaseRSA.SignatureRSASHA384.html +310 -0
  1354. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/SignatureBaseRSA.SignatureRSASHA512.html +310 -0
  1355. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/SignatureBaseRSA.html +724 -0
  1356. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/SignatureDSA.html +690 -0
  1357. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/SignatureECDSA.SignatureECDSASHA1.html +310 -0
  1358. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/SignatureECDSA.html +684 -0
  1359. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/package-frame.html +64 -0
  1360. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/package-summary.html +228 -0
  1361. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/implementations/package-tree.html +151 -0
  1362. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/package-frame.html +42 -0
  1363. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/package-summary.html +185 -0
  1364. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/algorithms/package-tree.html +149 -0
  1365. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/CanonicalizationException.html +340 -0
  1366. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/Canonicalizer.html +773 -0
  1367. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/CanonicalizerSpi.html +530 -0
  1368. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/InvalidCanonicalizerException.html +336 -0
  1369. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/helper/AttrCompare.html +301 -0
  1370. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/helper/C14nHelper.html +378 -0
  1371. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/helper/package-frame.html +34 -0
  1372. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/helper/package-summary.html +168 -0
  1373. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/helper/package-tree.html +144 -0
  1374. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/implementations/Canonicalizer11.html +353 -0
  1375. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/implementations/Canonicalizer11_OmitComments.html +342 -0
  1376. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/implementations/Canonicalizer11_WithComments.html +342 -0
  1377. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/implementations/Canonicalizer20010315.html +352 -0
  1378. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/implementations/Canonicalizer20010315Excl.html +441 -0
  1379. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/implementations/Canonicalizer20010315ExclOmitComments.html +338 -0
  1380. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/implementations/Canonicalizer20010315ExclWithComments.html +348 -0
  1381. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/implementations/Canonicalizer20010315OmitComments.html +344 -0
  1382. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/implementations/Canonicalizer20010315WithComments.html +344 -0
  1383. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/implementations/CanonicalizerBase.html +403 -0
  1384. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/implementations/NameSpaceSymbTable.html +527 -0
  1385. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/implementations/UtfHelpper.html +250 -0
  1386. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/implementations/package-frame.html +54 -0
  1387. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/implementations/package-summary.html +217 -0
  1388. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/implementations/package-tree.html +153 -0
  1389. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/package-frame.html +47 -0
  1390. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/package-summary.html +186 -0
  1391. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/c14n/package-tree.html +150 -0
  1392. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/AgreementMethod.html +469 -0
  1393. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/CipherData.html +389 -0
  1394. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/CipherReference.html +325 -0
  1395. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/CipherValue.html +246 -0
  1396. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/EncryptedData.html +212 -0
  1397. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/EncryptedKey.html +399 -0
  1398. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/EncryptedType.html +594 -0
  1399. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/EncryptionMethod.html +393 -0
  1400. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/EncryptionProperties.html +326 -0
  1401. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/EncryptionProperty.html +416 -0
  1402. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/Reference.html +335 -0
  1403. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/ReferenceList.html +426 -0
  1404. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/Transforms.html +235 -0
  1405. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/XMLCipher.html +1930 -0
  1406. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/XMLCipherInput.html +298 -0
  1407. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/XMLCipherParameters.html +537 -0
  1408. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/XMLEncryptionException.html +324 -0
  1409. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/package-frame.html +82 -0
  1410. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/package-summary.html +279 -0
  1411. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/encryption/package-tree.html +157 -0
  1412. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/exceptions/AlgorithmAlreadyRegisteredException.html +336 -0
  1413. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/exceptions/Base64DecodingException.html +340 -0
  1414. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/exceptions/XMLSecurityException.html +551 -0
  1415. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/exceptions/XMLSecurityRuntimeException.html +549 -0
  1416. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/exceptions/package-frame.html +38 -0
  1417. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/exceptions/package-summary.html +176 -0
  1418. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/exceptions/package-tree.html +152 -0
  1419. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/ContentHandlerAlreadyRegisteredException.html +336 -0
  1420. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/KeyInfo.html +1521 -0
  1421. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/KeyUtils.html +238 -0
  1422. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/KeyInfoContent.html +189 -0
  1423. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/KeyName.html +350 -0
  1424. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/KeyValue.html +416 -0
  1425. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/MgmtData.html +350 -0
  1426. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/PGPData.html +308 -0
  1427. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/RetrievalMethod.html +576 -0
  1428. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/SPKIData.html +308 -0
  1429. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/X509Data.html +1185 -0
  1430. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/keyvalues/DSAKeyValue.html +381 -0
  1431. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/keyvalues/KeyValueContent.html +223 -0
  1432. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/keyvalues/RSAKeyValue.html +377 -0
  1433. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/keyvalues/package-frame.html +45 -0
  1434. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/keyvalues/package-summary.html +182 -0
  1435. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/keyvalues/package-tree.html +154 -0
  1436. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/package-frame.html +55 -0
  1437. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/package-summary.html +203 -0
  1438. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/package-tree.html +159 -0
  1439. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/x509/XMLX509CRL.html +353 -0
  1440. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/x509/XMLX509Certificate.html +500 -0
  1441. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/x509/XMLX509DataContent.html +189 -0
  1442. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/x509/XMLX509IssuerSerial.html +504 -0
  1443. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/x509/XMLX509SKI.html +483 -0
  1444. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/x509/XMLX509SubjectName.html +412 -0
  1445. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/x509/package-frame.html +51 -0
  1446. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/x509/package-summary.html +194 -0
  1447. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/content/x509/package-tree.html +157 -0
  1448. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/keyresolver/InvalidKeyResolverException.html +336 -0
  1449. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/keyresolver/KeyResolver.html +643 -0
  1450. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/keyresolver/KeyResolverException.html +336 -0
  1451. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/keyresolver/KeyResolverSpi.html +617 -0
  1452. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/keyresolver/implementations/DSAKeyValueResolver.html +350 -0
  1453. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/keyresolver/implementations/EncryptedKeyResolver.html +384 -0
  1454. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/keyresolver/implementations/RSAKeyValueResolver.html +351 -0
  1455. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/keyresolver/implementations/RetrievalMethodResolver.html +358 -0
  1456. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/keyresolver/implementations/X509CertificateResolver.html +359 -0
  1457. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/keyresolver/implementations/X509IssuerSerialResolver.html +357 -0
  1458. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/keyresolver/implementations/X509SKIResolver.html +354 -0
  1459. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/keyresolver/implementations/X509SubjectNameResolver.html +354 -0
  1460. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/keyresolver/implementations/package-frame.html +46 -0
  1461. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/keyresolver/implementations/package-summary.html +194 -0
  1462. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/keyresolver/implementations/package-tree.html +145 -0
  1463. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/keyresolver/package-frame.html +47 -0
  1464. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/keyresolver/package-summary.html +187 -0
  1465. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/keyresolver/package-tree.html +150 -0
  1466. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/package-frame.html +45 -0
  1467. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/package-summary.html +184 -0
  1468. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/package-tree.html +154 -0
  1469. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/storage/StorageResolver.html +422 -0
  1470. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/storage/StorageResolverException.html +336 -0
  1471. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/storage/StorageResolverSpi.html +260 -0
  1472. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/storage/implementations/CertsInFilesystemDirectoryResolver.html +294 -0
  1473. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/storage/implementations/KeyStoreResolver.html +272 -0
  1474. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/storage/implementations/SingleCertificateResolver.html +267 -0
  1475. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/storage/implementations/package-frame.html +36 -0
  1476. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/storage/implementations/package-summary.html +175 -0
  1477. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/storage/implementations/package-tree.html +145 -0
  1478. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/storage/package-frame.html +45 -0
  1479. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/storage/package-summary.html +182 -0
  1480. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/keys/storage/package-tree.html +150 -0
  1481. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/package-frame.html +32 -0
  1482. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/package-summary.html +189 -0
  1483. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/package-tree.html +143 -0
  1484. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/signature/InvalidDigestValueException.html +341 -0
  1485. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/signature/InvalidSignatureValueException.html +342 -0
  1486. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/signature/Manifest.html +774 -0
  1487. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/signature/MissingResourceFailureException.html +398 -0
  1488. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/signature/NodeFilter.html +252 -0
  1489. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/signature/ObjectContainer.html +477 -0
  1490. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/signature/Reference.html +977 -0
  1491. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/signature/ReferenceNotInitializedException.html +342 -0
  1492. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/signature/SignatureProperties.html +439 -0
  1493. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/signature/SignatureProperty.html +456 -0
  1494. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/signature/SignedInfo.html +655 -0
  1495. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/signature/XMLSignature.html +1296 -0
  1496. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/signature/XMLSignatureException.html +344 -0
  1497. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/signature/XMLSignatureInput.html +1174 -0
  1498. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/signature/XMLSignatureInputDebugger.html +286 -0
  1499. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/signature/package-frame.html +78 -0
  1500. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/signature/package-summary.html +250 -0
  1501. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/signature/package-tree.html +164 -0
  1502. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/InvalidTransformException.html +336 -0
  1503. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/Transform.html +585 -0
  1504. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/TransformParam.html +185 -0
  1505. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/TransformSpi.html +442 -0
  1506. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/TransformationException.html +336 -0
  1507. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/Transforms.html +836 -0
  1508. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/implementations/FuncHere.html +327 -0
  1509. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/implementations/FuncHereContext.html +375 -0
  1510. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/implementations/TransformBase64Decode.html +407 -0
  1511. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/implementations/TransformC14N.html +386 -0
  1512. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/implementations/TransformC14N11.html +360 -0
  1513. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/implementations/TransformC14N11_WithComments.html +360 -0
  1514. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/implementations/TransformC14NExclusive.html +381 -0
  1515. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/implementations/TransformC14NExclusiveWithComments.html +385 -0
  1516. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/implementations/TransformC14NWithComments.html +386 -0
  1517. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/implementations/TransformEnvelopedSignature.html +352 -0
  1518. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/implementations/TransformXPath.html +349 -0
  1519. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/implementations/TransformXPath2Filter.html +347 -0
  1520. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/implementations/TransformXPointer.html +347 -0
  1521. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/implementations/TransformXSLT.html +386 -0
  1522. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/implementations/package-frame.html +58 -0
  1523. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/implementations/package-summary.html +232 -0
  1524. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/implementations/package-tree.html +154 -0
  1525. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/package-frame.html +60 -0
  1526. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/package-summary.html +205 -0
  1527. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/package-tree.html +159 -0
  1528. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/params/InclusiveNamespaces.html +493 -0
  1529. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/params/XPath2FilterContainer.html +667 -0
  1530. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/params/XPath2FilterContainer04.html +582 -0
  1531. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/params/XPathContainer.html +357 -0
  1532. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/params/XPathFilterCHGPContainer.html +616 -0
  1533. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/params/package-frame.html +40 -0
  1534. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/params/package-summary.html +167 -0
  1535. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/transforms/params/package-tree.html +152 -0
  1536. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/Base64.html +778 -0
  1537. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/CachedXPathAPIHolder.html +276 -0
  1538. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/CachedXPathFuncHereAPI.html +594 -0
  1539. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/ClassLoaderUtils.html +326 -0
  1540. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/Constants.html +1586 -0
  1541. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/DigesterOutputStream.html +352 -0
  1542. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/ElementChecker.html +245 -0
  1543. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/ElementCheckerImpl.EmptyChecker.html +294 -0
  1544. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/ElementCheckerImpl.FullChecker.html +294 -0
  1545. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/ElementCheckerImpl.InternedNsChecker.html +294 -0
  1546. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/ElementCheckerImpl.html +305 -0
  1547. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/ElementProxy.html +928 -0
  1548. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/EncryptionConstants.html +1207 -0
  1549. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/EncryptionElementProxy.html +315 -0
  1550. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/HelperNodeList.html +352 -0
  1551. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/I18n.html +421 -0
  1552. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/IdResolver.html +336 -0
  1553. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/IgnoreAllErrorHandler.html +318 -0
  1554. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/JavaUtils.html +290 -0
  1555. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/RFC2253Parser.html +325 -0
  1556. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/SignatureElementProxy.html +339 -0
  1557. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/SignerOutputStream.html +332 -0
  1558. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/UnsyncBufferedOutputStream.html +356 -0
  1559. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/UnsyncByteArrayOutputStream.html +348 -0
  1560. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/XMLUtils.html +884 -0
  1561. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/XPathFuncHereAPI.html +533 -0
  1562. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/package-frame.html +91 -0
  1563. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/package-summary.html +281 -0
  1564. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/package-tree.html +159 -0
  1565. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/resolver/ResourceResolver.html +576 -0
  1566. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/resolver/ResourceResolverException.html +432 -0
  1567. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/resolver/ResourceResolverSpi.html +482 -0
  1568. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/resolver/implementations/ResolverAnonymous.html +364 -0
  1569. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/resolver/implementations/ResolverDirectHTTP.html +392 -0
  1570. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/resolver/implementations/ResolverFragment.html +358 -0
  1571. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/resolver/implementations/ResolverLocalFilesystem.html +354 -0
  1572. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/resolver/implementations/ResolverXPointer.html +364 -0
  1573. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/resolver/implementations/package-frame.html +40 -0
  1574. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/resolver/implementations/package-summary.html +180 -0
  1575. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/resolver/implementations/package-tree.html +145 -0
  1576. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/resolver/package-frame.html +45 -0
  1577. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/resolver/package-summary.html +183 -0
  1578. data/lib/xml-security-1_4_5/doc/Java/api/org/apache/xml/security/utils/resolver/package-tree.html +150 -0
  1579. data/lib/xml-security-1_4_5/doc/Java/api/overview-frame.html +98 -0
  1580. data/lib/xml-security-1_4_5/doc/Java/api/overview-summary.html +284 -0
  1581. data/lib/xml-security-1_4_5/doc/Java/api/overview-tree.html +274 -0
  1582. data/lib/xml-security-1_4_5/doc/Java/api/package-list +29 -0
  1583. data/lib/xml-security-1_4_5/doc/Java/api/packages.html +31 -0
  1584. data/lib/xml-security-1_4_5/doc/Java/api/resources/inherit.gif +0 -0
  1585. data/lib/xml-security-1_4_5/doc/Java/api/serialized-form.html +874 -0
  1586. data/lib/xml-security-1_4_5/doc/Java/api/stylesheet.css +29 -0
  1587. data/lib/xml-security-1_4_5/libs/commons-logging-1.1.jar +0 -0
  1588. data/lib/xml-security-1_4_5/libs/commons-logging-api-1.1.jar +0 -0
  1589. data/lib/xml-security-1_4_5/libs/serializer-2.7.1.jar +0 -0
  1590. data/lib/xml-security-1_4_5/libs/xalan-2.7.1.jar +0 -0
  1591. data/lib/xml-security-1_4_5/libs/xercesImpl-2.9.1.jar +0 -0
  1592. data/lib/xml-security-1_4_5/libs/xml-apis-1.3.03.jar +0 -0
  1593. data/lib/xml-security-1_4_5/libs/xmlsec-1.4.5.jar +0 -0
  1594. data/lib/xml-security-1_4_5/libs/xmlsecSamples-1.4.5.jar +0 -0
  1595. data/lib/xml-security-1_4_5/libs/xmlsecTests-1.4.5.jar +0 -0
  1596. data/lib/xml-security-1_4_5/provider.properties +53 -0
  1597. data/lib/xml-security-1_4_5/proxy.properties +3 -0
  1598. data/lib/xml-security-1_4_5/src_samples/javax/xml/crypto/dsig/samples/GenDetached.java +151 -0
  1599. data/lib/xml-security-1_4_5/src_samples/javax/xml/crypto/dsig/samples/GenEnveloped.java +166 -0
  1600. data/lib/xml-security-1_4_5/src_samples/javax/xml/crypto/dsig/samples/GenEnveloping.java +159 -0
  1601. data/lib/xml-security-1_4_5/src_samples/javax/xml/crypto/dsig/samples/Validate.java +154 -0
  1602. data/lib/xml-security-1_4_5/src_samples/javax/xml/crypto/dsig/samples/envelope.xml +2 -0
  1603. data/lib/xml-security-1_4_5/src_samples/javax/xml/crypto/dsig/samples/envelopedSignature.xml +6 -0
  1604. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/AxisSigner.java +155 -0
  1605. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/AxisVerifier.java +88 -0
  1606. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/MyResolver.java +62 -0
  1607. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/ResolverUsageHTTP.java +149 -0
  1608. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/SampleUtils.java +31 -0
  1609. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/TransformNoneUser.java +58 -0
  1610. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/TransformPerformanceTester.java +2538 -0
  1611. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/algorithms/HMacSHA1RoundTrip.java +164 -0
  1612. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/canonicalization/CanonByTransform.java +101 -0
  1613. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/canonicalization/CanonDirect.java +94 -0
  1614. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/canonicalization/CanonSubTree.java +102 -0
  1615. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/encryption/Decrypter.java +142 -0
  1616. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/encryption/Encrypter.java +201 -0
  1617. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/iaik/IAIKInterOp.java +211 -0
  1618. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/keys/CreateKeyInfo.java +81 -0
  1619. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/keys/RetrievePublicKeys.java +123 -0
  1620. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/package.html +8 -0
  1621. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/signature/CreateCollectableSignature.java +164 -0
  1622. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/signature/CreateDonaldsAdditionalURISignature.java +244 -0
  1623. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/signature/CreateEnvelopingSignature.java +127 -0
  1624. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/signature/CreateMerlinsExampleSixteen.java +533 -0
  1625. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/signature/CreateMerlinsExampleTwentyThree.java +533 -0
  1626. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/signature/CreateNullURIReference.java +115 -0
  1627. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/signature/CreateSignature.java +174 -0
  1628. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/signature/HereSigner.java +154 -0
  1629. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/signature/NullURIReferenceResolver.java +142 -0
  1630. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/signature/SignaturePropertiesSample.java +98 -0
  1631. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/signature/TestSignature.java +160 -0
  1632. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/signature/VerifyCollectableSignature.java +107 -0
  1633. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/signature/VerifyMerlinsExamplesFifteen.java +178 -0
  1634. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/signature/VerifyMerlinsExamplesSixteen.java +227 -0
  1635. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/signature/VerifyMerlinsExamplesTwentyThree.java +236 -0
  1636. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/signature/VerifySignature.java +183 -0
  1637. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/signature/contract/ThreeSignerContractSign.java +334 -0
  1638. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/signature/contract/ThreeSignerContractVerify.java +111 -0
  1639. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/transforms/SampleTransformChaining.java +107 -0
  1640. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/transforms/SampleTransformEnvelopedSignature.java +98 -0
  1641. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/transforms/SampleTransformNone.java +72 -0
  1642. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/transforms/SampleTransformXPath.java +100 -0
  1643. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/transforms/SampleTransformXPath2Filter.java +218 -0
  1644. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/transforms/SampleTransformXPath2Filter2.java +216 -0
  1645. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/transforms/SampleTransformXPathFilterCHGP.java +265 -0
  1646. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/transforms/SampleTransformXPathHereFunc.java +96 -0
  1647. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/transforms/SampleTransformXSLT.java +143 -0
  1648. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/utils/Base64Sample.java +91 -0
  1649. data/lib/xml-security-1_4_5/src_samples/org/apache/xml/security/samples/utils/resolver/OfflineResolver.java +163 -0
  1650. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/KeySelectorExceptionTest.java +99 -0
  1651. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/KeySelectorTest.java +106 -0
  1652. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/KeySelectors.java +395 -0
  1653. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/OctetStreamDataTest.java +94 -0
  1654. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/AllTests.java +65 -0
  1655. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/AppA.java +30 -0
  1656. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/AppB.java +34 -0
  1657. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/Baltimore18Test.java +121 -0
  1658. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/Baltimore23Test.java +224 -0
  1659. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/BaltimoreExcC14n1Test.java +67 -0
  1660. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/BaltimoreIaik2Test.java +67 -0
  1661. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/BaltimoreXPathFilter2ThreeTest.java +81 -0
  1662. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/C14N11Test.java +155 -0
  1663. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/CanonicalizationMethodTest.java +135 -0
  1664. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/ClassLoaderTest.java +133 -0
  1665. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/ComRSASecurityTest.java +72 -0
  1666. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/CreateBaltimore23Test.java +681 -0
  1667. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/CreateInteropExcC14NTest.java +175 -0
  1668. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/CreateInteropXFilter2Test.java +171 -0
  1669. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/CreatePhaosXMLDSig3Test.java +179 -0
  1670. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/DetachedTest.java +179 -0
  1671. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/DigestMethodTest.java +101 -0
  1672. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/Driver.java +42 -0
  1673. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/IaikCoreFeaturesTest.java +141 -0
  1674. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/IaikSignatureAlgosTest.java +94 -0
  1675. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/IaikTransformsTest.java +89 -0
  1676. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/InteropC14nTest.java +127 -0
  1677. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/LocalHttpCacheURIDereferencer.java +63 -0
  1678. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/ManifestTest.java +171 -0
  1679. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/PhaosXMLDSig3Test.java +295 -0
  1680. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/ReferenceTest.java +283 -0
  1681. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/SecureXSLTTest.java +95 -0
  1682. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/SignatureMethodTest.java +104 -0
  1683. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/SignaturePropertiesTest.java +113 -0
  1684. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/SignaturePropertyTest.java +120 -0
  1685. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/SignatureValidator.java +107 -0
  1686. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/SignedInfoTest.java +140 -0
  1687. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/TestUtils.java +262 -0
  1688. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/TransformTest.java +155 -0
  1689. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/ValidateSignatureTest.java +154 -0
  1690. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/X509KeySelector.java +372 -0
  1691. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/XMLObjectTest.java +106 -0
  1692. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/XMLSignContextTest.java +116 -0
  1693. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/XMLSignatureFactoryTest.java +190 -0
  1694. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/XMLSignatureTest.java +307 -0
  1695. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/XMLValidateContextTest.java +120 -0
  1696. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/dom/DOMValidateContextTest.java +101 -0
  1697. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/keyinfo/KeyInfoFactoryTest.java +250 -0
  1698. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/keyinfo/KeyInfoTest.java +146 -0
  1699. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/keyinfo/KeyNameTest.java +75 -0
  1700. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/keyinfo/KeyValueTest.java +101 -0
  1701. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/keyinfo/PGPDataTest.java +143 -0
  1702. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/keyinfo/RetrievalMethodTest.java +110 -0
  1703. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/keyinfo/X509DataTest.java +101 -0
  1704. data/lib/xml-security-1_4_5/src_unitTests/javax/xml/crypto/test/dsig/keyinfo/X509IssuerSerialTest.java +97 -0
  1705. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/c14n/implementations/AllTests.java +34 -0
  1706. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/c14n/implementations/NameSpaceSymbTableTest.java +186 -0
  1707. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/c14n/implementations/UtfHelperTest.java +73 -0
  1708. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/AllTests.java +118 -0
  1709. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/CreateExclC14nInteropValues.java +502 -0
  1710. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/EncryptionTest.java +65 -0
  1711. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/InteropTest.java +112 -0
  1712. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/ModuleTest.java +109 -0
  1713. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/TestUtils.java +48 -0
  1714. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/algorithms/AllTests.java +33 -0
  1715. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/algorithms/SignatureAlgorithmTest.java +66 -0
  1716. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/c14n/helper/AttrCompareTest.java +265 -0
  1717. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/c14n/helper/C14nHelperTest.java +150 -0
  1718. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/c14n/implementations/Bug45961Test.java +133 -0
  1719. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/c14n/implementations/Canonicalizer11Test.java +421 -0
  1720. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/c14n/implementations/Canonicalizer20010315ExclusiveTest.java +480 -0
  1721. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/c14n/implementations/Canonicalizer20010315Test.java +1234 -0
  1722. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/c14n/implementations/ExclusiveC14NInterop.java +211 -0
  1723. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/c14n/implementations/MockCanonicalizationMethod.java +70 -0
  1724. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/c14n/implementations/Santuario191Test.java +94 -0
  1725. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/encryption/BaltimoreEncTest.java +706 -0
  1726. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/encryption/BobKeyResolver.java +145 -0
  1727. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/encryption/EncryptContentTest.java +144 -0
  1728. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/encryption/XMLCipherTester.java +762 -0
  1729. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/external/org/apache/xalan/XPathAPI/AttributeAncestorOrSelfTest.java +169 -0
  1730. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/external/org/apache/xalan/XPathAPI/XalanBug1425Test.java +247 -0
  1731. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/interop/BaltimoreTest.java +576 -0
  1732. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/interop/IAIKTest.java +433 -0
  1733. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/interop/IBMTest.java +313 -0
  1734. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/interop/InteropTest.java +164 -0
  1735. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/interop/RSASecurityTest.java +112 -0
  1736. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/interop/package.html +3 -0
  1737. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/keys/content/x509/XMLX509CertificateTest.java +72 -0
  1738. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/keys/content/x509/XMLX509IssuerSerialTest.java +66 -0
  1739. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/keys/content/x509/XMLX509SKITest.java +88 -0
  1740. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/keys/keyresolver/KeyResolverTest.java +206 -0
  1741. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/keys/storage/KeyStoreResolverTest.java +105 -0
  1742. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/keys/storage/StorageResolverTest.java +128 -0
  1743. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/package.html +8 -0
  1744. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/resource/TestVectorResolver.java +203 -0
  1745. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/resource/testvectors.zip +0 -0
  1746. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/signature/AllTests.java +43 -0
  1747. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/signature/CreateSignatureTest.java +264 -0
  1748. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/signature/ECDSASignatureTest.java +321 -0
  1749. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/signature/HMACOutputLengthTest.java +141 -0
  1750. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/signature/IndexedDocument.java +72 -0
  1751. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/signature/InvalidKeyTest.java +85 -0
  1752. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/signature/KeyValueTest.java +78 -0
  1753. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/signature/NoKeyInfoTest.java +73 -0
  1754. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/signature/ProcessingInstructionTest.java +160 -0
  1755. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/signature/SignatureTest.java +216 -0
  1756. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/signature/UnknownAlgoSignatureTest.java +186 -0
  1757. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/signature/X509DataTest.java +117 -0
  1758. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/signature/XMLSignatureInputTest.java +214 -0
  1759. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/signature/XPointerResourceResolver.java +242 -0
  1760. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/signature/XmlSecTest.java +153 -0
  1761. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/transforms/RegisterTest.java +71 -0
  1762. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/transforms/SampleTransform.java +50 -0
  1763. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/transforms/implementations/AllTests.java +35 -0
  1764. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/transforms/implementations/TransformBase64DecodeTest.java +236 -0
  1765. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/transforms/implementations/TransformXSLTTest.java +112 -0
  1766. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/transforms/implementations/Xpath2TransformationTest.java +163 -0
  1767. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/utils/AllTests.java +36 -0
  1768. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/utils/Base64Test.java +156 -0
  1769. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/utils/IdResolverTest.java +71 -0
  1770. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/utils/OldApiTest.java +198 -0
  1771. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/utils/resolver/AllTests.java +34 -0
  1772. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/utils/resolver/OfflineResolver.java +171 -0
  1773. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/utils/resolver/ResolverDirectHTTP.java +45 -0
  1774. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/utils/resolver/ResourceResolverTest.java +107 -0
  1775. data/lib/xml-security-1_4_5/src_unitTests/org/apache/xml/security/test/version/VersionTest.java +102 -0
  1776. metadata +1780 -4
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <ala><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="ID-23ca29f0-7a8a-11dd-8101-005056c00008"><ds:SignedInfo Id="ID-23ada140-7a8a-11dd-8101-005056c00008"><ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></ds:CanonicalizationMethod><ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></ds:SignatureMethod><ds:Reference Id="ID-23afeb30-7a8a-11dd-8101-005056c00008" URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><ds:XPath xmlns:xades="http://uri.etsi.org/01903/v1.3.2#">not(ancestor-or-self::ds:Signature)</ds:XPath></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>tfIuivo9Uaub4wVmA54FPh5Ssm4=</ds:DigestValue></ds:Reference><ds:Reference Id="ID-23be4310-7a8a-11dd-8101-005056c00008" URI="out.xml"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116"><ds:XPath xmlns:xades="http://uri.etsi.org/01903/v1.3.2#">not(ancestor-or-self::*[@Id="pid-8ae3bccf-e44c-4707-bc4d-76e46fbe1aae" and ancestor-or-self::xades:UnsignedProperties] or ancestor-or-self::*[@Id="sid-04d124a5-6181-4a9c-adb2-b67d674fd6b3" and ancestor-or-self::xades:UnsignedProperties] or ancestor-or-self::*[@Id="aid-5b31dc87-875c-4c7f-918e-af0d8cf852b5" and ancestor-or-self::xades:UnsignedProperties] or ancestor-or-self::*[@Id="cid-9e173524-6b12-4412-9b85-3c9eca45ef9e" and ancestor-or-self::xades:UnsignedProperties] or ancestor-or-self::*[@Id="rid-e8b28a37-7262-4b18-baa9-5cc107373eeb" and ancestor-or-self::xades:UnsignedProperties])</ds:XPath></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>23QjhyDHzlG1Pj0Ym7qHwu9+tsg=</ds:DigestValue></ds:Reference><ds:Reference Id="ID-2b80a6b3-7a8a-11dd-a32c-005056c00008" Type="http://uri.etsi.org/01903#SignedProperties" URI="#ID-2b80a6b1-7a8a-11dd-a32c-005056c00008"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></ds:Transform></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>C0rv5vLRlnfO/JoWcNb+W7WrD3Y=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue Id="ID-2ba21160-7a8a-11dd-a32c-005056c00008">dZZ94uBAyM1RzpQoY2ftSbczjRS6B6ozfLzmC89GJtfDKj2Uqxci8FKhKr0jvY3eSts1MizUNU65b4S73SjhesAYrypeqm7Kgt/AbF8b1IMA9eH56HRvqax3UHsO2PRLvvBr5zUxioH9VX69mmeQu2YnKJwyul81Ttn4e3sJriQ=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>
3
+ MIIChzCCAW+gAwIBAgICAUQwDQYJKoZIhvcNAQEFBQAwOzELMAkGA1UEBhMCUEwx
4
+ EDAOBgNVBAoTB0NPTUFSQ0gxGjAYBgNVBAMTEVRlc3QgQ0EgZm9yIGVQVUFQMB4X
5
+ DTA4MDQxODIwMzA0NVoXDTE1MDQxNzIwMzA0NVowOjELMAkGA1UEBhMCUEwxDjAM
6
+ BgNVBAoTBU1TV2lBMRswGQYDVQQDExJDb21hcmNoRVNQIFRlc3Rvd3kwgZ8wDQYJ
7
+ KoZIhvcNAQEBBQADgY0AMIGJAoGBAMbN8U7GobHWsLeOkVFXwzwiXdoinj9QYPg0
8
+ HPmzIn8a12S3oIWXwvmGqiQkJKCRUQb/Ue8wP2oGoWB/BzRQHhg+Oy2CYZ1ej7nx
9
+ qF3Nr6P/0r/3hW4+r9suR+Rs05yLpPebxqTqu/Q/5ZIFbD9ycESkr1VrzDI7kWH/
10
+ zR0fjlelAgMBAAGjGjAYMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgbAMA0GCSqGSIb3
11
+ DQEBBQUAA4IBAQBJhyZlmGl4POY7Rw0lNsldAO04DeoYA6ePOv2B2bShtOsj93pj
12
+ 47VNw+4VqgAjkp/ehiLbJX0OQMhQFG4JYaVf7njnhjS8fF9DOyoML20aLELxtY7i
13
+ rkSUGEN2DYTQw4r6GIlc8URYKbuO4JFZ/J079LS75W8i1yAwtGAMif/g+5ZeH+0j
14
+ muOHbp9T+N/aA1qMKAX5hL7cyV0ZON8xJ5NqGB8nGjTi9PNaM6vnmLw9fY9C0vOM
15
+ O/PBOFQ0F8tt7lZeM9mjq+lCNK/Ex5Rjmy3nDZY4atyZJERC6RWk4F+wyekvWgI/
16
+ JcdkS4BFhZGAeKo3a1Ygo0nORXrXbMTjKZm5
17
+
18
+ </ds:X509Certificate></ds:X509Data></ds:KeyInfo><ds:Object><xades:QualifyingProperties xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" Id="ID-2b80a6b2-7a8a-11dd-a32c-005056c00008" Target="ID-23ca29f0-7a8a-11dd-8101-005056c00008"><xades:SignedProperties Id="ID-2b80a6b1-7a8a-11dd-a32c-005056c00008"><xades:SignedSignatureProperties><xades:SigningTime>2008-09-04T14:02:54Z</xades:SigningTime><xades:SigningCertificate><xades:Cert><xades:CertDigest><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod><ds:DigestValue>vmdGB4dDJVznxnnBb/LWJEtii1g=</ds:DigestValue></xades:CertDigest><xades:IssuerSerial><ds:X509IssuerName>CN=Test CA for ePUAP, O=COMARCH, C=PL</ds:X509IssuerName><ds:X509SerialNumber>324</ds:X509SerialNumber></xades:IssuerSerial></xades:Cert></xades:SigningCertificate><xades:SignaturePolicyIdentifier><xades:SignaturePolicyImplied></xades:SignaturePolicyImplied></xades:SignaturePolicyIdentifier></xades:SignedSignatureProperties><xades:SignedDataObjectProperties><xades:DataObjectFormat ObjectReference="out.xml"></xades:DataObjectFormat></xades:SignedDataObjectProperties></xades:SignedProperties></xades:QualifyingProperties></ds:Object></ds:Signature></ala>
@@ -0,0 +1,3156 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+ <!--ArborText, Inc., 1988-2000, v.4002-->
5
+ <html lang="EN">
6
+ <head>
7
+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
8
+ <title>Extensible Markup Language (XML) 1.0 (Second Edition)</title>
9
+ <link href="http://www.w3.org/StyleSheets/TR/W3C-REC.css" type="text/css"
10
+ rel="stylesheet"/>
11
+ <style type="text/css"> code { font-family: monospace; } div.constraint,
12
+ div.issue, div.note, div.notice { margin-left: 2em; } dt.label
13
+ { display: run-in; } li p { margin-top: 0.3em;
14
+ margin-bottom: 0.3em; } </style>
15
+ </head>
16
+ <body> <div class="head"><p><a href="http://www.w3.org/"><img src="http://www.w3.org/Icons/w3c_home"
17
+ alt="W3C" height="48" width="72"/></a></p><h1>Extensible Markup Language (XML)
18
+ 1.0 (Second Edition)</h1>
19
+ <h2>W3C Recommendation 6 October 2000</h2><dl>
20
+ <dt>This version:</dt>
21
+ <dd><a href="http://www.w3.org/TR/2000/REC-xml-20001006">http://www.w3.org/TR/2000/REC-xml-20001006</a>
22
+ (<a href="http://www.w3.org/TR/2000/REC-xml-20001006.html">XHTML</a>, <a href="http://www.w3.org/TR/2000/REC-xml-20001006.xml">XML</a>, <a
23
+ href="http://www.w3.org/TR/2000/REC-xml-20001006.pdf">PDF</a>, <a href="http://www.w3.org/TR/2000/REC-xml-20001006-review.html">XHTML
24
+ review version</a> with color-coded revision indicators)</dd>
25
+ <dt>Latest version:</dt>
26
+ <dd><a href="http://www.w3.org/TR/REC-xml">http://www.w3.org/TR/REC-xml</a></dd>
27
+ <dt>Previous versions:</dt>
28
+ <dd><a href="http://www.w3.org/TR/2000/WD-xml-2e-20000814"> http://www.w3.org/TR/2000/WD-xml-2e-20000814</a> </dd>
29
+ <dd><a href="http://www.w3.org/TR/1998/REC-xml-19980210"> http://www.w3.org/TR/1998/REC-xml-19980210</a> </dd>
30
+ <dt>Editors:</dt>
31
+ <dd>Tim Bray, Textuality and Netscape <a href="mailto:tbray@textuality.com">&lt;tbray@textuality.com></a></dd>
32
+ <dd>Jean Paoli, Microsoft <a href="mailto:jeanpa@microsoft.com">&lt;jeanpa@microsoft.com></a></dd>
33
+ <dd>C. M. Sperberg-McQueen, University of Illinois at Chicago and Text Encoding
34
+ Initiative <a href="mailto:cmsmcq@uic.edu">&lt;cmsmcq@uic.edu></a> </dd>
35
+ <dd>Eve Maler, Sun Microsystems, Inc. <a href="mailto:elm@east.sun.com">&lt;eve.maler@east.sun.com></a>
36
+ - Second Edition</dd>
37
+ </dl><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>&nbsp;&copy;&nbsp;2000&nbsp;<a
38
+ href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>&reg;</sup>
39
+ (<a href="http://www.lcs.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a
40
+ href="http://www.inria.fr/"><abbr title="Institut National de Recherche en Informatique et Automatique"
41
+ lang="fr">INRIA</abbr></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All
42
+ Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a
43
+ href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a>, <a
44
+ href="http://www.w3.org/Consortium/Legal/copyright-documents-19990405">document
45
+ use</a>, and <a href="http://www.w3.org/Consortium/Legal/copyright-software-19980720">software
46
+ licensing</a> rules apply.</p></div><hr class="html_compat"/><div><h2><a
47
+ name="abstract">Abstract</a></h2> <p>The Extensible Markup Language (XML)
48
+ is a subset of SGML that is completely described in this document. Its goal
49
+ is to enable generic SGML to be served, received, and processed on the Web
50
+ in the way that is now possible with HTML. XML has been designed for ease
51
+ of implementation and for interoperability with both SGML and HTML.</p> </div><div>
52
+ <h2><a name="status">Status of this Document</a></h2> <p>This
53
+ document has been reviewed by W3C Members and other interested parties and
54
+ has been endorsed by the Director as a W3C Recommendation. It is a stable
55
+ document and may be used as reference material or cited as a normative reference
56
+ from another document. W3C's role in making the Recommendation is to draw
57
+ attention to the specification and to promote its widespread deployment. This
58
+ enhances the functionality and interoperability of the Web.</p> <p>This document
59
+ specifies a syntax created by subsetting an existing, widely used international
60
+ text processing standard (Standard Generalized Markup Language, ISO 8879:1986(E)
61
+ as amended and corrected) for use on the World Wide Web. It is a product of
62
+ the W3C XML Activity, details of which can be found at <a href="http://www.w3.org/XML/">http://www.w3.org/XML</a>.
63
+ The English version of this specification is the only normative version.
64
+ However, for translations of this document, see <a href="http://www.w3.org/XML/#trans">http://www.w3.org/XML/#trans</a>.
65
+ A list of current W3C Recommendations and other technical documents can be
66
+ found at <a href="http://www.w3.org/TR/">http://www.w3.org/TR</a>.</p> <p>This
67
+ second edition is <em>not</em> a new version of XML (first published 10 February 1998); it merely incorporates
68
+ the changes dictated by the first-edition errata (available at <a href="http://www.w3.org/XML/xml-19980210-errata">http://www.w3.org/XML/xml-19980210-errata</a
69
+ >) as a convenience to readers. The errata list for this second edition is
70
+ available at <a href="http://www.w3.org/XML/xml-V10-2e-errata">http://www.w3.org/XML/xml-V10-2e-errata</a>.</p> <p>Please
71
+ report errors in this document to <a href="mailto:xml-editor@w3.org">xml-editor@w3.org</a>; <a
72
+ href="http://lists.w3.org/Archives/Public/xml-editor">archives</a> are available.</p> <div
73
+ class="note"><p class="prefix"><b>Note:</b></p> <p>C. M. Sperberg-McQueen's
74
+ affiliation has changed since the publication of the first edition. He is
75
+ now at the World Wide Web Consortium, and can be contacted at <a href="mailto:cmsmcq@w3.org">cmsmcq@w3.org</a>.</p> </div> </div> <div
76
+ class="toc"><h2><a name="contents">Table of Contents</a></h2><p class="toc">1 <a
77
+ href="#sec-intro">Introduction</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;1.1 <a
78
+ href="#sec-origin-goals">Origin and Goals</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;1.2 <a
79
+ href="#sec-terminology">Terminology</a><br class="html_compat"/>2 <a href="#sec-documents">Documents</a><br
80
+ class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;2.1 <a href="#sec-well-formed">Well-Formed
81
+ XML Documents</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;2.2 <a href="#charsets">Characters</a><br
82
+ class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;2.3 <a href="#sec-common-syn">Common
83
+ Syntactic Constructs</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;2.4 <a
84
+ href="#syntax">Character Data and Markup</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;2.5 <a
85
+ href="#sec-comments">Comments</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;2.6 <a
86
+ href="#sec-pi">Processing Instructions</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;2.7 <a
87
+ href="#sec-cdata-sect">CDATA Sections</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;2.8 <a
88
+ href="#sec-prolog-dtd">Prolog and Document Type Declaration</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;2.9 <a
89
+ href="#sec-rmd">Standalone Document Declaration</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;2.10 <a
90
+ href="#sec-white-space">White Space Handling</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;2.11 <a
91
+ href="#sec-line-ends">End-of-Line Handling</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;2.12 <a
92
+ href="#sec-lang-tag">Language Identification</a><br class="html_compat"/>3 <a
93
+ href="#sec-logical-struct">Logical Structures</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;3.1 <a
94
+ href="#sec-starttags">Start-Tags, End-Tags, and Empty-Element Tags</a><br
95
+ class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;3.2 <a href="#elemdecls">Element
96
+ Type Declarations</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.2.1 <a
97
+ href="#sec-element-content">Element Content</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.2.2 <a
98
+ href="#sec-mixed-content">Mixed Content</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;3.3 <a
99
+ href="#attdecls">Attribute-List Declarations</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.3.1 <a
100
+ href="#sec-attribute-types">Attribute Types</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.3.2 <a
101
+ href="#sec-attr-defaults">Attribute Defaults</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.3.3 <a
102
+ href="#AVNormalize">Attribute-Value Normalization</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;3.4 <a
103
+ href="#sec-condition-sect">Conditional Sections</a><br class="html_compat"/>4 <a
104
+ href="#sec-physical-struct">Physical Structures</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;4.1 <a
105
+ href="#sec-references">Character and Entity References</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;4.2 <a
106
+ href="#sec-entity-decl">Entity Declarations</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.2.1 <a
107
+ href="#sec-internal-ent">Internal Entities</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.2.2 <a
108
+ href="#sec-external-ent">External Entities</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;4.3 <a
109
+ href="#TextEntities">Parsed Entities</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.3.1 <a
110
+ href="#sec-TextDecl">The Text Declaration</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.3.2 <a
111
+ href="#wf-entities">Well-Formed Parsed Entities</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.3.3 <a
112
+ href="#charencoding">Character Encoding in Entities</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;4.4 <a
113
+ href="#entproc">XML Processor Treatment of Entities and References</a><br
114
+ class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.4.1 <a
115
+ href="#not-recognized">Not Recognized</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.4.2 <a
116
+ href="#included">Included</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.4.3 <a
117
+ href="#include-if-valid">Included If Validating</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.4.4 <a
118
+ href="#forbidden">Forbidden</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.4.5 <a
119
+ href="#inliteral">Included in Literal</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.4.6 <a
120
+ href="#notify">Notify</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.4.7 <a
121
+ href="#bypass">Bypassed</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.4.8 <a
122
+ href="#as-PE">Included as PE</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;4.5 <a
123
+ href="#intern-replacement">Construction of Internal Entity Replacement Text</a><br
124
+ class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;4.6 <a href="#sec-predefined-ent">Predefined
125
+ Entities</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;4.7 <a href="#Notations">Notation
126
+ Declarations</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;4.8 <a href="#sec-doc-entity">Document
127
+ Entity</a><br class="html_compat"/>5 <a href="#sec-conformance">Conformance</a><br
128
+ class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;5.1 <a href="#proc-types">Validating
129
+ and Non-Validating Processors</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;5.2 <a
130
+ href="#safe-behavior">Using XML Processors</a><br class="html_compat"/>6 <a
131
+ href="#sec-notation">Notation</a><br class="html_compat"/></p><h3>Appendices</h3><p
132
+ class="toc">A <a href="#sec-bibliography">References</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;A.1 <a
133
+ href="#sec-existing-stds">Normative References</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;A.2 <a
134
+ href="#null">Other References</a><br class="html_compat"/>B <a href="#CharClasses">Character
135
+ Classes</a><br class="html_compat"/>C <a href="#sec-xml-and-sgml">XML and
136
+ SGML</a> (Non-Normative)<br class="html_compat"/>D <a href="#sec-entexpand">Expansion
137
+ of Entity and Character References</a> (Non-Normative)<br class="html_compat"/>E <a
138
+ href="#determinism">Deterministic Content Models</a> (Non-Normative)<br class="html_compat"/>F <a
139
+ href="#sec-guessing">Autodetection of Character Encodings</a> (Non-Normative)<br
140
+ class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;F.1 <a href="#sec-guessing-no-ext-info">Detection
141
+ Without External Encoding Information</a><br class="html_compat"/>&nbsp;&nbsp;&nbsp;&nbsp;F.2 <a
142
+ href="#sec-guessing-with-ext-info">Priorities in the Presence of External
143
+ Encoding Information</a><br class="html_compat"/>G <a href="#sec-xml-wg">W3C
144
+ XML Working Group</a> (Non-Normative)<br class="html_compat"/>H <a href="#sec-core-wg">W3C
145
+ XML Core Group</a> (Non-Normative)<br class="html_compat"/>I <a href="#b4d250b6c21">Production
146
+ Notes</a> (Non-Normative)<br class="html_compat"/></p></div><hr class="html_compat"/><div
147
+ class="body"> <div class="div1"> <h2><a name="sec-intro"></a>1 Introduction</h2> <p>Extensible
148
+ Markup Language, abbreviated XML, describes a class of data objects called <a
149
+ title="XML Document" href="#dt-xml-doc">XML documents</a> and partially describes
150
+ the behavior of computer programs which process them. XML is an application
151
+ profile or restricted form of SGML, the Standard Generalized Markup Language <a
152
+ href="#ISO8879">[ISO 8879]</a>. By construction, XML documents are conforming
153
+ SGML documents.</p> <p>XML documents are made up of storage units called <a
154
+ title="Entity" href="#dt-entity">entities</a>, which contain either parsed
155
+ or unparsed data. Parsed data is made up of <a title="Character" href="#dt-character">characters</a>,
156
+ some of which form <a title="Character Data" href="#dt-chardata">character
157
+ data</a>, and some of which form <a title="Markup" href="#dt-markup">markup</a>.
158
+ Markup encodes a description of the document's storage layout and logical
159
+ structure. XML provides a mechanism to impose constraints on the storage layout
160
+ and logical structure.</p> <p>[<a title="XML Processor" name="dt-xml-proc">Definition</a>:
161
+ A software module called an <b>XML processor</b> is used to read XML documents
162
+ and provide access to their content and structure.] [<a title="Application"
163
+ name="dt-app">Definition</a>: It is assumed that an XML processor is doing
164
+ its work on behalf of another module, called the <b>application</b>.] This
165
+ specification describes the required behavior of an XML processor in terms
166
+ of how it must read XML data and the information it must provide to the application.</p> <div
167
+ class="div2"> <h3><a name="sec-origin-goals"></a>1.1 Origin and Goals</h3> <p>XML
168
+ was developed by an XML Working Group (originally known as the SGML Editorial
169
+ Review Board) formed under the auspices of the World Wide Web Consortium (W3C)
170
+ in 1996. It was chaired by Jon Bosak of Sun Microsystems with the active participation
171
+ of an XML Special Interest Group (previously known as the SGML Working Group)
172
+ also organized by the W3C. The membership of the XML Working Group is given
173
+ in an appendix. Dan Connolly served as the WG's contact with the W3C.</p> <p>The
174
+ design goals for XML are:</p> <ol>
175
+ <li><p>XML shall be straightforwardly usable over the Internet.</p></li>
176
+ <li><p>XML shall support a wide variety of applications.</p></li>
177
+ <li><p>XML shall be compatible with SGML.</p></li>
178
+ <li><p>It shall be easy to write programs which process XML documents.</p> </li>
179
+ <li><p>The number of optional features in XML is to be kept to the absolute
180
+ minimum, ideally zero.</p></li>
181
+ <li><p>XML documents should be human-legible and reasonably clear.</p></li>
182
+ <li><p>The XML design should be prepared quickly.</p></li>
183
+ <li><p>The design of XML shall be formal and concise.</p></li>
184
+ <li><p>XML documents shall be easy to create.</p></li>
185
+ <li><p>Terseness in XML markup is of minimal importance.</p></li>
186
+ </ol> <p>This specification, together with associated standards (Unicode and
187
+ ISO/IEC 10646 for characters, Internet RFC 1766 for language identification
188
+ tags, ISO 639 for language name codes, and ISO 3166 for country name codes),
189
+ provides all the information necessary to understand XML Version 1.0 and construct
190
+ computer programs to process it.</p> <p>This version of the XML specification
191
+ may be distributed freely, as long as all text and legal notices remain intact.</p> </div> <div
192
+ class="div2"> <h3><a name="sec-terminology"></a>1.2 Terminology</h3> <p>The
193
+ terminology used to describe XML documents is defined in the body of this
194
+ specification. The terms defined in the following list are used in building
195
+ those definitions and in describing the actions of an XML processor: </p><dl>
196
+ <dt class="label">may</dt>
197
+ <dd> <p>[<a title="May" name="dt-may">Definition</a>: Conforming documents
198
+ and XML processors are permitted to but need not behave as described.]</p> </dd>
199
+ <dt class="label">must</dt>
200
+ <dd> <p>[<a title="Must" name="dt-must">Definition</a>: Conforming documents
201
+ and XML processors are required to behave as described; otherwise they are
202
+ in error. ]</p> </dd>
203
+ <dt class="label">error</dt>
204
+ <dd> <p>[<a title="Error" name="dt-error">Definition</a>: A violation of the
205
+ rules of this specification; results are undefined. Conforming software may
206
+ detect and report an error and may recover from it.]</p> </dd>
207
+ <dt class="label">fatal error</dt>
208
+ <dd> <p>[<a title="Fatal Error" name="dt-fatal">Definition</a>: An error which
209
+ a conforming <a title="XML Processor" href="#dt-xml-proc">XML processor</a>
210
+ must detect and report to the application. After encountering a fatal error,
211
+ the processor may continue processing the data to search for further errors
212
+ and may report such errors to the application. In order to support correction
213
+ of errors, the processor may make unprocessed data from the document (with
214
+ intermingled character data and markup) available to the application. Once
215
+ a fatal error is detected, however, the processor must not continue normal
216
+ processing (i.e., it must not continue to pass character data and information
217
+ about the document's logical structure to the application in the normal way).]</p> </dd>
218
+ <dt class="label">at user option</dt>
219
+ <dd> <p>[<a title="At user option" name="dt-atuseroption">Definition</a>:
220
+ Conforming software may or must (depending on the modal verb in the sentence)
221
+ behave as described; if it does, it must provide users a means to enable or
222
+ disable the behavior described.]</p> </dd>
223
+ <dt class="label">validity constraint</dt>
224
+ <dd> <p>[<a title="Validity constraint" name="dt-vc">Definition</a>: A rule
225
+ which applies to all <a title="Validity" href="#dt-valid">valid</a> XML documents.
226
+ Violations of validity constraints are errors; they must, at user option,
227
+ be reported by <a title="Validating Processor" href="#dt-validating">validating
228
+ XML processors</a>.]</p> </dd>
229
+ <dt class="label">well-formedness constraint</dt>
230
+ <dd> <p>[<a title="Well-formedness constraint" name="dt-wfc">Definition</a>:
231
+ A rule which applies to all <a title="Well-Formed" href="#dt-wellformed">well-formed</a>
232
+ XML documents. Violations of well-formedness constraints are <a title="Fatal Error"
233
+ href="#dt-fatal">fatal errors</a>.]</p> </dd>
234
+ <dt class="label">match</dt>
235
+ <dd> <p>[<a title="match" name="dt-match">Definition</a>: (Of strings or names:)
236
+ Two strings or names being compared must be identical. Characters with multiple
237
+ possible representations in ISO/IEC 10646 (e.g. characters with both precomposed
238
+ and base+diacritic forms) match only if they have the same representation
239
+ in both strings. No case folding is performed. (Of strings and rules in the
240
+ grammar:) A string matches a grammatical production if it belongs to the language
241
+ generated by that production. (Of content and content models:) An element
242
+ matches its declaration when it conforms in the fashion described in the constraint <a
243
+ href="#elementvalid"><b>[VC: Element Valid]</b></a>.]</p> </dd>
244
+ <dt class="label">for compatibility</dt>
245
+ <dd> <p>[<a title="For Compatibility" name="dt-compat">Definition</a>: Marks
246
+ a sentence describing a feature of XML included solely to ensure that XML
247
+ remains compatible with SGML.]</p> </dd>
248
+ <dt class="label">for interoperability</dt>
249
+ <dd> <p>[<a title="For interoperability" name="dt-interop">Definition</a>:
250
+ Marks a sentence describing a non-binding recommendation included to increase
251
+ the chances that XML documents can be processed by the existing installed
252
+ base of SGML processors which predate the WebSGML Adaptations Annex to ISO
253
+ 8879.]</p> </dd>
254
+ </dl><p></p> </div> </div> <div class="div1"> <h2><a name="sec-documents"></a>2
255
+ Documents</h2> <p>[<a title="XML Document" name="dt-xml-doc">Definition</a>:
256
+ A data object is an <b>XML document</b> if it is <a title="Well-Formed" href="#dt-wellformed">well-formed</a>,
257
+ as defined in this specification. A well-formed XML document may in addition
258
+ be <a title="Validity" href="#dt-valid">valid</a> if it meets certain further
259
+ constraints.]</p> <p>Each XML document has both a logical and a physical structure.
260
+ Physically, the document is composed of units called <a title="Entity" href="#dt-entity">entities</a>.
261
+ An entity may <a title="Entity Reference" href="#dt-entref">refer</a> to other
262
+ entities to cause their inclusion in the document. A document begins in a
263
+ "root" or <a title="Document Entity" href="#dt-docent">document entity</a>.
264
+ Logically, the document is composed of declarations, elements, comments, character
265
+ references, and processing instructions, all of which are indicated in the
266
+ document by explicit markup. The logical and physical structures must nest
267
+ properly, as described in <a href="#wf-entities"><b>4.3.2 Well-Formed Parsed
268
+ Entities</b></a>.</p> <div class="div2"> <h3><a name="sec-well-formed"></a>2.1
269
+ Well-Formed XML Documents</h3> <p>[<a title="Well-Formed" name="dt-wellformed">Definition</a>:
270
+ A textual object is a <b>well-formed</b> XML document if:]</p> <ol>
271
+ <li><p>Taken as a whole, it matches the production labeled <a href="#NT-document">document</a>.</p> </li>
272
+ <li><p>It meets all the well-formedness constraints given in this specification.</p> </li>
273
+ <li><p>Each of the <a title="Text Entity" href="#dt-parsedent">parsed entities</a>
274
+ which is referenced directly or indirectly within the document is <a title="Well-Formed"
275
+ href="#dt-wellformed">well-formed</a>.</p></li>
276
+ </ol> <h5>Document</h5><table class="scrap"><tbody>
277
+ <tr valign="baseline">
278
+ <td><a name="NT-document"></a>[1]&nbsp;&nbsp;&nbsp;</td>
279
+ <td><code>document</code></td>
280
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
281
+ <td><code><a href="#NT-prolog">prolog</a> <a href="#NT-element">element</a> <a
282
+ href="#NT-Misc">Misc</a>*</code></td>
283
+ </tr>
284
+ </tbody></table> <p>Matching the <a href="#NT-document">document</a> production
285
+ implies that:</p> <ol>
286
+ <li><p>It contains one or more <a title="Element" href="#dt-element">elements</a>.</p> </li>
287
+ <li><p>[<a title="Root Element" name="dt-root">Definition</a>: There is exactly
288
+ one element, called the <b>root</b>, or document element, no part of which
289
+ appears in the <a title="Content" href="#dt-content">content</a> of any other
290
+ element.] For all other elements, if the <a title="Start-Tag" href="#dt-stag">start-tag</a>
291
+ is in the content of another element, the <a title="End Tag" href="#dt-etag">end-tag</a>
292
+ is in the content of the same element. More simply stated, the elements, delimited
293
+ by start- and end-tags, nest properly within each other.</p></li>
294
+ </ol> <p>[<a title="Parent/Child" name="dt-parentchild">Definition</a>: As
295
+ a consequence of this, for each non-root element <code>C</code> in the document,
296
+ there is one other element <code>P</code> in the document such that <code>C</code>
297
+ is in the content of <code>P</code>, but is not in the content of any other
298
+ element that is in the content of <code>P</code>. <code>P</code> is referred
299
+ to as the <b>parent</b> of <code>C</code>, and <code>C</code> as a <b>child</b>
300
+ of <code>P</code>.]</p> </div> <div class="div2"> <h3><a name="charsets"></a>2.2
301
+ Characters</h3> <p>[<a title="Text" name="dt-text">Definition</a>: A parsed
302
+ entity contains <b>text</b>, a sequence of <a title="Character" href="#dt-character">characters</a>,
303
+ which may represent markup or character data.] [<a title="Character" name="dt-character">Definition</a>:
304
+ A <b>character</b> is an atomic unit of text as specified by ISO/IEC 10646 <a
305
+ href="#ISO10646">[ISO/IEC 10646]</a> (see also <a href="#ISO10646-2000">[ISO/IEC
306
+ 10646-2000]</a>). Legal characters are tab, carriage return, line feed, and
307
+ the legal characters of Unicode and ISO/IEC 10646. The versions of these standards
308
+ cited in <a href="#sec-existing-stds"><b>A.1 Normative References</b></a>
309
+ were current at the time this document was prepared. New characters may be
310
+ added to these standards by amendments or new editions. Consequently, XML
311
+ processors must accept any character in the range specified for <a href="#NT-Char">Char</a>.
312
+ The use of "compatibility characters", as defined in section 6.8 of <a href="#Unicode">[Unicode]</a>
313
+ (see also D21 in section 3.6 of <a href="#Unicode3">[Unicode3]</a>), is discouraged.]</p> <h5>Character
314
+ Range</h5><table class="scrap"><tbody>
315
+ <tr valign="baseline">
316
+ <td><a name="NT-Char"></a>[2]&nbsp;&nbsp;&nbsp;</td>
317
+ <td><code>Char</code></td>
318
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
319
+ <td><code>#x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]</code></td>
320
+ <td><i>/* any Unicode character, excluding the surrogate blocks, FFFE, and
321
+ FFFF. */</i></td>
322
+ </tr>
323
+ </tbody></table> <p>The mechanism for encoding character code points into
324
+ bit patterns may vary from entity to entity. All XML processors must accept
325
+ the UTF-8 and UTF-16 encodings of 10646; the mechanisms for signaling which
326
+ of the two is in use, or for bringing other encodings into play, are discussed
327
+ later, in <a href="#charencoding"><b>4.3.3 Character Encoding in Entities</b></a>.</p>
328
+ </div> <div class="div2"> <h3><a name="sec-common-syn"></a>2.3 Common Syntactic
329
+ Constructs</h3> <p>This section defines some symbols used widely in the grammar.</p> <p><a
330
+ href="#NT-S">S</a> (white space) consists of one or more space (#x20) characters,
331
+ carriage returns, line feeds, or tabs.</p> <h5>White Space</h5><table class="scrap">
332
+ <tbody>
333
+ <tr valign="baseline">
334
+ <td><a name="NT-S"></a>[3]&nbsp;&nbsp;&nbsp;</td>
335
+ <td><code>S</code></td>
336
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
337
+ <td><code>(#x20 | #x9 | #xD | #xA)+</code></td>
338
+ </tr>
339
+ </tbody></table> <p>Characters are classified for convenience as letters,
340
+ digits, or other characters. A letter consists of an alphabetic or syllabic
341
+ base character or an ideographic character. Full definitions of the specific
342
+ characters in each class are given in <a href="#CharClasses"><b>B Character
343
+ Classes</b></a>.</p> <p>[<a title="Name" name="dt-name">Definition</a>: A <b>Name</b>
344
+ is a token beginning with a letter or one of a few punctuation characters,
345
+ and continuing with letters, digits, hyphens, underscores, colons, or full
346
+ stops, together known as name characters.] Names beginning with the string
347
+ "<code>xml</code>", or any string which would match <code>(('X'|'x') ('M'|'m')
348
+ ('L'|'l'))</code>, are reserved for standardization in this or future versions
349
+ of this specification.</p> <div class="note"><p class="prefix"><b>Note:</b></p> <p>The
350
+ Namespaces in XML Recommendation <a href="#xml-names">[XML Names]</a> assigns
351
+ a meaning to names containing colon characters. Therefore, authors should
352
+ not use the colon in XML names except for namespace purposes, but XML processors
353
+ must accept the colon as a name character.</p> </div> <p>An <a href="#NT-Nmtoken">Nmtoken</a>
354
+ (name token) is any mixture of name characters.</p> <h5>Names and Tokens</h5><table
355
+ class="scrap"><tbody>
356
+ <tr valign="baseline">
357
+ <td><a name="NT-NameChar"></a>[4]&nbsp;&nbsp;&nbsp;</td>
358
+ <td><code>NameChar</code></td>
359
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
360
+ <td><code><a href="#NT-Letter">Letter</a> | <a href="#NT-Digit">Digit</a>
361
+ | '.' | '-' | '_' | ':' | <a href="#NT-CombiningChar">CombiningChar</a> | <a
362
+ href="#NT-Extender">Extender</a></code></td>
363
+ </tr>
364
+ </tbody><tbody>
365
+ <tr valign="baseline">
366
+ <td><a name="NT-Name"></a>[5]&nbsp;&nbsp;&nbsp;</td>
367
+ <td><code>Name</code></td>
368
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
369
+ <td><code>(<a href="#NT-Letter">Letter</a> | '_' | ':') (<a href="#NT-NameChar">NameChar</a>)*</code></td>
370
+ </tr>
371
+ </tbody><tbody>
372
+ <tr valign="baseline">
373
+ <td><a name="NT-Names"></a>[6]&nbsp;&nbsp;&nbsp;</td>
374
+ <td><code>Names</code></td>
375
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
376
+ <td><code><a href="#NT-Name">Name</a> (<a href="#NT-S">S</a> <a href="#NT-Name">Name</a>)*</code></td>
377
+ </tr>
378
+ </tbody><tbody>
379
+ <tr valign="baseline">
380
+ <td><a name="NT-Nmtoken"></a>[7]&nbsp;&nbsp;&nbsp;</td>
381
+ <td><code>Nmtoken</code></td>
382
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
383
+ <td><code>(<a href="#NT-NameChar">NameChar</a>)+</code></td>
384
+ </tr>
385
+ </tbody><tbody>
386
+ <tr valign="baseline">
387
+ <td><a name="NT-Nmtokens"></a>[8]&nbsp;&nbsp;&nbsp;</td>
388
+ <td><code>Nmtokens</code></td>
389
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
390
+ <td><code><a href="#NT-Nmtoken">Nmtoken</a> (<a href="#NT-S">S</a> <a href="#NT-Nmtoken">Nmtoken</a>)*</code></td>
391
+ </tr>
392
+ </tbody></table> <p>Literal data is any quoted string not containing the quotation
393
+ mark used as a delimiter for that string. Literals are used for specifying
394
+ the content of internal entities (<a href="#NT-EntityValue">EntityValue</a>),
395
+ the values of attributes (<a href="#NT-AttValue">AttValue</a>), and external
396
+ identifiers (<a href="#NT-SystemLiteral">SystemLiteral</a>). Note that a <a
397
+ href="#NT-SystemLiteral">SystemLiteral</a> can be parsed without scanning
398
+ for markup.</p> <h5>Literals</h5><table class="scrap"><tbody>
399
+ <tr valign="baseline">
400
+ <td><a name="NT-EntityValue"></a>[9]&nbsp;&nbsp;&nbsp;</td>
401
+ <td><code>EntityValue</code></td>
402
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
403
+ <td><code>'"' ([^%&amp;"] | <a href="#NT-PEReference">PEReference</a> | <a
404
+ href="#NT-Reference">Reference</a>)* '"' </code></td>
405
+ </tr>
406
+ <tr valign="baseline">
407
+ <td></td>
408
+ <td></td>
409
+ <td></td>
410
+ <td><code>|&nbsp; "'" ([^%&amp;'] | <a href="#NT-PEReference">PEReference</a>
411
+ | <a href="#NT-Reference">Reference</a>)* "'"</code></td>
412
+ </tr>
413
+ </tbody><tbody>
414
+ <tr valign="baseline">
415
+ <td><a name="NT-AttValue"></a>[10]&nbsp;&nbsp;&nbsp;</td>
416
+ <td><code>AttValue</code></td>
417
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
418
+ <td><code>'"' ([^&lt;&amp;"] | <a href="#NT-Reference">Reference</a>)* '"' </code></td>
419
+ </tr>
420
+ <tr valign="baseline">
421
+ <td></td>
422
+ <td></td>
423
+ <td></td>
424
+ <td><code>|&nbsp; "'" ([^&lt;&amp;'] | <a href="#NT-Reference">Reference</a>)*
425
+ "'"</code></td>
426
+ </tr>
427
+ </tbody><tbody>
428
+ <tr valign="baseline">
429
+ <td><a name="NT-SystemLiteral"></a>[11]&nbsp;&nbsp;&nbsp;</td>
430
+ <td><code>SystemLiteral</code></td>
431
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
432
+ <td><code>('"' [^"]* '"') |&nbsp;("'" [^']* "'") </code></td>
433
+ </tr>
434
+ </tbody><tbody>
435
+ <tr valign="baseline">
436
+ <td><a name="NT-PubidLiteral"></a>[12]&nbsp;&nbsp;&nbsp;</td>
437
+ <td><code>PubidLiteral</code></td>
438
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
439
+ <td><code>'"' <a href="#NT-PubidChar">PubidChar</a>* '"' | "'" (<a href="#NT-PubidChar">PubidChar</a>
440
+ - "'")* "'"</code></td>
441
+ </tr>
442
+ </tbody><tbody>
443
+ <tr valign="baseline">
444
+ <td><a name="NT-PubidChar"></a>[13]&nbsp;&nbsp;&nbsp;</td>
445
+ <td><code>PubidChar</code></td>
446
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
447
+ <td><code>#x20 | #xD | #xA |&nbsp;[a-zA-Z0-9] |&nbsp;[-'()+,./:=?;!*#@$_%]</code></td>
448
+ </tr>
449
+ </tbody></table> <div class="note"><p class="prefix"><b>Note:</b></p> <p>Although
450
+ the <a href="#NT-EntityValue">EntityValue</a> production allows the definition
451
+ of an entity consisting of a single explicit <code>&lt;</code> in the literal
452
+ (e.g., <code>&lt;!ENTITY mylt "&lt;"></code>), it is strongly advised to avoid
453
+ this practice since any reference to that entity will cause a well-formedness
454
+ error.</p> </div> </div> <div class="div2"> <h3><a name="syntax"></a>2.4 Character
455
+ Data and Markup</h3> <p><a title="Text" href="#dt-text">Text</a> consists
456
+ of intermingled <a title="Character Data" href="#dt-chardata">character data</a>
457
+ and markup. [<a title="Markup" name="dt-markup">Definition</a>: <b>Markup</b>
458
+ takes the form of <a title="Start-Tag" href="#dt-stag">start-tags</a>, <a
459
+ title="End Tag" href="#dt-etag">end-tags</a>, <a title="Empty" href="#dt-empty">empty-element
460
+ tags</a>, <a title="Entity Reference" href="#dt-entref">entity references</a>, <a
461
+ title="Character Reference" href="#dt-charref">character references</a>, <a
462
+ title="Comment" href="#dt-comment">comments</a>, <a title="CDATA Section"
463
+ href="#dt-cdsection">CDATA section</a> delimiters, <a title="Document Type Declaration"
464
+ href="#dt-doctype">document type declarations</a>, <a title="Processing instruction"
465
+ href="#dt-pi">processing instructions</a>, <a href="#NT-XMLDecl">XML declarations</a>, <a
466
+ href="#NT-TextDecl">text declarations</a>, and any white space that is at
467
+ the top level of the document entity (that is, outside the document element
468
+ and not inside any other markup).]</p> <p>[<a title="Character Data" name="dt-chardata">Definition</a>:
469
+ All text that is not markup constitutes the <b>character data</b> of the document.]</p> <p>The
470
+ ampersand character (&amp;) and the left angle bracket (&lt;) may appear in
471
+ their literal form <em>only</em> when used as markup delimiters, or within
472
+ a <a title="Comment" href="#dt-comment">comment</a>, a <a title="Processing instruction"
473
+ href="#dt-pi">processing instruction</a>, or a <a title="CDATA Section" href="#dt-cdsection">CDATA
474
+ section</a>. If they are needed elsewhere, they must be <a title="escape"
475
+ href="#dt-escape">escaped</a> using either <a title="Character Reference"
476
+ href="#dt-charref">numeric character references</a> or the strings "<code>&amp;amp;</code>"
477
+ and "<code>&amp;lt;</code>" respectively. The right angle bracket (>) may
478
+ be represented using the string "<code>&amp;gt;</code>", and must, <a title="For Compatibility"
479
+ href="#dt-compat">for compatibility</a>, be escaped using "<code>&amp;gt;</code>"
480
+ or a character reference when it appears in the string "<code>]]&gt;</code>"
481
+ in content, when that string is not marking the end of a <a title="CDATA Section"
482
+ href="#dt-cdsection">CDATA section</a>.</p> <p>In the content of elements,
483
+ character data is any string of characters which does not contain the start-delimiter
484
+ of any markup. In a CDATA section, character data is any string of characters
485
+ not including the CDATA-section-close delimiter, "<code>]]&gt;</code>".</p> <p>To
486
+ allow attribute values to contain both single and double quotes, the apostrophe
487
+ or single-quote character (') may be represented as "<code>&amp;apos;</code>",
488
+ and the double-quote character (") as "<code>&amp;quot;</code>".</p> <h5>Character
489
+ Data</h5><table class="scrap"><tbody>
490
+ <tr valign="baseline">
491
+ <td><a name="NT-CharData"></a>[14]&nbsp;&nbsp;&nbsp;</td>
492
+ <td><code>CharData</code></td>
493
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
494
+ <td><code>[^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</code></td>
495
+ </tr>
496
+ </tbody></table> </div> <div class="div2"> <h3><a name="sec-comments"></a>2.5
497
+ Comments</h3> <p>[<a title="Comment" name="dt-comment">Definition</a>: <b>Comments</b>
498
+ may appear anywhere in a document outside other <a title="Markup" href="#dt-markup">markup</a>;
499
+ in addition, they may appear within the document type declaration at places
500
+ allowed by the grammar. They are not part of the document's <a title="Character Data"
501
+ href="#dt-chardata">character data</a>; an XML processor may, but need not,
502
+ make it possible for an application to retrieve the text of comments. <a title="For Compatibility"
503
+ href="#dt-compat">For compatibility</a>, the string "<code>--</code>" (double-hyphen)
504
+ must not occur within comments.] Parameter entity references are not recognized
505
+ within comments.</p> <h5>Comments</h5><table class="scrap"><tbody>
506
+ <tr valign="baseline">
507
+ <td><a name="NT-Comment"></a>[15]&nbsp;&nbsp;&nbsp;</td>
508
+ <td><code>Comment</code></td>
509
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
510
+ <td><code>'&lt;!--' ((<a href="#NT-Char">Char</a> - '-') | ('-' (<a href="#NT-Char">Char</a>
511
+ - '-')))* '-->'</code></td>
512
+ </tr>
513
+ </tbody></table> <p>An example of a comment:</p> <table class="eg" width="100%"
514
+ border="1" cellpadding="5" bgcolor="#99ffff">
515
+ <tr>
516
+ <td><pre>&lt;!-- declarations for &lt;head> &amp; &lt;body> --></pre></td>
517
+ </tr>
518
+ </table> <p>Note that the grammar does not allow a comment ending in <code>---></code>.
519
+ The following example is <em>not</em> well-formed.</p> <table class="eg" width="100%"
520
+ border="1" cellpadding="5" bgcolor="#99ffff">
521
+ <tr>
522
+ <td><pre>&lt;!-- B+, B, or B---></pre></td>
523
+ </tr>
524
+ </table> </div> <div class="div2"> <h3><a name="sec-pi"></a>2.6 Processing
525
+ Instructions</h3> <p>[<a title="Processing instruction" name="dt-pi">Definition</a>: <b>Processing
526
+ instructions</b> (PIs) allow documents to contain instructions for applications.]</p> <h5>Processing
527
+ Instructions</h5><table class="scrap"><tbody>
528
+ <tr valign="baseline">
529
+ <td><a name="NT-PI"></a>[16]&nbsp;&nbsp;&nbsp;</td>
530
+ <td><code>PI</code></td>
531
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
532
+ <td><code>'&lt;?' <a href="#NT-PITarget">PITarget</a> (<a href="#NT-S">S</a>
533
+ (<a href="#NT-Char">Char</a>* - (<a href="#NT-Char">Char</a>* '?>' <a href="#NT-Char">Char</a>*)))?
534
+ '?>'</code></td>
535
+ </tr>
536
+ </tbody><tbody>
537
+ <tr valign="baseline">
538
+ <td><a name="NT-PITarget"></a>[17]&nbsp;&nbsp;&nbsp;</td>
539
+ <td><code>PITarget</code></td>
540
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
541
+ <td><code><a href="#NT-Name">Name</a> - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</code></td>
542
+ </tr>
543
+ </tbody></table> <p>PIs are not part of the document's <a title="Character Data"
544
+ href="#dt-chardata">character data</a>, but must be passed through to the
545
+ application. The PI begins with a target (<a href="#NT-PITarget">PITarget</a>)
546
+ used to identify the application to which the instruction is directed. The
547
+ target names "<code>XML</code>", "<code>xml</code>", and so on are reserved
548
+ for standardization in this or future versions of this specification. The
549
+ XML <a title="Notation" href="#dt-notation">Notation</a> mechanism may be
550
+ used for formal declaration of PI targets. Parameter entity references are
551
+ not recognized within processing instructions.</p> </div> <div class="div2"> <h3><a
552
+ name="sec-cdata-sect"></a>2.7 CDATA Sections</h3> <p>[<a title="CDATA Section"
553
+ name="dt-cdsection">Definition</a>: <b>CDATA sections</b> may occur anywhere
554
+ character data may occur; they are used to escape blocks of text containing
555
+ characters which would otherwise be recognized as markup. CDATA sections begin
556
+ with the string "<code>&lt;![CDATA[</code>" and end with the string "<code>]]&gt;</code>":]</p> <h5>CDATA
557
+ Sections</h5><table class="scrap"><tbody>
558
+ <tr valign="baseline">
559
+ <td><a name="NT-CDSect"></a>[18]&nbsp;&nbsp;&nbsp;</td>
560
+ <td><code>CDSect</code></td>
561
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
562
+ <td><code><a href="#NT-CDStart">CDStart</a> <a href="#NT-CData">CData</a> <a
563
+ href="#NT-CDEnd">CDEnd</a></code></td>
564
+ </tr>
565
+ </tbody><tbody>
566
+ <tr valign="baseline">
567
+ <td><a name="NT-CDStart"></a>[19]&nbsp;&nbsp;&nbsp;</td>
568
+ <td><code>CDStart</code></td>
569
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
570
+ <td><code>'&lt;![CDATA['</code></td>
571
+ </tr>
572
+ </tbody><tbody>
573
+ <tr valign="baseline">
574
+ <td><a name="NT-CData"></a>[20]&nbsp;&nbsp;&nbsp;</td>
575
+ <td><code>CData</code></td>
576
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
577
+ <td><code>(<a href="#NT-Char">Char</a>* - (<a href="#NT-Char">Char</a>* ']]&gt;' <a
578
+ href="#NT-Char">Char</a>*)) </code></td>
579
+ </tr>
580
+ </tbody><tbody>
581
+ <tr valign="baseline">
582
+ <td><a name="NT-CDEnd"></a>[21]&nbsp;&nbsp;&nbsp;</td>
583
+ <td><code>CDEnd</code></td>
584
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
585
+ <td><code>']]&gt;'</code></td>
586
+ </tr>
587
+ </tbody></table> <p>Within a CDATA section, only the <a href="#NT-CDEnd">CDEnd</a>
588
+ string is recognized as markup, so that left angle brackets and ampersands
589
+ may occur in their literal form; they need not (and cannot) be escaped using
590
+ "<code>&amp;lt;</code>" and "<code>&amp;amp;</code>". CDATA sections cannot
591
+ nest.</p> <p>An example of a CDATA section, in which "<code>&lt;greeting></code>"
592
+ and "<code>&lt;/greeting></code>" are recognized as <a title="Character Data"
593
+ href="#dt-chardata">character data</a>, not <a title="Markup" href="#dt-markup">markup</a>:</p> <table
594
+ class="eg" width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
595
+ <tr>
596
+ <td><pre>&lt;![CDATA[&lt;greeting>Hello, world!&lt;/greeting>]]&gt; </pre></td>
597
+ </tr>
598
+ </table> </div> <div class="div2"> <h3><a name="sec-prolog-dtd"></a>2.8 Prolog
599
+ and Document Type Declaration</h3> <p>[<a title="XML Declaration" name="dt-xmldecl">Definition</a>:
600
+ XML documents should begin with an <b>XML declaration</b> which specifies
601
+ the version of XML being used.] For example, the following is a complete XML
602
+ document, <a title="Well-Formed" href="#dt-wellformed">well-formed</a> but
603
+ not <a title="Validity" href="#dt-valid">valid</a>:</p> <table class="eg"
604
+ width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
605
+ <tr>
606
+ <td><pre>&lt;?xml version="1.0"?> &lt;greeting>Hello, world!&lt;/greeting> </pre></td>
607
+ </tr>
608
+ </table> <p>and so is this:</p> <table class="eg" width="100%" border="1"
609
+ cellpadding="5" bgcolor="#99ffff">
610
+ <tr>
611
+ <td><pre>&lt;greeting>Hello, world!&lt;/greeting></pre></td>
612
+ </tr>
613
+ </table> <p>The version number "<code>1.0</code>" should be used to indicate
614
+ conformance to this version of this specification; it is an error for a document
615
+ to use the value "<code>1.0</code>" if it does not conform to this version
616
+ of this specification. It is the intent of the XML working group to give later
617
+ versions of this specification numbers other than "<code>1.0</code>", but
618
+ this intent does not indicate a commitment to produce any future versions
619
+ of XML, nor if any are produced, to use any particular numbering scheme. Since
620
+ future versions are not ruled out, this construct is provided as a means to
621
+ allow the possibility of automatic version recognition, should it become necessary.
622
+ Processors may signal an error if they receive documents labeled with versions
623
+ they do not support.</p> <p>The function of the markup in an XML document
624
+ is to describe its storage and logical structure and to associate attribute-value
625
+ pairs with its logical structures. XML provides a mechanism, the <a title="Document Type Declaration"
626
+ href="#dt-doctype">document type declaration</a>, to define constraints on
627
+ the logical structure and to support the use of predefined storage units.
628
+ [<a title="Validity" name="dt-valid">Definition</a>: An XML document is <b>valid</b>
629
+ if it has an associated document type declaration and if the document complies
630
+ with the constraints expressed in it.]</p> <p>The document type declaration
631
+ must appear before the first <a title="Element" href="#dt-element">element</a>
632
+ in the document.</p> <h5>Prolog</h5><table class="scrap"><tbody>
633
+ <tr valign="baseline">
634
+ <td><a name="NT-prolog"></a>[22]&nbsp;&nbsp;&nbsp;</td>
635
+ <td><code>prolog</code></td>
636
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
637
+ <td><code><a href="#NT-XMLDecl">XMLDecl</a>? <a href="#NT-Misc">Misc</a>*
638
+ (<a href="#NT-doctypedecl">doctypedecl</a> <a href="#NT-Misc">Misc</a>*)?</code></td>
639
+ </tr>
640
+ <tr valign="baseline">
641
+ <td><a name="NT-XMLDecl"></a>[23]&nbsp;&nbsp;&nbsp;</td>
642
+ <td><code>XMLDecl</code></td>
643
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
644
+ <td><code>'&lt;?xml' <a href="#NT-VersionInfo">VersionInfo</a> <a href="#NT-EncodingDecl">EncodingDecl</a>? <a
645
+ href="#NT-SDDecl">SDDecl</a>? <a href="#NT-S">S</a>? '?>'</code></td>
646
+ </tr>
647
+ <tr valign="baseline">
648
+ <td><a name="NT-VersionInfo"></a>[24]&nbsp;&nbsp;&nbsp;</td>
649
+ <td><code>VersionInfo</code></td>
650
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
651
+ <td><code><a href="#NT-S">S</a> 'version' <a href="#NT-Eq">Eq</a> ("'" <a
652
+ href="#NT-VersionNum">VersionNum</a> "'" | '"' <a href="#NT-VersionNum">VersionNum</a>
653
+ '"')<i>/* */</i></code></td>
654
+ </tr>
655
+ <tr valign="baseline">
656
+ <td><a name="NT-Eq"></a>[25]&nbsp;&nbsp;&nbsp;</td>
657
+ <td><code>Eq</code></td>
658
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
659
+ <td><code><a href="#NT-S">S</a>? '=' <a href="#NT-S">S</a>?</code></td>
660
+ </tr>
661
+ <tr valign="baseline">
662
+ <td><a name="NT-VersionNum"></a>[26]&nbsp;&nbsp;&nbsp;</td>
663
+ <td><code>VersionNum</code></td>
664
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
665
+ <td><code>([a-zA-Z0-9_.:] | '-')+</code></td>
666
+ </tr>
667
+ <tr valign="baseline">
668
+ <td><a name="NT-Misc"></a>[27]&nbsp;&nbsp;&nbsp;</td>
669
+ <td><code>Misc</code></td>
670
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
671
+ <td><code><a href="#NT-Comment">Comment</a> | <a href="#NT-PI">PI</a> | <a
672
+ href="#NT-S">S</a></code></td>
673
+ </tr>
674
+ </tbody></table> <p>[<a title="Document Type Declaration" name="dt-doctype">Definition</a>:
675
+ The XML <b>document type declaration</b> contains or points to <a title="markup declaration"
676
+ href="#dt-markupdecl">markup declarations</a> that provide a grammar for a
677
+ class of documents. This grammar is known as a document type definition, or <b>DTD</b>.
678
+ The document type declaration can point to an external subset (a special kind
679
+ of <a title="External Entity" href="#dt-extent">external entity</a>) containing
680
+ markup declarations, or can contain the markup declarations directly in an
681
+ internal subset, or can do both. The DTD for a document consists of both subsets
682
+ taken together.]</p> <p>[<a title="markup declaration" name="dt-markupdecl">Definition</a>:
683
+ A <b>markup declaration</b> is an <a title="Element Type declaration" href="#dt-eldecl">element
684
+ type declaration</a>, an <a title="Attribute-List Declaration" href="#dt-attdecl">attribute-list
685
+ declaration</a>, an <a title="entity declaration" href="#dt-entdecl">entity
686
+ declaration</a>, or a <a title="Notation Declaration" href="#dt-notdecl">notation
687
+ declaration</a>.] These declarations may be contained in whole or in part
688
+ within <a title="Parameter entity" href="#dt-PE">parameter entities</a>, as
689
+ described in the well-formedness and validity constraints below. For further
690
+ information, see <a href="#sec-physical-struct"><b>4 Physical Structures</b></a>.</p> <h5>Document
691
+ Type Definition</h5><table class="scrap"><tbody>
692
+ <tr valign="baseline">
693
+ <td><a name="NT-doctypedecl"></a>[28]&nbsp;&nbsp;&nbsp;</td>
694
+ <td><code>doctypedecl</code></td>
695
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
696
+ <td><code>'&lt;!DOCTYPE' <a href="#NT-S">S</a> <a href="#NT-Name">Name</a>
697
+ (<a href="#NT-S">S</a> <a href="#NT-ExternalID">ExternalID</a>)? <a href="#NT-S">S</a>?
698
+ ('[' (<a href="#NT-markupdecl">markupdecl</a> | <a href="#NT-DeclSep">DeclSep</a>)*
699
+ ']' <a href="#NT-S">S</a>?)? '>'</code></td>
700
+ <td><a href="#vc-roottype">[VC: Root Element Type]</a></td>
701
+ </tr>
702
+ <tr valign="baseline">
703
+ <td></td>
704
+ <td></td>
705
+ <td></td>
706
+ <td></td>
707
+ <td><a href="#ExtSubset">[WFC: External Subset]</a></td>
708
+ </tr>
709
+ <tr valign="baseline">
710
+ <td></td>
711
+ <td></td>
712
+ <td></td>
713
+ <td></td>
714
+ <td><i>/* */</i></td>
715
+ </tr>
716
+ <tr valign="baseline">
717
+ <td><a name="NT-DeclSep"></a>[28a]&nbsp;&nbsp;&nbsp;</td>
718
+ <td><code>DeclSep</code></td>
719
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
720
+ <td><code><a href="#NT-PEReference">PEReference</a> | <a href="#NT-S">S</a></code></td>
721
+ <td><a href="#PE-between-Decls">[WFC: PE Between Declarations]</a></td>
722
+ </tr>
723
+ <tr valign="baseline">
724
+ <td></td>
725
+ <td></td>
726
+ <td></td>
727
+ <td></td>
728
+ <td><i>/* */</i></td>
729
+ </tr>
730
+ <tr valign="baseline">
731
+ <td><a name="NT-markupdecl"></a>[29]&nbsp;&nbsp;&nbsp;</td>
732
+ <td><code>markupdecl</code></td>
733
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
734
+ <td><code><a href="#NT-elementdecl">elementdecl</a> | <a href="#NT-AttlistDecl">AttlistDecl</a>
735
+ | <a href="#NT-EntityDecl">EntityDecl</a> | <a href="#NT-NotationDecl">NotationDecl</a>
736
+ | <a href="#NT-PI">PI</a> | <a href="#NT-Comment">Comment</a> </code></td>
737
+ <td><a href="#vc-PEinMarkupDecl">[VC: Proper Declaration/PE Nesting]</a></td>
738
+ </tr>
739
+ <tr valign="baseline">
740
+ <td></td>
741
+ <td></td>
742
+ <td></td>
743
+ <td></td>
744
+ <td><a href="#wfc-PEinInternalSubset">[WFC: PEs in Internal Subset]</a></td>
745
+ </tr>
746
+ </tbody></table> <p>Note that it is possible to construct a well-formed document
747
+ containing a <a href="#NT-doctypedecl">doctypedecl</a> that neither points
748
+ to an external subset nor contains an internal subset.</p> <p>The markup declarations
749
+ may be made up in whole or in part of the <a title="Replacement Text" href="#dt-repltext">replacement
750
+ text</a> of <a title="Parameter entity" href="#dt-PE">parameter entities</a>.
751
+ The productions later in this specification for individual nonterminals (<a
752
+ href="#NT-elementdecl">elementdecl</a>, <a href="#NT-AttlistDecl">AttlistDecl</a>,
753
+ and so on) describe the declarations <em>after</em> all the parameter entities
754
+ have been <a title="Include" href="#dt-include">included</a>.</p> <p>Parameter
755
+ entity references are recognized anywhere in the DTD (internal and external
756
+ subsets and external parameter entities), except in literals, processing instructions,
757
+ comments, and the contents of ignored conditional sections (see <a href="#sec-condition-sect"><b>3.4
758
+ Conditional Sections</b></a>). They are also recognized in entity value literals.
759
+ The use of parameter entities in the internal subset is restricted as described
760
+ below.</p> <div class="constraint"><p class="prefix"><a name="vc-roottype"></a><b>Validity
761
+ constraint: Root Element Type</b></p><p>The <a href="#NT-Name">Name</a> in
762
+ the document type declaration must match the element type of the <a title="Root Element"
763
+ href="#dt-root">root element</a>.</p> </div> <div class="constraint"><p class="prefix"><a
764
+ name="vc-PEinMarkupDecl"></a><b>Validity constraint: Proper Declaration/PE
765
+ Nesting</b></p> <p>Parameter-entity <a title="Replacement Text" href="#dt-repltext">replacement
766
+ text</a> must be properly nested with markup declarations. That is to say,
767
+ if either the first character or the last character of a markup declaration
768
+ (<a href="#NT-markupdecl">markupdecl</a> above) is contained in the replacement
769
+ text for a <a title="Parameter-entity reference" href="#dt-PERef">parameter-entity
770
+ reference</a>, both must be contained in the same replacement text.</p> </div> <div
771
+ class="constraint"><p class="prefix"><a name="wfc-PEinInternalSubset"></a><b>Well-formedness
772
+ constraint: PEs in Internal Subset</b></p><p>In the internal DTD subset, <a
773
+ title="Parameter-entity reference" href="#dt-PERef">parameter-entity references</a>
774
+ can occur only where markup declarations can occur, not within markup declarations.
775
+ (This does not apply to references that occur in external parameter entities
776
+ or to the external subset.)</p> </div> <div class="constraint"><p class="prefix"><a
777
+ name="ExtSubset"></a><b>Well-formedness constraint: External Subset</b></p><p>The
778
+ external subset, if any, must match the production for <a href="#NT-extSubset">extSubset</a>.</p> </div> <div
779
+ class="constraint"><p class="prefix"><a name="PE-between-Decls"></a><b>Well-formedness
780
+ constraint: PE Between Declarations</b></p><p>The replacement text of a parameter
781
+ entity reference in a <a href="#NT-DeclSep">DeclSep</a> must match the production <a
782
+ href="#NT-extSubsetDecl">extSubsetDecl</a>.</p> </div> <p>Like the internal
783
+ subset, the external subset and any external parameter entities referenced
784
+ in a <a href="#NT-DeclSep">DeclSep</a> must consist of a series of complete
785
+ markup declarations of the types allowed by the non-terminal symbol <a href="#NT-markupdecl">markupdecl</a>,
786
+ interspersed with white space or <a title="Parameter-entity reference" href="#dt-PERef">parameter-entity
787
+ references</a>. However, portions of the contents of the external subset or
788
+ of these external parameter entities may conditionally be ignored by using
789
+ the <a title="conditional section" href="#dt-cond-section">conditional section</a>
790
+ construct; this is not allowed in the internal subset.</p> <h5>External Subset</h5><table
791
+ class="scrap"><tbody>
792
+ <tr valign="baseline">
793
+ <td><a name="NT-extSubset"></a>[30]&nbsp;&nbsp;&nbsp;</td>
794
+ <td><code>extSubset</code></td>
795
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
796
+ <td><code><a href="#NT-TextDecl">TextDecl</a>? <a href="#NT-extSubsetDecl">extSubsetDecl</a></code></td>
797
+ </tr>
798
+ <tr valign="baseline">
799
+ <td><a name="NT-extSubsetDecl"></a>[31]&nbsp;&nbsp;&nbsp;</td>
800
+ <td><code>extSubsetDecl</code></td>
801
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
802
+ <td><code>( <a href="#NT-markupdecl">markupdecl</a> | <a href="#NT-conditionalSect">conditionalSect</a>
803
+ | <a href="#NT-DeclSep">DeclSep</a>)*</code></td>
804
+ <td><i>/* */</i></td>
805
+ </tr>
806
+ </tbody></table> <p>The external subset and external parameter entities also
807
+ differ from the internal subset in that in them, <a title="Parameter-entity reference"
808
+ href="#dt-PERef">parameter-entity references</a> are permitted <em>within</em>
809
+ markup declarations, not only <em>between</em> markup declarations.</p> <p>An
810
+ example of an XML document with a document type declaration:</p> <table class="eg"
811
+ width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
812
+ <tr>
813
+ <td><pre>&lt;?xml version="1.0"?> &lt;!DOCTYPE greeting SYSTEM "hello.dtd"> &lt;greeting>Hello, world!&lt;/greeting> </pre></td>
814
+ </tr>
815
+ </table> <p>The <a title="System Identifier" href="#dt-sysid">system identifier</a>
816
+ "<code>hello.dtd</code>" gives the address (a URI reference) of a DTD for
817
+ the document.</p> <p>The declarations can also be given locally, as in this
818
+ example:</p> <table class="eg" width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
819
+ <tr>
820
+ <td><pre>&lt;?xml version="1.0" encoding="UTF-8" ?>
821
+ &lt;!DOCTYPE greeting [
822
+ &lt;!ELEMENT greeting (#PCDATA)>
823
+ ]>
824
+ &lt;greeting>Hello, world!&lt;/greeting></pre></td>
825
+ </tr>
826
+ </table> <p>If both the external and internal subsets are used, the internal
827
+ subset is considered to occur before the external subset. This has the effect
828
+ that entity and attribute-list declarations in the internal subset take precedence
829
+ over those in the external subset.</p> </div> <div class="div2"> <h3><a name="sec-rmd"></a>2.9
830
+ Standalone Document Declaration</h3> <p>Markup declarations can affect the
831
+ content of the document, as passed from an <a title="XML Processor" href="#dt-xml-proc">XML
832
+ processor</a> to an application; examples are attribute defaults and entity
833
+ declarations. The standalone document declaration, which may appear as a component
834
+ of the XML declaration, signals whether or not there are such declarations
835
+ which appear external to the <a title="Document Entity" href="#dt-docent">document
836
+ entity</a> or in parameter entities. [<a title="External Markup Declaration"
837
+ name="dt-extmkpdecl">Definition</a>: An <b>external markup declaration</b>
838
+ is defined as a markup declaration occurring in the external subset or in
839
+ a parameter entity (external or internal, the latter being included because
840
+ non-validating processors are not required to read them).]</p> <h5>Standalone
841
+ Document Declaration</h5><table class="scrap"><tbody>
842
+ <tr valign="baseline">
843
+ <td><a name="NT-SDDecl"></a>[32]&nbsp;&nbsp;&nbsp;</td>
844
+ <td><code>SDDecl</code></td>
845
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
846
+ <td><code> <a href="#NT-S">S</a> 'standalone' <a href="#NT-Eq">Eq</a> (("'"
847
+ ('yes' | 'no') "'") | ('"' ('yes' | 'no') '"')) </code></td>
848
+ <td><a href="#vc-check-rmd">[VC: Standalone Document Declaration]</a></td>
849
+ </tr>
850
+ </tbody></table> <p>In a standalone document declaration, the value "yes"
851
+ indicates that there are no <a title="External Markup Declaration" href="#dt-extmkpdecl">external
852
+ markup declarations</a> which affect the information passed from the XML processor
853
+ to the application. The value "no" indicates that there are or may be such
854
+ external markup declarations. Note that the standalone document declaration
855
+ only denotes the presence of external <em>declarations</em>; the presence,
856
+ in a document, of references to external <em>entities</em>, when those entities
857
+ are internally declared, does not change its standalone status.</p> <p>If
858
+ there are no external markup declarations, the standalone document declaration
859
+ has no meaning. If there are external markup declarations but there is no
860
+ standalone document declaration, the value "no" is assumed.</p> <p>Any XML
861
+ document for which <code>standalone="no"</code> holds can be converted algorithmically
862
+ to a standalone document, which may be desirable for some network delivery
863
+ applications.</p> <div class="constraint"><p class="prefix"><a name="vc-check-rmd"></a><b>Validity
864
+ constraint: Standalone Document Declaration</b></p><p>The standalone document
865
+ declaration must have the value "no" if any external markup declarations contain
866
+ declarations of:</p> <ul>
867
+ <li><p>attributes with <a title="Attribute Default" href="#dt-default">default</a>
868
+ values, if elements to which these attributes apply appear in the document
869
+ without specifications of values for these attributes, or</p></li>
870
+ <li><p>entities (other than <code>amp</code>, <code>lt</code>, <code>gt</code>, <code>apos</code>, <code>quot</code>),
871
+ if <a title="Entity Reference" href="#dt-entref">references</a> to those entities
872
+ appear in the document, or</p></li>
873
+ <li><p>attributes with values subject to <a href="#AVNormalize"><cite>normalization</cite></a>,
874
+ where the attribute appears in the document with a value which will change
875
+ as a result of normalization, or</p></li>
876
+ <li><p>element types with <a title="Element content" href="#dt-elemcontent">element
877
+ content</a>, if white space occurs directly within any instance of those types.</p></li>
878
+ </ul> </div> <p>An example XML declaration with a standalone document declaration:</p> <table
879
+ class="eg" width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
880
+ <tr>
881
+ <td><pre>&lt;?xml version="1.0" standalone='yes'?></pre></td>
882
+ </tr>
883
+ </table> </div> <div class="div2"> <h3><a name="sec-white-space"></a>2.10
884
+ White Space Handling</h3> <p>In editing XML documents, it is often convenient
885
+ to use "white space" (spaces, tabs, and blank lines) to set apart the markup
886
+ for greater readability. Such white space is typically not intended for inclusion
887
+ in the delivered version of the document. On the other hand, "significant"
888
+ white space that should be preserved in the delivered version is common, for
889
+ example in poetry and source code.</p> <p>An <a title="XML Processor" href="#dt-xml-proc">XML
890
+ processor</a> must always pass all characters in a document that are not markup
891
+ through to the application. A <a title="Validating Processor" href="#dt-validating">
892
+ validating XML processor</a> must also inform the application which of these
893
+ characters constitute white space appearing in <a title="Element content"
894
+ href="#dt-elemcontent">element content</a>.</p> <p>A special <a title="Attribute"
895
+ href="#dt-attr">attribute</a> named <code>xml:space</code> may be attached
896
+ to an element to signal an intention that in that element, white space should
897
+ be preserved by applications. In valid documents, this attribute, like any
898
+ other, must be <a title="Attribute-List Declaration" href="#dt-attdecl">declared</a>
899
+ if it is used. When declared, it must be given as an <a title="Enumerated Attribute Values"
900
+ href="#dt-enumerated">enumerated type</a> whose values are one or both of
901
+ "default" and "preserve". For example:</p> <table class="eg" width="100%"
902
+ border="1" cellpadding="5" bgcolor="#99ffff">
903
+ <tr>
904
+ <td><pre>&lt;!ATTLIST poem xml:space (default|preserve) 'preserve'>
905
+
906
+ &lt;!-- -->
907
+ &lt;!ATTLIST pre xml:space (preserve) #FIXED 'preserve'></pre></td>
908
+ </tr>
909
+ </table> <p>The value "default" signals that applications' default white-space
910
+ processing modes are acceptable for this element; the value "preserve" indicates
911
+ the intent that applications preserve all the white space. This declared intent
912
+ is considered to apply to all elements within the content of the element where
913
+ it is specified, unless overriden with another instance of the <code>xml:space</code>
914
+ attribute.</p> <p>The <a title="Root Element" href="#dt-root">root element</a>
915
+ of any document is considered to have signaled no intentions as regards application
916
+ space handling, unless it provides a value for this attribute or the attribute
917
+ is declared with a default value.</p> </div> <div class="div2"> <h3><a name="sec-line-ends"></a>2.11
918
+ End-of-Line Handling</h3> <p>XML <a title="Text Entity" href="#dt-parsedent">parsed
919
+ entities</a> are often stored in computer files which, for editing convenience,
920
+ are organized into lines. These lines are typically separated by some combination
921
+ of the characters carriage-return (#xD) and line-feed (#xA).</p> <p>To simplify
922
+ the tasks of <a title="Application" href="#dt-app">applications</a>, the characters
923
+ passed to an application by the <a title="XML Processor" href="#dt-xml-proc">XML
924
+ processor</a> must be as if the XML processor normalized all line breaks in
925
+ external parsed entities (including the document entity) on input, before
926
+ parsing, by translating both the two-character sequence #xD #xA and any #xD
927
+ that is not followed by #xA to a single #xA character.</p> </div> <div class="div2"> <h3><a
928
+ name="sec-lang-tag"></a>2.12 Language Identification</h3> <p>In document processing,
929
+ it is often useful to identify the natural or formal language in which the
930
+ content is written. A special <a title="Attribute" href="#dt-attr">attribute</a>
931
+ named <code>xml:lang</code> may be inserted in documents to specify the language
932
+ used in the contents and attribute values of any element in an XML document.
933
+ In valid documents, this attribute, like any other, must be <a title="Attribute-List Declaration"
934
+ href="#dt-attdecl">declared</a> if it is used. The values of the attribute
935
+ are language identifiers as defined by <a href="#RFC1766">[IETF RFC 1766]</a>, <cite>Tags
936
+ for the Identification of Languages</cite>, or its successor on the IETF Standards
937
+ Track.</p> <div class="note"><p class="prefix"><b>Note:</b></p> <p><a href="#RFC1766">[IETF
938
+ RFC 1766]</a> tags are constructed from two-letter language codes as defined
939
+ by <a href="#ISO639">[ISO 639]</a>, from two-letter country codes as defined
940
+ by <a href="#ISO3166">[ISO 3166]</a>, or from language identifiers registered
941
+ with the Internet Assigned Numbers Authority <a href="#IANA-LANGCODES">[IANA-LANGCODES]</a>.
942
+ It is expected that the successor to <a href="#RFC1766">[IETF RFC 1766]</a>
943
+ will introduce three-letter language codes for languages not presently covered
944
+ by <a href="#ISO639">[ISO 639]</a>.</p> </div> <p>(Productions 33 through
945
+ 38 have been removed.)</p> <p>For example:</p> <table class="eg" width="100%"
946
+ border="1" cellpadding="5" bgcolor="#99ffff">
947
+ <tr>
948
+ <td><pre>&lt;p xml:lang="en">The quick brown fox jumps over the lazy dog.&lt;/p>
949
+ &lt;p xml:lang="en-GB">What colour is it?&lt;/p>
950
+ &lt;p xml:lang="en-US">What color is it?&lt;/p>
951
+ &lt;sp who="Faust" desc='leise' xml:lang="de">
952
+ &lt;l>Habe nun, ach! Philosophie,&lt;/l>
953
+ &lt;l>Juristerei, und Medizin&lt;/l>
954
+ &lt;l>und leider auch Theologie&lt;/l>
955
+ &lt;l>durchaus studiert mit hei&szlig;em Bem&uuml;h'n.&lt;/l>
956
+ &lt;/sp></pre></td>
957
+ </tr>
958
+ </table> <p>The intent declared with <code>xml:lang</code> is considered
959
+ to apply to all attributes and content of the element where it is specified,
960
+ unless overridden with an instance of <code>xml:lang</code> on another element
961
+ within that content.</p> <p>A simple declaration for <code>xml:lang</code>
962
+ might take the form</p> <table class="eg" width="100%" border="1" cellpadding="5"
963
+ bgcolor="#99ffff">
964
+ <tr>
965
+ <td><pre>xml:lang NMTOKEN #IMPLIED</pre></td>
966
+ </tr>
967
+ </table> <p>but specific default values may also be given, if appropriate.
968
+ In a collection of French poems for English students, with glosses and notes
969
+ in English, the <code>xml:lang</code> attribute might be declared this way:</p> <table
970
+ class="eg" width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
971
+ <tr>
972
+ <td><pre>&lt;!ATTLIST poem xml:lang NMTOKEN 'fr'>
973
+ &lt;!ATTLIST gloss xml:lang NMTOKEN 'en'>
974
+ &lt;!ATTLIST note xml:lang NMTOKEN 'en'></pre></td>
975
+ </tr>
976
+ </table> </div> </div> <div class="div1"> <h2><a name="sec-logical-struct"></a>3
977
+ Logical Structures</h2> <p>[<a title="Element" name="dt-element">Definition</a>:
978
+ Each <a title="XML Document" href="#dt-xml-doc">XML document</a> contains
979
+ one or more <b>elements</b>, the boundaries of which are either delimited
980
+ by <a title="Start-Tag" href="#dt-stag">start-tags</a> and <a title="End Tag"
981
+ href="#dt-etag">end-tags</a>, or, for <a title="Empty" href="#dt-empty">empty</a>
982
+ elements, by an <a title="empty-element tag" href="#dt-eetag">empty-element
983
+ tag</a>. Each element has a type, identified by name, sometimes called its
984
+ "generic identifier" (GI), and may have a set of attribute specifications.]
985
+ Each attribute specification has a <a title="Attribute Name" href="#dt-attrname">name</a>
986
+ and a <a title="Attribute Value" href="#dt-attrval">value</a>.</p> <h5>Element</h5><table
987
+ class="scrap"><tbody>
988
+ <tr valign="baseline">
989
+ <td><a name="NT-element"></a>[39]&nbsp;&nbsp;&nbsp;</td>
990
+ <td><code>element</code></td>
991
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
992
+ <td><code><a href="#NT-EmptyElemTag">EmptyElemTag</a></code></td>
993
+ </tr>
994
+ <tr valign="baseline">
995
+ <td></td>
996
+ <td></td>
997
+ <td></td>
998
+ <td><code>| <a href="#NT-STag">STag</a> <a href="#NT-content">content</a> <a
999
+ href="#NT-ETag">ETag</a></code></td>
1000
+ <td><a href="#GIMatch">[WFC: Element Type Match]</a></td>
1001
+ </tr>
1002
+ <tr valign="baseline">
1003
+ <td></td>
1004
+ <td></td>
1005
+ <td></td>
1006
+ <td></td>
1007
+ <td><a href="#elementvalid">[VC: Element Valid]</a></td>
1008
+ </tr>
1009
+ </tbody></table> <p>This specification does not constrain the semantics, use,
1010
+ or (beyond syntax) names of the element types and attributes, except that
1011
+ names beginning with a match to <code>(('X'|'x')('M'|'m')('L'|'l'))</code>
1012
+ are reserved for standardization in this or future versions of this specification.</p> <div
1013
+ class="constraint"><p class="prefix"><a name="GIMatch"></a><b>Well-formedness
1014
+ constraint: Element Type Match</b></p><p>The <a href="#NT-Name">Name</a> in
1015
+ an element's end-tag must match the element type in the start-tag.</p> </div> <div
1016
+ class="constraint"><p class="prefix"><a name="elementvalid"></a><b>Validity
1017
+ constraint: Element Valid</b></p><p>An element is valid if there is a declaration
1018
+ matching <a href="#NT-elementdecl">elementdecl</a> where the <a href="#NT-Name">Name</a>
1019
+ matches the element type, and one of the following holds:</p> <ol>
1020
+ <li><p>The declaration matches <b>EMPTY</b> and the element has no <a title="Content"
1021
+ href="#dt-content">content</a>.</p></li>
1022
+ <li><p>The declaration matches <a href="#NT-children">children</a> and the
1023
+ sequence of <a title="Parent/Child" href="#dt-parentchild">child elements</a>
1024
+ belongs to the language generated by the regular expression in the content
1025
+ model, with optional white space (characters matching the nonterminal <a href="#NT-S">S</a>)
1026
+ between the start-tag and the first child element, between child elements,
1027
+ or between the last child element and the end-tag. Note that a CDATA section
1028
+ containing only white space does not match the nonterminal <a href="#NT-S">S</a>,
1029
+ and hence cannot appear in these positions.</p></li>
1030
+ <li><p>The declaration matches <a href="#NT-Mixed">Mixed</a> and the content
1031
+ consists of <a title="Character Data" href="#dt-chardata">character data</a>
1032
+ and <a title="Parent/Child" href="#dt-parentchild">child elements</a> whose
1033
+ types match names in the content model.</p></li>
1034
+ <li><p>The declaration matches <b>ANY</b>, and the types of any <a title="Parent/Child"
1035
+ href="#dt-parentchild">child elements</a> have been declared.</p></li>
1036
+ </ol> </div> <div class="div2"> <h3><a name="sec-starttags"></a>3.1 Start-Tags,
1037
+ End-Tags, and Empty-Element Tags</h3> <p>[<a title="Start-Tag" name="dt-stag">Definition</a>:
1038
+ The beginning of every non-empty XML element is marked by a <b>start-tag</b>.]</p> <h5>Start-tag</h5><table
1039
+ class="scrap"><tbody>
1040
+ <tr valign="baseline">
1041
+ <td><a name="NT-STag"></a>[40]&nbsp;&nbsp;&nbsp;</td>
1042
+ <td><code>STag</code></td>
1043
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1044
+ <td><code>'&lt;' <a href="#NT-Name">Name</a> (<a href="#NT-S">S</a> <a href="#NT-Attribute">Attribute</a>)* <a
1045
+ href="#NT-S">S</a>? '>'</code></td>
1046
+ <td><a href="#uniqattspec">[WFC: Unique Att Spec]</a></td>
1047
+ </tr>
1048
+ <tr valign="baseline">
1049
+ <td><a name="NT-Attribute"></a>[41]&nbsp;&nbsp;&nbsp;</td>
1050
+ <td><code>Attribute</code></td>
1051
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1052
+ <td><code><a href="#NT-Name">Name</a> <a href="#NT-Eq">Eq</a> <a href="#NT-AttValue">AttValue</a></code></td>
1053
+ <td><a href="#ValueType">[VC: Attribute Value Type]</a></td>
1054
+ </tr>
1055
+ <tr valign="baseline">
1056
+ <td></td>
1057
+ <td></td>
1058
+ <td></td>
1059
+ <td></td>
1060
+ <td><a href="#NoExternalRefs">[WFC: No External Entity References]</a></td>
1061
+ </tr>
1062
+ <tr valign="baseline">
1063
+ <td></td>
1064
+ <td></td>
1065
+ <td></td>
1066
+ <td></td>
1067
+ <td><a href="#CleanAttrVals">[WFC: No &lt; in Attribute Values]</a></td>
1068
+ </tr>
1069
+ </tbody></table> <p>The <a href="#NT-Name">Name</a> in the start- and end-tags
1070
+ gives the element's <b>type</b>. [<a title="Attribute" name="dt-attr">Definition</a>:
1071
+ The <a href="#NT-Name">Name</a>-<a href="#NT-AttValue">AttValue</a> pairs
1072
+ are referred to as the <b>attribute specifications</b> of the element], [<a
1073
+ title="Attribute Name" name="dt-attrname">Definition</a>: with the <a href="#NT-Name">Name</a>
1074
+ in each pair referred to as the <b>attribute name</b>] and [<a title="Attribute Value"
1075
+ name="dt-attrval">Definition</a>: the content of the <a href="#NT-AttValue">AttValue</a>
1076
+ (the text between the <code>'</code> or <code>"</code> delimiters) as the <b>attribute
1077
+ value</b>.]Note that the order of attribute specifications in a start-tag
1078
+ or empty-element tag is not significant.</p> <div class="constraint"><p class="prefix"><a
1079
+ name="uniqattspec"></a><b>Well-formedness constraint: Unique Att Spec</b></p><p>No
1080
+ attribute name may appear more than once in the same start-tag or empty-element
1081
+ tag.</p> </div> <div class="constraint"><p class="prefix"><a name="ValueType"></a><b>Validity
1082
+ constraint: Attribute Value Type</b></p><p>The attribute must have been declared;
1083
+ the value must be of the type declared for it. (For attribute types, see <a
1084
+ href="#attdecls"><b>3.3 Attribute-List Declarations</b></a>.)</p> </div> <div
1085
+ class="constraint"><p class="prefix"><a name="NoExternalRefs"></a><b>Well-formedness
1086
+ constraint: No External Entity References</b></p><p>Attribute values cannot
1087
+ contain direct or indirect entity references to external entities.</p> </div> <div
1088
+ class="constraint"><p class="prefix"><a name="CleanAttrVals"></a><b>Well-formedness
1089
+ constraint: No <code>&lt;</code> in Attribute Values</b></p> <p>The <a title="Replacement Text"
1090
+ href="#dt-repltext">replacement text</a> of any entity referred to directly
1091
+ or indirectly in an attribute value must not contain a <code>&lt;</code>.</p> </div> <p>An
1092
+ example of a start-tag:</p> <table class="eg" width="100%" border="1" cellpadding="5"
1093
+ bgcolor="#99ffff">
1094
+ <tr>
1095
+ <td><pre>&lt;termdef id="dt-dog" term="dog"></pre></td>
1096
+ </tr>
1097
+ </table> <p>[<a title="End Tag" name="dt-etag">Definition</a>: The end of
1098
+ every element that begins with a start-tag must be marked by an <b>end-tag</b>
1099
+ containing a name that echoes the element's type as given in the start-tag:]</p> <h5>End-tag</h5><table
1100
+ class="scrap"><tbody>
1101
+ <tr valign="baseline">
1102
+ <td><a name="NT-ETag"></a>[42]&nbsp;&nbsp;&nbsp;</td>
1103
+ <td><code>ETag</code></td>
1104
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1105
+ <td><code>'&lt;/' <a href="#NT-Name">Name</a> <a href="#NT-S">S</a>? '>'</code></td>
1106
+ </tr>
1107
+ </tbody></table> <p>An example of an end-tag:</p> <table class="eg" width="100%"
1108
+ border="1" cellpadding="5" bgcolor="#99ffff">
1109
+ <tr>
1110
+ <td><pre>&lt;/termdef></pre></td>
1111
+ </tr>
1112
+ </table> <p>[<a title="Content" name="dt-content">Definition</a>: The <a title="Text"
1113
+ href="#dt-text">text</a> between the start-tag and end-tag is called the element's <b>content</b>:]</p> <h5>Content
1114
+ of Elements</h5><table class="scrap"><tbody>
1115
+ <tr valign="baseline">
1116
+ <td><a name="NT-content"></a>[43]&nbsp;&nbsp;&nbsp;</td>
1117
+ <td><code>content</code></td>
1118
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1119
+ <td><code><a href="#NT-CharData">CharData</a>? ((<a href="#NT-element">element</a>
1120
+ | <a href="#NT-Reference">Reference</a> | <a href="#NT-CDSect">CDSect</a>
1121
+ | <a href="#NT-PI">PI</a> | <a href="#NT-Comment">Comment</a>) <a href="#NT-CharData">CharData</a>?)*</code></td>
1122
+ <td><i>/* */</i></td>
1123
+ </tr>
1124
+ </tbody></table> <p>[<a title="Empty" name="dt-empty">Definition</a>: An element
1125
+ with no content is said to be <b>empty</b>.] The representation of an empty
1126
+ element is either a start-tag immediately followed by an end-tag, or an empty-element
1127
+ tag. [<a title="empty-element tag" name="dt-eetag">Definition</a>: An <b>empty-element
1128
+ tag</b> takes a special form:]</p> <h5>Tags for Empty Elements</h5><table
1129
+ class="scrap"><tbody>
1130
+ <tr valign="baseline">
1131
+ <td><a name="NT-EmptyElemTag"></a>[44]&nbsp;&nbsp;&nbsp;</td>
1132
+ <td><code>EmptyElemTag</code></td>
1133
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1134
+ <td><code>'&lt;' <a href="#NT-Name">Name</a> (<a href="#NT-S">S</a> <a href="#NT-Attribute">Attribute</a>)* <a
1135
+ href="#NT-S">S</a>? '/>'</code></td>
1136
+ <td><a href="#uniqattspec">[WFC: Unique Att Spec]</a></td>
1137
+ </tr>
1138
+ </tbody></table> <p>Empty-element tags may be used for any element which has
1139
+ no content, whether or not it is declared using the keyword <b>EMPTY</b>. <a
1140
+ title="For interoperability" href="#dt-interop">For interoperability</a>,
1141
+ the empty-element tag should be used, and should only be used, for elements
1142
+ which are declared EMPTY.</p> <p>Examples of empty elements:</p> <table class="eg"
1143
+ width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
1144
+ <tr>
1145
+ <td><pre>&lt;IMG align="left"
1146
+ src="http://www.w3.org/Icons/WWW/w3c_home" />
1147
+ &lt;br>&lt;/br>
1148
+ &lt;br/></pre></td>
1149
+ </tr>
1150
+ </table> </div> <div class="div2"> <h3><a name="elemdecls"></a>3.2 Element
1151
+ Type Declarations</h3> <p>The <a title="Element" href="#dt-element">element</a>
1152
+ structure of an <a title="XML Document" href="#dt-xml-doc">XML document</a>
1153
+ may, for <a title="Validity" href="#dt-valid">validation</a> purposes, be
1154
+ constrained using element type and attribute-list declarations. An element
1155
+ type declaration constrains the element's <a title="Content" href="#dt-content">content</a>.</p> <p>Element
1156
+ type declarations often constrain which element types can appear as <a title="Parent/Child"
1157
+ href="#dt-parentchild">children</a> of the element. At user option, an XML
1158
+ processor may issue a warning when a declaration mentions an element type
1159
+ for which no declaration is provided, but this is not an error.</p> <p>[<a
1160
+ title="Element Type declaration" name="dt-eldecl">Definition</a>: An <b>element
1161
+ type declaration</b> takes the form:]</p> <h5>Element Type Declaration</h5><table
1162
+ class="scrap"><tbody>
1163
+ <tr valign="baseline">
1164
+ <td><a name="NT-elementdecl"></a>[45]&nbsp;&nbsp;&nbsp;</td>
1165
+ <td><code>elementdecl</code></td>
1166
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1167
+ <td><code>'&lt;!ELEMENT' <a href="#NT-S">S</a> <a href="#NT-Name">Name</a> <a
1168
+ href="#NT-S">S</a> <a href="#NT-contentspec">contentspec</a> <a href="#NT-S">S</a>?
1169
+ '>'</code></td>
1170
+ <td><a href="#EDUnique">[VC: Unique Element Type Declaration]</a></td>
1171
+ </tr>
1172
+ <tr valign="baseline">
1173
+ <td><a name="NT-contentspec"></a>[46]&nbsp;&nbsp;&nbsp;</td>
1174
+ <td><code>contentspec</code></td>
1175
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1176
+ <td><code>'EMPTY' | 'ANY' | <a href="#NT-Mixed">Mixed</a> | <a href="#NT-children">children</a> </code></td>
1177
+ </tr>
1178
+ </tbody></table> <p>where the <a href="#NT-Name">Name</a> gives the element
1179
+ type being declared.</p> <div class="constraint"><p class="prefix"><a name="EDUnique"></a><b>Validity
1180
+ constraint: Unique Element Type Declaration</b></p><p>No element type may
1181
+ be declared more than once.</p> </div> <p>Examples of element type declarations:</p> <table
1182
+ class="eg" width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
1183
+ <tr>
1184
+ <td><pre>&lt;!ELEMENT br EMPTY>
1185
+ &lt;!ELEMENT p (#PCDATA|emph)* >
1186
+ &lt;!ELEMENT %name.para; %content.para; >
1187
+ &lt;!ELEMENT container ANY></pre></td>
1188
+ </tr>
1189
+ </table> <div class="div3"> <h4><a name="sec-element-content"></a>3.2.1 Element
1190
+ Content</h4> <p>[<a title="Element content" name="dt-elemcontent">Definition</a>:
1191
+ An element <a title="Start-Tag" href="#dt-stag">type</a> has <b>element content</b>
1192
+ when elements of that type must contain only <a title="Parent/Child" href="#dt-parentchild">child</a>
1193
+ elements (no character data), optionally separated by white space (characters
1194
+ matching the nonterminal <a href="#NT-S">S</a>).][<a title="Content model"
1195
+ name="dt-content-model">Definition</a>: In this case, the constraint includes
1196
+ a <b>content model</b>, a simple grammar governing the allowed types of the
1197
+ child elements and the order in which they are allowed to appear.] The grammar
1198
+ is built on content particles (<a href="#NT-cp">cp</a>s), which consist of
1199
+ names, choice lists of content particles, or sequence lists of content particles:</p> <h5>Element-content
1200
+ Models</h5><table class="scrap"><tbody>
1201
+ <tr valign="baseline">
1202
+ <td><a name="NT-children"></a>[47]&nbsp;&nbsp;&nbsp;</td>
1203
+ <td><code>children</code></td>
1204
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1205
+ <td><code>(<a href="#NT-choice">choice</a> | <a href="#NT-seq">seq</a>) ('?'
1206
+ | '*' | '+')?</code></td>
1207
+ </tr>
1208
+ <tr valign="baseline">
1209
+ <td><a name="NT-cp"></a>[48]&nbsp;&nbsp;&nbsp;</td>
1210
+ <td><code>cp</code></td>
1211
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1212
+ <td><code>(<a href="#NT-Name">Name</a> | <a href="#NT-choice">choice</a> | <a
1213
+ href="#NT-seq">seq</a>) ('?' | '*' | '+')?</code></td>
1214
+ </tr>
1215
+ <tr valign="baseline">
1216
+ <td><a name="NT-choice"></a>[49]&nbsp;&nbsp;&nbsp;</td>
1217
+ <td><code>choice</code></td>
1218
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1219
+ <td><code>'(' <a href="#NT-S">S</a>? <a href="#NT-cp">cp</a> ( <a href="#NT-S">S</a>?
1220
+ '|' <a href="#NT-S">S</a>? <a href="#NT-cp">cp</a> )+ <a href="#NT-S">S</a>?
1221
+ ')'</code></td>
1222
+ <td><i>/* */</i></td>
1223
+ </tr>
1224
+ <tr valign="baseline">
1225
+ <td></td>
1226
+ <td></td>
1227
+ <td></td>
1228
+ <td></td>
1229
+ <td><i>/* */</i></td>
1230
+ </tr>
1231
+ <tr valign="baseline">
1232
+ <td></td>
1233
+ <td></td>
1234
+ <td></td>
1235
+ <td></td>
1236
+ <td><a href="#vc-PEinGroup">[VC: Proper Group/PE Nesting]</a></td>
1237
+ </tr>
1238
+ <tr valign="baseline">
1239
+ <td><a name="NT-seq"></a>[50]&nbsp;&nbsp;&nbsp;</td>
1240
+ <td><code>seq</code></td>
1241
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1242
+ <td><code>'(' <a href="#NT-S">S</a>? <a href="#NT-cp">cp</a> ( <a href="#NT-S">S</a>?
1243
+ ',' <a href="#NT-S">S</a>? <a href="#NT-cp">cp</a> )* <a href="#NT-S">S</a>?
1244
+ ')'</code></td>
1245
+ <td><i>/* */</i></td>
1246
+ </tr>
1247
+ <tr valign="baseline">
1248
+ <td></td>
1249
+ <td></td>
1250
+ <td></td>
1251
+ <td></td>
1252
+ <td><a href="#vc-PEinGroup">[VC: Proper Group/PE Nesting]</a></td>
1253
+ </tr>
1254
+ </tbody></table> <p>where each <a href="#NT-Name">Name</a> is the type of
1255
+ an element which may appear as a <a title="Parent/Child" href="#dt-parentchild">child</a>.
1256
+ Any content particle in a choice list may appear in the <a title="Element content"
1257
+ href="#dt-elemcontent">element content</a> at the location where the choice
1258
+ list appears in the grammar; content particles occurring in a sequence list
1259
+ must each appear in the <a title="Element content" href="#dt-elemcontent">element
1260
+ content</a> in the order given in the list. The optional character following
1261
+ a name or list governs whether the element or the content particles in the
1262
+ list may occur one or more (<code>+</code>), zero or more (<code>*</code>),
1263
+ or zero or one times (<code>?</code>). The absence of such an operator means
1264
+ that the element or content particle must appear exactly once. This syntax
1265
+ and meaning are identical to those used in the productions in this specification.</p> <p>The
1266
+ content of an element matches a content model if and only if it is possible
1267
+ to trace out a path through the content model, obeying the sequence, choice,
1268
+ and repetition operators and matching each element in the content against
1269
+ an element type in the content model. <a title="For Compatibility" href="#dt-compat">For
1270
+ compatibility</a>, it is an error if an element in the document can match
1271
+ more than one occurrence of an element type in the content model. For more
1272
+ information, see <a href="#determinism"><b>E Deterministic Content Models</b></a>.</p>
1273
+ <div class="constraint"><p class="prefix"><a name="vc-PEinGroup"></a><b>Validity
1274
+ constraint: Proper Group/PE Nesting</b></p><p>Parameter-entity <a title="Replacement Text"
1275
+ href="#dt-repltext">replacement text</a> must be properly nested with parenthesized
1276
+ groups. That is to say, if either of the opening or closing parentheses in
1277
+ a <a href="#NT-choice">choice</a>, <a href="#NT-seq">seq</a>, or <a href="#NT-Mixed">Mixed</a>
1278
+ construct is contained in the replacement text for a <a title="Parameter-entity reference"
1279
+ href="#dt-PERef">parameter entity</a>, both must be contained in the same
1280
+ replacement text.</p> <p><a title="For interoperability" href="#dt-interop">For
1281
+ interoperability</a>, if a parameter-entity reference appears in a <a href="#NT-choice">choice</a>, <a
1282
+ href="#NT-seq">seq</a>, or <a href="#NT-Mixed">Mixed</a> construct, its replacement
1283
+ text should contain at least one non-blank character, and neither the first
1284
+ nor last non-blank character of the replacement text should be a connector
1285
+ (<code>|</code> or <code>,</code>).</p> </div> <p>Examples of element-content
1286
+ models:</p> <table class="eg" width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
1287
+ <tr>
1288
+ <td><pre>&lt;!ELEMENT spec (front, body, back?)>
1289
+ &lt;!ELEMENT div1 (head, (p | list | note)*, div2*)>
1290
+ &lt;!ELEMENT dictionary-body (%div.mix; | %dict.mix;)*></pre></td>
1291
+ </tr>
1292
+ </table> </div> <div class="div3"> <h4><a name="sec-mixed-content"></a>3.2.2
1293
+ Mixed Content</h4> <p>[<a title="Mixed Content" name="dt-mixed">Definition</a>:
1294
+ An element <a title="Start-Tag" href="#dt-stag">type</a> has <b>mixed content</b>
1295
+ when elements of that type may contain character data, optionally interspersed
1296
+ with <a title="Parent/Child" href="#dt-parentchild">child</a> elements.] In
1297
+ this case, the types of the child elements may be constrained, but not their
1298
+ order or their number of occurrences:</p> <h5>Mixed-content Declaration</h5><table
1299
+ class="scrap"><tbody>
1300
+ <tr valign="baseline">
1301
+ <td><a name="NT-Mixed"></a>[51]&nbsp;&nbsp;&nbsp;</td>
1302
+ <td><code>Mixed</code></td>
1303
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1304
+ <td><code>'(' <a href="#NT-S">S</a>? '#PCDATA' (<a href="#NT-S">S</a>? '|' <a
1305
+ href="#NT-S">S</a>? <a href="#NT-Name">Name</a>)* <a href="#NT-S">S</a>? ')*' </code></td>
1306
+ </tr>
1307
+ <tr valign="baseline">
1308
+ <td></td>
1309
+ <td></td>
1310
+ <td></td>
1311
+ <td><code>| '(' <a href="#NT-S">S</a>? '#PCDATA' <a href="#NT-S">S</a>? ')' </code></td>
1312
+ <td><a href="#vc-PEinGroup">[VC: Proper Group/PE Nesting]</a></td>
1313
+ </tr>
1314
+ <tr valign="baseline">
1315
+ <td></td>
1316
+ <td></td>
1317
+ <td></td>
1318
+ <td></td>
1319
+ <td><a href="#vc-MixedChildrenUnique">[VC: No Duplicate Types]</a></td>
1320
+ </tr>
1321
+ </tbody></table> <p>where the <a href="#NT-Name">Name</a>s give the types
1322
+ of elements that may appear as children. The keyword <b>#PCDATA</b> derives
1323
+ historically from the term "parsed character data."</p> <div class="constraint"><p
1324
+ class="prefix"><a name="vc-MixedChildrenUnique"></a><b>Validity constraint:
1325
+ No Duplicate Types</b></p><p>The same name must not appear more than once
1326
+ in a single mixed-content declaration.</p> </div> <p>Examples of mixed content
1327
+ declarations:</p> <table class="eg" width="100%" border="1" cellpadding="5"
1328
+ bgcolor="#99ffff">
1329
+ <tr>
1330
+ <td><pre>&lt;!ELEMENT p (#PCDATA|a|ul|b|i|em)*>
1331
+ &lt;!ELEMENT p (#PCDATA | %font; | %phrase; | %special; | %form;)* >
1332
+ &lt;!ELEMENT b (#PCDATA)></pre></td>
1333
+ </tr>
1334
+ </table> </div> </div> <div class="div2"> <h3><a name="attdecls"></a>3.3 Attribute-List
1335
+ Declarations</h3> <p><a title="Attribute" href="#dt-attr">Attributes</a> are
1336
+ used to associate name-value pairs with <a title="Element" href="#dt-element">elements</a>.
1337
+ Attribute specifications may appear only within <a title="Start-Tag" href="#dt-stag">start-tags</a>
1338
+ and <a title="empty-element tag" href="#dt-eetag">empty-element tags</a>;
1339
+ thus, the productions used to recognize them appear in <a href="#sec-starttags"><b>3.1
1340
+ Start-Tags, End-Tags, and Empty-Element Tags</b></a>. Attribute-list declarations
1341
+ may be used:</p> <ul>
1342
+ <li><p>To define the set of attributes pertaining to a given element type.</p> </li>
1343
+ <li><p>To establish type constraints for these attributes.</p></li>
1344
+ <li><p>To provide <a title="Attribute Default" href="#dt-default">default
1345
+ values</a> for attributes.</p></li>
1346
+ </ul> <p>[<a title="Attribute-List Declaration" name="dt-attdecl">Definition</a>:
1347
+ <b>Attribute-list declarations</b> specify the name, data type, and default
1348
+ value (if any) of each attribute associated with a given element type:]</p> <h5>Attribute-list
1349
+ Declaration</h5><table class="scrap"><tbody>
1350
+ <tr valign="baseline">
1351
+ <td><a name="NT-AttlistDecl"></a>[52]&nbsp;&nbsp;&nbsp;</td>
1352
+ <td><code>AttlistDecl</code></td>
1353
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1354
+ <td><code>'&lt;!ATTLIST' <a href="#NT-S">S</a> <a href="#NT-Name">Name</a> <a
1355
+ href="#NT-AttDef">AttDef</a>* <a href="#NT-S">S</a>? '>'</code></td>
1356
+ </tr>
1357
+ </tbody><tbody>
1358
+ <tr valign="baseline">
1359
+ <td><a name="NT-AttDef"></a>[53]&nbsp;&nbsp;&nbsp;</td>
1360
+ <td><code>AttDef</code></td>
1361
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1362
+ <td><code><a href="#NT-S">S</a> <a href="#NT-Name">Name</a> <a href="#NT-S">S</a> <a
1363
+ href="#NT-AttType">AttType</a> <a href="#NT-S">S</a> <a href="#NT-DefaultDecl">DefaultDecl</a></code></td>
1364
+ </tr>
1365
+ </tbody></table> <p>The <a href="#NT-Name">Name</a> in the <a href="#NT-AttlistDecl">AttlistDecl</a>
1366
+ rule is the type of an element. At user option, an XML processor may issue
1367
+ a warning if attributes are declared for an element type not itself declared,
1368
+ but this is not an error. The <a href="#NT-Name">Name</a> in the <a href="#NT-AttDef">AttDef</a>
1369
+ rule is the name of the attribute.</p> <p>When more than one <a href="#NT-AttlistDecl">AttlistDecl</a>
1370
+ is provided for a given element type, the contents of all those provided are
1371
+ merged. When more than one definition is provided for the same attribute of
1372
+ a given element type, the first declaration is binding and later declarations
1373
+ are ignored. <a title="For interoperability" href="#dt-interop">For interoperability,</a>
1374
+ writers of DTDs may choose to provide at most one attribute-list declaration
1375
+ for a given element type, at most one attribute definition for a given attribute
1376
+ name in an attribute-list declaration, and at least one attribute definition
1377
+ in each attribute-list declaration. For interoperability, an XML processor
1378
+ may at user option issue a warning when more than one attribute-list declaration
1379
+ is provided for a given element type, or more than one attribute definition
1380
+ is provided for a given attribute, but this is not an error.</p> <div class="div3"> <h4><a
1381
+ name="sec-attribute-types"></a>3.3.1 Attribute Types</h4> <p>XML attribute
1382
+ types are of three kinds: a string type, a set of tokenized types, and enumerated
1383
+ types. The string type may take any literal string as a value; the tokenized
1384
+ types have varying lexical and semantic constraints. The validity constraints
1385
+ noted in the grammar are applied after the attribute value has been normalized
1386
+ as described in <a href="#attdecls"><b>3.3 Attribute-List Declarations</b></a>.</p> <h5>Attribute
1387
+ Types</h5><table class="scrap"><tbody>
1388
+ <tr valign="baseline">
1389
+ <td><a name="NT-AttType"></a>[54]&nbsp;&nbsp;&nbsp;</td>
1390
+ <td><code>AttType</code></td>
1391
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1392
+ <td><code><a href="#NT-StringType">StringType</a> | <a href="#NT-TokenizedType">TokenizedType</a>
1393
+ | <a href="#NT-EnumeratedType">EnumeratedType</a> </code></td>
1394
+ </tr>
1395
+ <tr valign="baseline">
1396
+ <td><a name="NT-StringType"></a>[55]&nbsp;&nbsp;&nbsp;</td>
1397
+ <td><code>StringType</code></td>
1398
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1399
+ <td><code>'CDATA'</code></td>
1400
+ </tr>
1401
+ <tr valign="baseline">
1402
+ <td><a name="NT-TokenizedType"></a>[56]&nbsp;&nbsp;&nbsp;</td>
1403
+ <td><code>TokenizedType</code></td>
1404
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1405
+ <td><code>'ID'</code></td>
1406
+ <td><a href="#id">[VC: ID]</a></td>
1407
+ </tr>
1408
+ <tr valign="baseline">
1409
+ <td></td>
1410
+ <td></td>
1411
+ <td></td>
1412
+ <td></td>
1413
+ <td><a href="#one-id-per-el">[VC: One ID per Element Type]</a></td>
1414
+ </tr>
1415
+ <tr valign="baseline">
1416
+ <td></td>
1417
+ <td></td>
1418
+ <td></td>
1419
+ <td></td>
1420
+ <td><a href="#id-default">[VC: ID Attribute Default]</a></td>
1421
+ </tr>
1422
+ <tr valign="baseline">
1423
+ <td></td>
1424
+ <td></td>
1425
+ <td></td>
1426
+ <td><code>| 'IDREF'</code></td>
1427
+ <td><a href="#idref">[VC: IDREF]</a></td>
1428
+ </tr>
1429
+ <tr valign="baseline">
1430
+ <td></td>
1431
+ <td></td>
1432
+ <td></td>
1433
+ <td><code>| 'IDREFS'</code></td>
1434
+ <td><a href="#idref">[VC: IDREF]</a></td>
1435
+ </tr>
1436
+ <tr valign="baseline">
1437
+ <td></td>
1438
+ <td></td>
1439
+ <td></td>
1440
+ <td><code>| 'ENTITY'</code></td>
1441
+ <td><a href="#entname">[VC: Entity Name]</a></td>
1442
+ </tr>
1443
+ <tr valign="baseline">
1444
+ <td></td>
1445
+ <td></td>
1446
+ <td></td>
1447
+ <td><code>| 'ENTITIES'</code></td>
1448
+ <td><a href="#entname">[VC: Entity Name]</a></td>
1449
+ </tr>
1450
+ <tr valign="baseline">
1451
+ <td></td>
1452
+ <td></td>
1453
+ <td></td>
1454
+ <td><code>| 'NMTOKEN'</code></td>
1455
+ <td><a href="#nmtok">[VC: Name Token]</a></td>
1456
+ </tr>
1457
+ <tr valign="baseline">
1458
+ <td></td>
1459
+ <td></td>
1460
+ <td></td>
1461
+ <td><code>| 'NMTOKENS'</code></td>
1462
+ <td><a href="#nmtok">[VC: Name Token]</a></td>
1463
+ </tr>
1464
+ </tbody></table> <div class="constraint"><p class="prefix"><a name="id"></a><b>Validity
1465
+ constraint: ID</b></p><p>Values of type <b>ID</b> must match the <a href="#NT-Name">Name</a>
1466
+ production. A name must not appear more than once in an XML document as a
1467
+ value of this type; i.e., ID values must uniquely identify the elements which
1468
+ bear them.</p> </div> <div class="constraint"><p class="prefix"><a name="one-id-per-el"></a><b>Validity
1469
+ constraint: One ID per Element Type</b></p><p>No element type may have more
1470
+ than one ID attribute specified.</p> </div> <div class="constraint"><p class="prefix"><a
1471
+ name="id-default"></a><b>Validity constraint: ID Attribute Default</b></p><p>An
1472
+ ID attribute must have a declared default of <b>#IMPLIED</b> or <b>#REQUIRED</b>.</p> </div> <div
1473
+ class="constraint"><p class="prefix"><a name="idref"></a><b>Validity constraint:
1474
+ IDREF</b></p><p>Values of type <b>IDREF</b> must match the <a href="#NT-Name">Name</a>
1475
+ production, and values of type <b>IDREFS</b> must match <a href="#NT-Names">Names</a>;
1476
+ each <a href="#NT-Name">Name</a> must match the value of an ID attribute on
1477
+ some element in the XML document; i.e. <b>IDREF</b> values must match the
1478
+ value of some ID attribute.</p> </div> <div class="constraint"><p class="prefix"><a
1479
+ name="entname"></a><b>Validity constraint: Entity Name</b></p><p>Values of
1480
+ type <b>ENTITY</b> must match the <a href="#NT-Name">Name</a> production,
1481
+ values of type <b>ENTITIES</b> must match <a href="#NT-Names">Names</a>; each <a
1482
+ href="#NT-Name">Name</a> must match the name of an <a title="Unparsed Entity"
1483
+ href="#dt-unparsed">unparsed entity</a> declared in the <a title="Document Type Declaration"
1484
+ href="#dt-doctype">DTD</a>.</p> </div> <div class="constraint"><p class="prefix"><a
1485
+ name="nmtok"></a><b>Validity constraint: Name Token</b></p><p>Values of type <b>NMTOKEN</b>
1486
+ must match the <a href="#NT-Nmtoken">Nmtoken</a> production; values of type <b>NMTOKENS</b>
1487
+ must match <a title="" href="#NT-Nmtokens">Nmtokens</a>.</p> </div> <p>[<a
1488
+ title="Enumerated Attribute Values" name="dt-enumerated">Definition</a>: <b>Enumerated
1489
+ attributes</b> can take one of a list of values provided in the declaration].
1490
+ There are two kinds of enumerated types:</p> <h5>Enumerated Attribute Types</h5><table
1491
+ class="scrap"><tbody>
1492
+ <tr valign="baseline">
1493
+ <td><a name="NT-EnumeratedType"></a>[57]&nbsp;&nbsp;&nbsp;</td>
1494
+ <td><code>EnumeratedType</code></td>
1495
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1496
+ <td><code><a href="#NT-NotationType">NotationType</a> | <a href="#NT-Enumeration">Enumeration</a> </code></td>
1497
+ </tr>
1498
+ </tbody><tbody>
1499
+ <tr valign="baseline">
1500
+ <td><a name="NT-NotationType"></a>[58]&nbsp;&nbsp;&nbsp;</td>
1501
+ <td><code>NotationType</code></td>
1502
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1503
+ <td><code>'NOTATION' <a href="#NT-S">S</a> '(' <a href="#NT-S">S</a>? <a href="#NT-Name">Name</a>
1504
+ (<a href="#NT-S">S</a>? '|' <a href="#NT-S">S</a>? <a href="#NT-Name">Name</a>)* <a
1505
+ href="#NT-S">S</a>? ')' </code></td>
1506
+ <td><a href="#notatn">[VC: Notation Attributes]</a></td>
1507
+ </tr>
1508
+ <tr valign="baseline">
1509
+ <td></td>
1510
+ <td></td>
1511
+ <td></td>
1512
+ <td></td>
1513
+ <td><a href="#OneNotationPer">[VC: One Notation Per Element Type]</a></td>
1514
+ </tr>
1515
+ <tr valign="baseline">
1516
+ <td></td>
1517
+ <td></td>
1518
+ <td></td>
1519
+ <td></td>
1520
+ <td><a href="#NoNotationEmpty">[VC: No Notation on Empty Element]</a></td>
1521
+ </tr>
1522
+ </tbody><tbody>
1523
+ <tr valign="baseline">
1524
+ <td><a name="NT-Enumeration"></a>[59]&nbsp;&nbsp;&nbsp;</td>
1525
+ <td><code>Enumeration</code></td>
1526
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1527
+ <td><code>'(' <a href="#NT-S">S</a>? <a href="#NT-Nmtoken">Nmtoken</a> (<a
1528
+ href="#NT-S">S</a>? '|' <a href="#NT-S">S</a>? <a href="#NT-Nmtoken">Nmtoken</a>)* <a
1529
+ href="#NT-S">S</a>? ')'</code></td>
1530
+ <td><a href="#enum">[VC: Enumeration]</a></td>
1531
+ </tr>
1532
+ </tbody></table> <p>A <b>NOTATION</b> attribute identifies a <a title="Notation"
1533
+ href="#dt-notation">notation</a>, declared in the DTD with associated system
1534
+ and/or public identifiers, to be used in interpreting the element to which
1535
+ the attribute is attached.</p> <div class="constraint"><p class="prefix"><a
1536
+ name="notatn"></a><b>Validity constraint: Notation Attributes</b></p><p>Values
1537
+ of this type must match one of the <a href="#Notations"><cite>notation</cite></a>
1538
+ names included in the declaration; all notation names in the declaration must
1539
+ be declared.</p> </div> <div class="constraint"><p class="prefix"><a name="OneNotationPer"></a><b>Validity
1540
+ constraint: One Notation Per Element Type</b></p><p>No element type may have
1541
+ more than one <b>NOTATION</b> attribute specified.</p> </div> <div class="constraint"><p
1542
+ class="prefix"><a name="NoNotationEmpty"></a><b>Validity constraint: No Notation
1543
+ on Empty Element</b></p><p><a title="For Compatibility" href="#dt-compat">For
1544
+ compatibility</a>, an attribute of type <b>NOTATION</b> must not be declared
1545
+ on an element declared <b>EMPTY</b>.</p> </div> <div class="constraint"><p
1546
+ class="prefix"><a name="enum"></a><b>Validity constraint: Enumeration</b></p><p>Values
1547
+ of this type must match one of the <a href="#NT-Nmtoken">Nmtoken</a> tokens
1548
+ in the declaration.</p> </div> <p><a title="For interoperability" href="#dt-interop">For
1549
+ interoperability,</a> the same <a href="#NT-Nmtoken">Nmtoken</a> should not
1550
+ occur more than once in the enumerated attribute types of a single element
1551
+ type.</p> </div> <div class="div3"> <h4><a name="sec-attr-defaults"></a>3.3.2
1552
+ Attribute Defaults</h4> <p>An <a title="Attribute-List Declaration" href="#dt-attdecl">attribute
1553
+ declaration</a> provides information on whether the attribute's presence is
1554
+ required, and if not, how an XML processor should react if a declared attribute
1555
+ is absent in a document.</p> <h5>Attribute Defaults</h5><table class="scrap">
1556
+ <tbody>
1557
+ <tr valign="baseline">
1558
+ <td><a name="NT-DefaultDecl"></a>[60]&nbsp;&nbsp;&nbsp;</td>
1559
+ <td><code>DefaultDecl</code></td>
1560
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1561
+ <td><code>'#REQUIRED' |&nbsp;'#IMPLIED' </code></td>
1562
+ </tr>
1563
+ <tr valign="baseline">
1564
+ <td></td>
1565
+ <td></td>
1566
+ <td></td>
1567
+ <td><code>| (('#FIXED' S)? <a href="#NT-AttValue">AttValue</a>)</code></td>
1568
+ <td><a href="#RequiredAttr">[VC: Required Attribute]</a></td>
1569
+ </tr>
1570
+ <tr valign="baseline">
1571
+ <td></td>
1572
+ <td></td>
1573
+ <td></td>
1574
+ <td></td>
1575
+ <td><a href="#defattrvalid">[VC: Attribute Default Legal]</a></td>
1576
+ </tr>
1577
+ <tr valign="baseline">
1578
+ <td></td>
1579
+ <td></td>
1580
+ <td></td>
1581
+ <td></td>
1582
+ <td><a href="#CleanAttrVals">[WFC: No &lt; in Attribute Values]</a></td>
1583
+ </tr>
1584
+ <tr valign="baseline">
1585
+ <td></td>
1586
+ <td></td>
1587
+ <td></td>
1588
+ <td></td>
1589
+ <td><a href="#FixedAttr">[VC: Fixed Attribute Default]</a></td>
1590
+ </tr>
1591
+ </tbody></table> <p>In an attribute declaration, <b>#REQUIRED</b> means that
1592
+ the attribute must always be provided, <b>#IMPLIED</b> that no default value
1593
+ is provided. [<a title="Attribute Default" name="dt-default">Definition</a>:
1594
+ If the declaration is neither <b>#REQUIRED</b> nor <b>#IMPLIED</b>, then the <a
1595
+ href="#NT-AttValue">AttValue</a> value contains the declared <b>default</b>
1596
+ value; the <b>#FIXED</b> keyword states that the attribute must always have
1597
+ the default value. If a default value is declared, when an XML processor encounters
1598
+ an omitted attribute, it is to behave as though the attribute were present
1599
+ with the declared default value.]</p> <div class="constraint"><p class="prefix"><a
1600
+ name="RequiredAttr"></a><b>Validity constraint: Required Attribute</b></p><p>If
1601
+ the default declaration is the keyword <b>#REQUIRED</b>, then the attribute
1602
+ must be specified for all elements of the type in the attribute-list declaration.</p> </div> <div
1603
+ class="constraint"><p class="prefix"><a name="defattrvalid"></a><b>Validity
1604
+ constraint: Attribute Default Legal</b></p><p>The declared default value must
1605
+ meet the lexical constraints of the declared attribute type.</p> </div> <div
1606
+ class="constraint"><p class="prefix"><a name="FixedAttr"></a><b>Validity constraint:
1607
+ Fixed Attribute Default</b></p><p>If an attribute has a default value declared
1608
+ with the <b>#FIXED</b> keyword, instances of that attribute must match the
1609
+ default value.</p> </div> <p>Examples of attribute-list declarations:</p> <table
1610
+ class="eg" width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
1611
+ <tr>
1612
+ <td><pre>&lt;!ATTLIST termdef
1613
+ id ID #REQUIRED
1614
+ name CDATA #IMPLIED>
1615
+ &lt;!ATTLIST list
1616
+ type (bullets|ordered|glossary) "ordered">
1617
+ &lt;!ATTLIST form
1618
+ method CDATA #FIXED "POST"></pre></td>
1619
+ </tr>
1620
+ </table> </div> <div class="div3"> <h4><a name="AVNormalize"></a>3.3.3 Attribute-Value
1621
+ Normalization</h4> <p>Before the value of an attribute is passed to the application
1622
+ or checked for validity, the XML processor must normalize the attribute value
1623
+ by applying the algorithm below, or by using some other method such that the
1624
+ value passed to the application is the same as that produced by the algorithm.</p> <ol>
1625
+ <li><p>All line breaks must have been normalized on input to #xA as described
1626
+ in <a href="#sec-line-ends"><b>2.11 End-of-Line Handling</b></a>, so the rest
1627
+ of this algorithm operates on text normalized in this way.</p></li>
1628
+ <li><p>Begin with a normalized value consisting of the empty string.</p> </li>
1629
+ <li><p>For each character, entity reference, or character reference in the
1630
+ unnormalized attribute value, beginning with the first and continuing to the
1631
+ last, do the following:</p> <ul>
1632
+ <li><p>For a character reference, append the referenced character to the normalized
1633
+ value.</p></li>
1634
+ <li><p>For an entity reference, recursively apply step 3 of this algorithm
1635
+ to the replacement text of the entity.</p></li>
1636
+ <li><p>For a white space character (#x20, #xD, #xA, #x9), append a space character
1637
+ (#x20) to the normalized value.</p></li>
1638
+ <li><p>For another character, append the character to the normalized value.</p> </li>
1639
+ </ul> </li>
1640
+ </ol> <p>If the attribute type is not CDATA, then the XML processor must further
1641
+ process the normalized attribute value by discarding any leading and trailing
1642
+ space (#x20) characters, and by replacing sequences of space (#x20) characters
1643
+ by a single space (#x20) character.</p> <p>Note that if the unnormalized attribute
1644
+ value contains a character reference to a white space character other than
1645
+ space (#x20), the normalized value contains the referenced character itself
1646
+ (#xD, #xA or #x9). This contrasts with the case where the unnormalized value
1647
+ contains a white space character (not a reference), which is replaced with
1648
+ a space character (#x20) in the normalized value and also contrasts with the
1649
+ case where the unnormalized value contains an entity reference whose replacement
1650
+ text contains a white space character; being recursively processed, the white
1651
+ space character is replaced with a space character (#x20) in the normalized
1652
+ value.</p> <p>All attributes for which no declaration has been read should
1653
+ be treated by a non-validating processor as if declared <b>CDATA</b>.</p> <p>Following
1654
+ are examples of attribute normalization. Given the following declarations:</p> <table
1655
+ class="eg" width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
1656
+ <tr>
1657
+ <td><pre>&lt;!ENTITY d "&amp;#xD;">
1658
+ &lt;!ENTITY a "&amp;#xA;">
1659
+ &lt;!ENTITY da "&amp;#xD;&amp;#xA;"></pre></td>
1660
+ </tr>
1661
+ </table> <p>the attribute specifications in the left column below would be
1662
+ normalized to the character sequences of the middle column if the attribute <code>a</code>
1663
+ is declared <b>NMTOKENS</b> and to those of the right columns if <code>a</code>
1664
+ is declared <b>CDATA</b>.</p> <table border="1" frame="border"><thead>
1665
+ <tr>
1666
+ <th rowspan="1" colspan="1">Attribute specification</th>
1667
+ <th rowspan="1" colspan="1">a is NMTOKENS</th>
1668
+ <th rowspan="1" colspan="1">a is CDATA</th>
1669
+ </tr>
1670
+ </thead><tbody>
1671
+ <tr>
1672
+ <td rowspan="1" colspan="1"><table class="eg" width="100%" border="1" cellpadding="5"
1673
+ bgcolor="#99ffff">
1674
+ <tr>
1675
+ <td><pre>a="
1676
+
1677
+ xyz"</pre></td>
1678
+ </tr>
1679
+ </table></td>
1680
+ <td rowspan="1" colspan="1"><code>x y z</code></td>
1681
+ <td rowspan="1" colspan="1"><code>#x20 #x20 x y z</code></td>
1682
+ </tr>
1683
+ <tr>
1684
+ <td rowspan="1" colspan="1"><table class="eg" width="100%" border="1" cellpadding="5"
1685
+ bgcolor="#99ffff">
1686
+ <tr>
1687
+ <td><pre>a="&amp;d;&amp;d;A&amp;a;&amp;a;B&amp;da;"</pre></td>
1688
+ </tr>
1689
+ </table></td>
1690
+ <td rowspan="1" colspan="1"><code>A #x20 B</code></td>
1691
+ <td rowspan="1" colspan="1"><code>#x20 #x20 A #x20 #x20 B #x20 #x20</code></td>
1692
+ </tr>
1693
+ <tr>
1694
+ <td rowspan="1" colspan="1"><table class="eg" width="100%" border="1" cellpadding="5"
1695
+ bgcolor="#99ffff">
1696
+ <tr>
1697
+ <td><pre>a=
1698
+ "&amp;#xd;&amp;#xd;A&amp;#xa;&amp;#xa;B&amp;#xd;&amp;#xa;"</pre></td>
1699
+ </tr>
1700
+ </table></td>
1701
+ <td rowspan="1" colspan="1"><code>#xD #xD A #xA #xA B #xD #xA</code></td>
1702
+ <td rowspan="1" colspan="1"><code>#xD #xD A #xA #xA B #xD #xD</code></td>
1703
+ </tr>
1704
+ </tbody></table> <p>Note that the last example is invalid (but well-formed)
1705
+ if <code>a</code> is declared to be of type <b>NMTOKENS</b>.</p> </div> </div> <div
1706
+ class="div2"> <h3><a name="sec-condition-sect"></a>3.4 Conditional Sections</h3> <p>[<a
1707
+ title="conditional section" name="dt-cond-section">Definition</a>: <b>Conditional
1708
+ sections</b> are portions of the <a title="Document Type Declaration" href="#dt-doctype">document
1709
+ type declaration external subset</a> which are included in, or excluded from,
1710
+ the logical structure of the DTD based on the keyword which governs them.]</p> <h5>Conditional
1711
+ Section</h5><table class="scrap"><tbody>
1712
+ <tr valign="baseline">
1713
+ <td><a name="NT-conditionalSect"></a>[61]&nbsp;&nbsp;&nbsp;</td>
1714
+ <td><code>conditionalSect</code></td>
1715
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1716
+ <td><code><a href="#NT-includeSect">includeSect</a> | <a href="#NT-ignoreSect">ignoreSect</a> </code></td>
1717
+ </tr>
1718
+ <tr valign="baseline">
1719
+ <td><a name="NT-includeSect"></a>[62]&nbsp;&nbsp;&nbsp;</td>
1720
+ <td><code>includeSect</code></td>
1721
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1722
+ <td><code>'&lt;![' S? 'INCLUDE' S? '[' <a href="#NT-extSubsetDecl">extSubsetDecl</a>
1723
+ ']]&gt;' </code></td>
1724
+ <td><i>/* */</i></td>
1725
+ </tr>
1726
+ <tr valign="baseline">
1727
+ <td></td>
1728
+ <td></td>
1729
+ <td></td>
1730
+ <td></td>
1731
+ <td><a href="#condsec-nesting">[VC: Proper Conditional Section/PE Nesting]</a></td>
1732
+ </tr>
1733
+ <tr valign="baseline">
1734
+ <td><a name="NT-ignoreSect"></a>[63]&nbsp;&nbsp;&nbsp;</td>
1735
+ <td><code>ignoreSect</code></td>
1736
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1737
+ <td><code>'&lt;![' S? 'IGNORE' S? '[' <a href="#NT-ignoreSectContents">ignoreSectContents</a>*
1738
+ ']]&gt;'</code></td>
1739
+ <td><i>/* */</i></td>
1740
+ </tr>
1741
+ <tr valign="baseline">
1742
+ <td></td>
1743
+ <td></td>
1744
+ <td></td>
1745
+ <td></td>
1746
+ <td><a href="#condsec-nesting">[VC: Proper Conditional Section/PE Nesting]</a></td>
1747
+ </tr>
1748
+ <tr valign="baseline">
1749
+ <td><a name="NT-ignoreSectContents"></a>[64]&nbsp;&nbsp;&nbsp;</td>
1750
+ <td><code>ignoreSectContents</code></td>
1751
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1752
+ <td><code><a href="#NT-Ignore">Ignore</a> ('&lt;![' <a href="#NT-ignoreSectContents">ignoreSectContents</a>
1753
+ ']]&gt;' <a href="#NT-Ignore">Ignore</a>)*</code></td>
1754
+ </tr>
1755
+ <tr valign="baseline">
1756
+ <td><a name="NT-Ignore"></a>[65]&nbsp;&nbsp;&nbsp;</td>
1757
+ <td><code>Ignore</code></td>
1758
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1759
+ <td><code><a href="#NT-Char">Char</a>* - (<a href="#NT-Char">Char</a>* ('&lt;!['
1760
+ | ']]&gt;') <a href="#NT-Char">Char</a>*) </code></td>
1761
+ </tr>
1762
+ </tbody></table> <div class="constraint"><p class="prefix"><a name="condsec-nesting"></a><b>Validity
1763
+ constraint: Proper Conditional Section/PE Nesting</b></p><p>If any of the
1764
+ "<code>&lt;![</code>", "<code>[</code>", or "<code>]]&gt;</code>" of a conditional
1765
+ section is contained in the replacement text for a parameter-entity reference,
1766
+ all of them must be contained in the same replacement text.</p> </div> <p>Like
1767
+ the internal and external DTD subsets, a conditional section may contain one
1768
+ or more complete declarations, comments, processing instructions, or nested
1769
+ conditional sections, intermingled with white space.</p> <p>If the keyword
1770
+ of the conditional section is <b>INCLUDE</b>, then the contents of the conditional
1771
+ section are part of the DTD. If the keyword of the conditional section is <b>IGNORE</b>,
1772
+ then the contents of the conditional section are not logically part of the
1773
+ DTD. If a conditional section with a keyword of <b>INCLUDE</b> occurs within
1774
+ a larger conditional section with a keyword of <b>IGNORE</b>, both the outer
1775
+ and the inner conditional sections are ignored. The contents of an ignored
1776
+ conditional section are parsed by ignoring all characters after the "<code>[</code>"
1777
+ following the keyword, except conditional section starts "<code>&lt;![</code>"
1778
+ and ends "<code>]]&gt;</code>", until the matching conditional section end
1779
+ is found. Parameter entity references are not recognized in this process.</p> <p>If
1780
+ the keyword of the conditional section is a parameter-entity reference, the
1781
+ parameter entity must be replaced by its content before the processor decides
1782
+ whether to include or ignore the conditional section.</p> <p>An example:</p> <table
1783
+ class="eg" width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
1784
+ <tr>
1785
+ <td><pre>&lt;!ENTITY % draft 'INCLUDE' >
1786
+ &lt;!ENTITY % final 'IGNORE' >
1787
+
1788
+ &lt;![%draft;[
1789
+ &lt;!ELEMENT book (comments*, title, body, supplements?)>
1790
+ ]]&gt;
1791
+ &lt;![%final;[
1792
+ &lt;!ELEMENT book (title, body, supplements?)>
1793
+ ]]&gt;</pre></td>
1794
+ </tr>
1795
+ </table> </div> </div> <div class="div1"> <h2><a name="sec-physical-struct"></a>4
1796
+ Physical Structures</h2> <p>[<a title="Entity" name="dt-entity">Definition</a>:
1797
+ An XML document may consist of one or many storage units. These are called <b>entities</b>;
1798
+ they all have <b>content</b> and are all (except for the <a title="Document Entity"
1799
+ href="#dt-docent">document entity</a> and the <a title="Document Type Declaration"
1800
+ href="#dt-doctype">external DTD subset</a>) identified by entity <b>name</b>.]
1801
+ Each XML document has one entity called the <a title="Document Entity" href="#dt-docent">document
1802
+ entity</a>, which serves as the starting point for the <a title="XML Processor"
1803
+ href="#dt-xml-proc">XML processor</a> and may contain the whole document.</p> <p>Entities
1804
+ may be either parsed or unparsed. [<a title="Text Entity" name="dt-parsedent">Definition</a>:
1805
+ A <b>parsed entity's</b> contents are referred to as its <a title="Replacement Text"
1806
+ href="#dt-repltext">replacement text</a>; this <a title="Text" href="#dt-text">text</a>
1807
+ is considered an integral part of the document.]</p> <p>[<a title="Unparsed Entity"
1808
+ name="dt-unparsed">Definition</a>: An <b>unparsed entity</b> is a resource
1809
+ whose contents may or may not be <a title="Text" href="#dt-text">text</a>,
1810
+ and if text, may be other than XML. Each unparsed entity has an associated <a
1811
+ title="Notation" href="#dt-notation">notation</a>, identified by name. Beyond
1812
+ a requirement that an XML processor make the identifiers for the entity and
1813
+ notation available to the application, XML places no constraints on the contents
1814
+ of unparsed entities.]</p> <p>Parsed entities are invoked by name using entity
1815
+ references; unparsed entities by name, given in the value of <b>ENTITY</b>
1816
+ or <b>ENTITIES</b> attributes.</p> <p>[<a title="general entity" name="gen-entity">Definition</a>: <b>General
1817
+ entities</b> are entities for use within the document content. In this specification,
1818
+ general entities are sometimes referred to with the unqualified term <em>entity</em>
1819
+ when this leads to no ambiguity.] [<a title="Parameter entity" name="dt-PE">Definition</a>: <b>Parameter
1820
+ entities</b> are parsed entities for use within the DTD.] These two types
1821
+ of entities use different forms of reference and are recognized in different
1822
+ contexts. Furthermore, they occupy different namespaces; a parameter entity
1823
+ and a general entity with the same name are two distinct entities.</p> <div
1824
+ class="div2"> <h3><a name="sec-references"></a>4.1 Character and Entity References</h3> <p>[<a
1825
+ title="Character Reference" name="dt-charref">Definition</a>: A <b>character
1826
+ reference</b> refers to a specific character in the ISO/IEC 10646 character
1827
+ set, for example one not directly accessible from available input devices.]</p> <h5>Character
1828
+ Reference</h5><table class="scrap"><tbody>
1829
+ <tr valign="baseline">
1830
+ <td><a name="NT-CharRef"></a>[66]&nbsp;&nbsp;&nbsp;</td>
1831
+ <td><code>CharRef</code></td>
1832
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1833
+ <td><code>'&amp;#' [0-9]+ ';' </code></td>
1834
+ </tr>
1835
+ <tr valign="baseline">
1836
+ <td></td>
1837
+ <td></td>
1838
+ <td></td>
1839
+ <td><code>| '&amp;#x' [0-9a-fA-F]+ ';'</code></td>
1840
+ <td><a href="#wf-Legalchar">[WFC: Legal Character]</a></td>
1841
+ </tr>
1842
+ </tbody></table> <div class="constraint"><p class="prefix"><a name="wf-Legalchar"></a><b>Well-formedness
1843
+ constraint: Legal Character</b></p><p>Characters referred to using character
1844
+ references must match the production for <a title="" href="#NT-Char">Char</a>.</p> </div> <p>If
1845
+ the character reference begins with "<code>&amp;#x</code>", the digits and
1846
+ letters up to the terminating <code>;</code> provide a hexadecimal representation
1847
+ of the character's code point in ISO/IEC 10646. If it begins just with "<code>&amp;#</code>",
1848
+ the digits up to the terminating <code>;</code> provide a decimal representation
1849
+ of the character's code point.</p> <p>[<a title="Entity Reference" name="dt-entref">Definition</a>:
1850
+ An <b>entity reference</b> refers to the content of a named entity.] [<a title="General Entity Reference"
1851
+ name="dt-GERef">Definition</a>: References to parsed general entities use
1852
+ ampersand (<code>&amp;</code>) and semicolon (<code>;</code>) as delimiters.]
1853
+ [<a title="Parameter-entity reference" name="dt-PERef">Definition</a>: <b>Parameter-entity
1854
+ references</b> use percent-sign (<code>%</code>) and semicolon (<code>;</code>)
1855
+ as delimiters.]</p> <h5>Entity Reference</h5><table class="scrap"><tbody>
1856
+ <tr valign="baseline">
1857
+ <td><a name="NT-Reference"></a>[67]&nbsp;&nbsp;&nbsp;</td>
1858
+ <td><code>Reference</code></td>
1859
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1860
+ <td><code><a href="#NT-EntityRef">EntityRef</a> | <a href="#NT-CharRef">CharRef</a></code></td>
1861
+ </tr>
1862
+ </tbody><tbody>
1863
+ <tr valign="baseline">
1864
+ <td><a name="NT-EntityRef"></a>[68]&nbsp;&nbsp;&nbsp;</td>
1865
+ <td><code>EntityRef</code></td>
1866
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1867
+ <td><code>'&amp;' <a href="#NT-Name">Name</a> ';'</code></td>
1868
+ <td><a href="#wf-entdeclared">[WFC: Entity Declared]</a></td>
1869
+ </tr>
1870
+ <tr valign="baseline">
1871
+ <td></td>
1872
+ <td></td>
1873
+ <td></td>
1874
+ <td></td>
1875
+ <td><a href="#vc-entdeclared">[VC: Entity Declared]</a></td>
1876
+ </tr>
1877
+ <tr valign="baseline">
1878
+ <td></td>
1879
+ <td></td>
1880
+ <td></td>
1881
+ <td></td>
1882
+ <td><a href="#textent">[WFC: Parsed Entity]</a></td>
1883
+ </tr>
1884
+ <tr valign="baseline">
1885
+ <td></td>
1886
+ <td></td>
1887
+ <td></td>
1888
+ <td></td>
1889
+ <td><a href="#norecursion">[WFC: No Recursion]</a></td>
1890
+ </tr>
1891
+ </tbody><tbody>
1892
+ <tr valign="baseline">
1893
+ <td><a name="NT-PEReference"></a>[69]&nbsp;&nbsp;&nbsp;</td>
1894
+ <td><code>PEReference</code></td>
1895
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1896
+ <td><code>'%' <a href="#NT-Name">Name</a> ';'</code></td>
1897
+ <td><a href="#vc-entdeclared">[VC: Entity Declared]</a></td>
1898
+ </tr>
1899
+ <tr valign="baseline">
1900
+ <td></td>
1901
+ <td></td>
1902
+ <td></td>
1903
+ <td></td>
1904
+ <td><a href="#norecursion">[WFC: No Recursion]</a></td>
1905
+ </tr>
1906
+ <tr valign="baseline">
1907
+ <td></td>
1908
+ <td></td>
1909
+ <td></td>
1910
+ <td></td>
1911
+ <td><a href="#indtd">[WFC: In DTD]</a></td>
1912
+ </tr>
1913
+ </tbody></table> <div class="constraint"><p class="prefix"><a name="wf-entdeclared"></a><b>Well-formedness
1914
+ constraint: Entity Declared</b></p><p>In a document without any DTD, a document
1915
+ with only an internal DTD subset which contains no parameter entity references,
1916
+ or a document with "<code>standalone='yes'</code>", for an entity reference
1917
+ that does not occur within the external subset or a parameter entity, the <a
1918
+ href="#NT-Name">Name</a> given in the entity reference must <a title="match"
1919
+ href="#dt-match">match</a> that in an <a href="#sec-entity-decl"><cite>entity
1920
+ declaration</cite></a> that does not occur within the external subset or a
1921
+ parameter entity, except that well-formed documents need not declare any of
1922
+ the following entities: <code>amp</code>, <code>lt</code>, <code>gt</code>, <code>apos</code>, <code>quot</code>.
1923
+ The declaration of a general entity must precede any reference to it which
1924
+ appears in a default value in an attribute-list declaration.</p> <p>Note that
1925
+ if entities are declared in the external subset or in external parameter entities,
1926
+ a non-validating processor is <a href="#include-if-valid"><cite>not obligated
1927
+ to</cite></a> read and process their declarations; for such documents, the
1928
+ rule that an entity must be declared is a well-formedness constraint only
1929
+ if <a href="#sec-rmd"><cite>standalone='yes'</cite></a>.</p> </div> <div class="constraint"><p
1930
+ class="prefix"><a name="vc-entdeclared"></a><b>Validity constraint: Entity
1931
+ Declared</b></p><p>In a document with an external subset or external parameter
1932
+ entities with "<code>standalone='no'</code>", the <a href="#NT-Name">Name</a>
1933
+ given in the entity reference must <a title="match" href="#dt-match">match</a>
1934
+ that in an <a href="#sec-entity-decl"><cite>entity declaration</cite></a>.
1935
+ For interoperability, valid documents should declare the entities <code>amp</code>, <code>lt</code>, <code>gt</code>, <code>apos</code>, <code>quot</code
1936
+ >, in the form specified in <a href="#sec-predefined-ent"><b>4.6 Predefined
1937
+ Entities</b></a>. The declaration of a parameter entity must precede any reference
1938
+ to it. Similarly, the declaration of a general entity must precede any attribute-list
1939
+ declaration containing a default value with a direct or indirect reference
1940
+ to that general entity.</p> </div> <div class="constraint"><p class="prefix"><a
1941
+ name="textent"></a><b>Well-formedness constraint: Parsed Entity</b></p><p>An
1942
+ entity reference must not contain the name of an <a title="Unparsed Entity"
1943
+ href="#dt-unparsed">unparsed entity</a>. Unparsed entities may be referred
1944
+ to only in <a title="Attribute Value" href="#dt-attrval">attribute values</a>
1945
+ declared to be of type <b>ENTITY</b> or <b>ENTITIES</b>.</p> </div> <div class="constraint"><p
1946
+ class="prefix"><a name="norecursion"></a><b>Well-formedness constraint: No
1947
+ Recursion</b></p><p>A parsed entity must not contain a recursive reference
1948
+ to itself, either directly or indirectly.</p> </div> <div class="constraint"><p
1949
+ class="prefix"><a name="indtd"></a><b>Well-formedness constraint: In DTD</b></p><p>Parameter-entity
1950
+ references may only appear in the <a title="Document Type Declaration" href="#dt-doctype">DTD</a>.</p> </div> <p>Examples
1951
+ of character and entity references:</p> <table class="eg" width="100%" border="1"
1952
+ cellpadding="5" bgcolor="#99ffff">
1953
+ <tr>
1954
+ <td><pre>Type &lt;key>less-than&lt;/key> (&amp;#x3C;) to save options.
1955
+ This document was prepared on &amp;docdate; and
1956
+ is classified &amp;security-level;.</pre></td>
1957
+ </tr>
1958
+ </table> <p>Example of a parameter-entity reference:</p> <table class="eg"
1959
+ width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
1960
+ <tr>
1961
+ <td><pre>&lt;!-- declare the parameter entity "ISOLat2"... -->
1962
+ &lt;!ENTITY % ISOLat2
1963
+ SYSTEM "http://www.xml.com/iso/isolat2-xml.entities" >
1964
+ &lt;!-- ... now reference it. -->
1965
+ %ISOLat2;</pre></td>
1966
+ </tr>
1967
+ </table> </div> <div class="div2"> <h3><a name="sec-entity-decl"></a>4.2 Entity
1968
+ Declarations</h3> <p>[<a title="entity declaration" name="dt-entdecl">Definition</a>:
1969
+ Entities are declared thus:]</p> <h5>Entity Declaration</h5><table class="scrap">
1970
+ <tbody>
1971
+ <tr valign="baseline">
1972
+ <td><a name="NT-EntityDecl"></a>[70]&nbsp;&nbsp;&nbsp;</td>
1973
+ <td><code>EntityDecl</code></td>
1974
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1975
+ <td><code><a href="#NT-GEDecl">GEDecl</a> | <a href="#NT-PEDecl">PEDecl</a></code></td>
1976
+ </tr>
1977
+ <tr valign="baseline">
1978
+ <td><a name="NT-GEDecl"></a>[71]&nbsp;&nbsp;&nbsp;</td>
1979
+ <td><code>GEDecl</code></td>
1980
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1981
+ <td><code>'&lt;!ENTITY' <a href="#NT-S">S</a> <a href="#NT-Name">Name</a> <a
1982
+ href="#NT-S">S</a> <a href="#NT-EntityDef">EntityDef</a> <a href="#NT-S">S</a>?
1983
+ '>'</code></td>
1984
+ </tr>
1985
+ <tr valign="baseline">
1986
+ <td><a name="NT-PEDecl"></a>[72]&nbsp;&nbsp;&nbsp;</td>
1987
+ <td><code>PEDecl</code></td>
1988
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1989
+ <td><code>'&lt;!ENTITY' <a href="#NT-S">S</a> '%' <a href="#NT-S">S</a> <a
1990
+ href="#NT-Name">Name</a> <a href="#NT-S">S</a> <a href="#NT-PEDef">PEDef</a> <a
1991
+ href="#NT-S">S</a>? '>'</code></td>
1992
+ </tr>
1993
+ <tr valign="baseline">
1994
+ <td><a name="NT-EntityDef"></a>[73]&nbsp;&nbsp;&nbsp;</td>
1995
+ <td><code>EntityDef</code></td>
1996
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
1997
+ <td><code><a href="#NT-EntityValue">EntityValue</a> | (<a href="#NT-ExternalID">ExternalID</a> <a
1998
+ href="#NT-NDataDecl">NDataDecl</a>?)</code></td>
1999
+ </tr>
2000
+ <tr valign="baseline">
2001
+ <td><a name="NT-PEDef"></a>[74]&nbsp;&nbsp;&nbsp;</td>
2002
+ <td><code>PEDef</code></td>
2003
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
2004
+ <td><code><a href="#NT-EntityValue">EntityValue</a> | <a href="#NT-ExternalID">ExternalID</a></code></td>
2005
+ </tr>
2006
+ </tbody></table> <p>The <a href="#NT-Name">Name</a> identifies the entity
2007
+ in an <a title="Entity Reference" href="#dt-entref">entity reference</a> or,
2008
+ in the case of an unparsed entity, in the value of an <b>ENTITY</b> or <b>ENTITIES</b>
2009
+ attribute. If the same entity is declared more than once, the first declaration
2010
+ encountered is binding; at user option, an XML processor may issue a warning
2011
+ if entities are declared multiple times.</p> <div class="div3"> <h4><a name="sec-internal-ent"></a>4.2.1
2012
+ Internal Entities</h4> <p>[<a title="Internal Entity Replacement Text" name="dt-internent">Definition</a>:
2013
+ If the entity definition is an <a href="#NT-EntityValue">EntityValue</a>,
2014
+ the defined entity is called an <b>internal entity</b>. There is no separate
2015
+ physical storage object, and the content of the entity is given in the declaration.]
2016
+ Note that some processing of entity and character references in the <a title="Literal Entity Value"
2017
+ href="#dt-litentval">literal entity value</a> may be required to produce the
2018
+ correct <a title="Replacement Text" href="#dt-repltext">replacement text</a>:
2019
+ see <a href="#intern-replacement"><b>4.5 Construction of Internal Entity Replacement
2020
+ Text</b></a>.</p> <p>An internal entity is a <a title="Text Entity" href="#dt-parsedent">parsed
2021
+ entity</a>.</p> <p>Example of an internal entity declaration:</p> <table class="eg"
2022
+ width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
2023
+ <tr>
2024
+ <td><pre>&lt;!ENTITY Pub-Status "This is a pre-release of the
2025
+ specification."></pre></td>
2026
+ </tr>
2027
+ </table> </div> <div class="div3"> <h4><a name="sec-external-ent"></a>4.2.2
2028
+ External Entities</h4> <p>[<a title="External Entity" name="dt-extent">Definition</a>:
2029
+ If the entity is not internal, it is an <b>external entity</b>, declared as
2030
+ follows:]</p> <h5>External Entity Declaration</h5><table class="scrap"><tbody>
2031
+ <tr valign="baseline">
2032
+ <td><a name="NT-ExternalID"></a>[75]&nbsp;&nbsp;&nbsp;</td>
2033
+ <td><code>ExternalID</code></td>
2034
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
2035
+ <td><code>'SYSTEM' <a href="#NT-S">S</a> <a href="#NT-SystemLiteral">SystemLiteral</a></code></td>
2036
+ </tr>
2037
+ <tr valign="baseline">
2038
+ <td></td>
2039
+ <td></td>
2040
+ <td></td>
2041
+ <td><code>| 'PUBLIC' <a href="#NT-S">S</a> <a href="#NT-PubidLiteral">PubidLiteral</a> <a
2042
+ href="#NT-S">S</a> <a href="#NT-SystemLiteral">SystemLiteral</a> </code></td>
2043
+ </tr>
2044
+ </tbody><tbody>
2045
+ <tr valign="baseline">
2046
+ <td><a name="NT-NDataDecl"></a>[76]&nbsp;&nbsp;&nbsp;</td>
2047
+ <td><code>NDataDecl</code></td>
2048
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
2049
+ <td><code><a href="#NT-S">S</a> 'NDATA' <a href="#NT-S">S</a> <a href="#NT-Name">Name</a></code></td>
2050
+ <td><a href="#not-declared">[VC: Notation Declared]</a></td>
2051
+ </tr>
2052
+ </tbody></table> <p>If the <a href="#NT-NDataDecl">NDataDecl</a> is present,
2053
+ this is a general <a title="Unparsed Entity" href="#dt-unparsed">unparsed
2054
+ entity</a>; otherwise it is a parsed entity.</p> <div class="constraint"><p
2055
+ class="prefix"><a name="not-declared"></a><b>Validity constraint: Notation
2056
+ Declared</b></p><p>The <a href="#NT-Name">Name</a> must match the declared
2057
+ name of a <a title="Notation" href="#dt-notation">notation</a>.</p> </div> <p>[<a
2058
+ title="System Identifier" name="dt-sysid">Definition</a>: The <a href="#NT-SystemLiteral">SystemLiteral</a>
2059
+ is called the entity's <b>system identifier</b>. It is a URI reference (as
2060
+ defined in <a href="#rfc2396">[IETF RFC 2396]</a>, updated by <a href="#rfc2732">[IETF
2061
+ RFC 2732]</a>), meant to be dereferenced to obtain input for the XML processor
2062
+ to construct the entity's replacement text.] It is an error for a fragment
2063
+ identifier (beginning with a <code>#</code> character) to be part of a system
2064
+ identifier. Unless otherwise provided by information outside the scope of
2065
+ this specification (e.g. a special XML element type defined by a particular
2066
+ DTD, or a processing instruction defined by a particular application specification),
2067
+ relative URIs are relative to the location of the resource within which the
2068
+ entity declaration occurs. A URI might thus be relative to the <a title="Document Entity"
2069
+ href="#dt-docent">document entity</a>, to the entity containing the <a title="Document Type Declaration"
2070
+ href="#dt-doctype">external DTD subset</a>, or to some other <a title="External Entity"
2071
+ href="#dt-extent">external parameter entity</a>.</p> <p>URI references require
2072
+ encoding and escaping of certain characters. The disallowed characters include
2073
+ all non-ASCII characters, plus the excluded characters listed in Section 2.4
2074
+ of <a href="#rfc2396">[IETF RFC 2396]</a>, except for the number sign (<code>#</code>)
2075
+ and percent sign (<code>%</code>) characters and the square bracket characters
2076
+ re-allowed in <a href="#rfc2732">[IETF RFC 2732]</a>. Disallowed characters
2077
+ must be escaped as follows:</p> <ol>
2078
+ <li><p>Each disallowed character is converted to UTF-8 <a href="#rfc2279">[IETF
2079
+ RFC 2279]</a> as one or more bytes.</p></li>
2080
+ <li><p>Any octets corresponding to a disallowed character are escaped with
2081
+ the URI escaping mechanism (that is, converted to <code>%</code><var>HH</var>,
2082
+ where HH is the hexadecimal notation of the byte value).</p></li>
2083
+ <li><p>The original character is replaced by the resulting character sequence.</p> </li>
2084
+ </ol> <p>[<a title="Public identifier" name="dt-pubid">Definition</a>: In
2085
+ addition to a system identifier, an external identifier may include a <b>public
2086
+ identifier</b>.] An XML processor attempting to retrieve the entity's content
2087
+ may use the public identifier to try to generate an alternative URI reference.
2088
+ If the processor is unable to do so, it must use the URI reference specified
2089
+ in the system literal. Before a match is attempted, all strings of white space
2090
+ in the public identifier must be normalized to single space characters (#x20),
2091
+ and leading and trailing white space must be removed.</p> <p>Examples of external
2092
+ entity declarations:</p> <table class="eg" width="100%" border="1" cellpadding="5"
2093
+ bgcolor="#99ffff">
2094
+ <tr>
2095
+ <td><pre>&lt;!ENTITY open-hatch
2096
+ SYSTEM "http://www.textuality.com/boilerplate/OpenHatch.xml">
2097
+ &lt;!ENTITY open-hatch
2098
+ PUBLIC "-//Textuality//TEXT Standard open-hatch boilerplate//EN"
2099
+ "http://www.textuality.com/boilerplate/OpenHatch.xml">
2100
+ &lt;!ENTITY hatch-pic
2101
+ SYSTEM "../grafix/OpenHatch.gif"
2102
+ NDATA gif ></pre></td>
2103
+ </tr>
2104
+ </table> </div> </div> <div class="div2"> <h3><a name="TextEntities"></a>4.3
2105
+ Parsed Entities</h3> <div class="div3"> <h4><a name="sec-TextDecl"></a>4.3.1
2106
+ The Text Declaration</h4> <p>External parsed entities should each begin with
2107
+ a <b>text declaration</b>.</p> <h5>Text Declaration</h5><table class="scrap">
2108
+ <tbody>
2109
+ <tr valign="baseline">
2110
+ <td><a name="NT-TextDecl"></a>[77]&nbsp;&nbsp;&nbsp;</td>
2111
+ <td><code>TextDecl</code></td>
2112
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
2113
+ <td><code>'&lt;?xml' <a href="#NT-VersionInfo">VersionInfo</a>? <a href="#NT-EncodingDecl">EncodingDecl</a> <a
2114
+ href="#NT-S">S</a>? '?>'</code></td>
2115
+ </tr>
2116
+ </tbody></table> <p>The text declaration must be provided literally, not by
2117
+ reference to a parsed entity. No text declaration may appear at any position
2118
+ other than the beginning of an external parsed entity. The text declaration
2119
+ in an external parsed entity is not considered part of its <a title="Replacement Text"
2120
+ href="#dt-repltext">replacement text</a>.</p> </div> <div class="div3"> <h4><a
2121
+ name="wf-entities"></a>4.3.2 Well-Formed Parsed Entities</h4> <p>The document
2122
+ entity is well-formed if it matches the production labeled <a href="#NT-document">document</a>.
2123
+ An external general parsed entity is well-formed if it matches the production
2124
+ labeled <a href="#NT-extParsedEnt">extParsedEnt</a>. All external parameter
2125
+ entities are well-formed by definition.</p> <h5>Well-Formed External Parsed
2126
+ Entity</h5><table class="scrap"><tbody>
2127
+ <tr valign="baseline">
2128
+ <td><a name="NT-extParsedEnt"></a>[78]&nbsp;&nbsp;&nbsp;</td>
2129
+ <td><code>extParsedEnt</code></td>
2130
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
2131
+ <td><code><a href="#NT-TextDecl">TextDecl</a>? <a href="#NT-content">content</a></code></td>
2132
+ </tr>
2133
+ </tbody></table> <p>An internal general parsed entity is well-formed if its
2134
+ replacement text matches the production labeled <a href="#NT-content">content</a>.
2135
+ All internal parameter entities are well-formed by definition.</p> <p>A consequence
2136
+ of well-formedness in entities is that the logical and physical structures
2137
+ in an XML document are properly nested; no <a title="Start-Tag" href="#dt-stag">start-tag</a>, <a
2138
+ title="End Tag" href="#dt-etag">end-tag</a>, <a title="Empty" href="#dt-empty">empty-element
2139
+ tag</a>, <a title="Element" href="#dt-element">element</a>, <a title="Comment"
2140
+ href="#dt-comment">comment</a>, <a title="Processing instruction" href="#dt-pi">processing
2141
+ instruction</a>, <a title="Character Reference" href="#dt-charref">character
2142
+ reference</a>, or <a title="Entity Reference" href="#dt-entref">entity reference</a>
2143
+ can begin in one entity and end in another.</p> </div> <div class="div3"> <h4><a
2144
+ name="charencoding"></a>4.3.3 Character Encoding in Entities</h4> <p>Each
2145
+ external parsed entity in an XML document may use a different encoding for
2146
+ its characters. All XML processors must be able to read entities in both the
2147
+ UTF-8 and UTF-16 encodings. The terms "UTF-8" and "UTF-16" in this specification
2148
+ do not apply to character encodings with any other labels, even if the encodings
2149
+ or labels are very similar to UTF-8 or UTF-16.</p> <p>Entities encoded in
2150
+ UTF-16 must begin with the Byte Order Mark described by Annex F of <a href="#ISO10646">[ISO/IEC
2151
+ 10646]</a>, Annex H of <a href="#ISO10646-2000">[ISO/IEC 10646-2000]</a>,
2152
+ section 2.4 of <a href="#Unicode">[Unicode]</a>, and section 2.7 of <a href="#Unicode3">[Unicode3]</a>
2153
+ (the ZERO WIDTH NO-BREAK SPACE character, #xFEFF). This is an encoding signature,
2154
+ not part of either the markup or the character data of the XML document. XML
2155
+ processors must be able to use this character to differentiate between UTF-8
2156
+ and UTF-16 encoded documents.</p> <p>Although an XML processor is required
2157
+ to read only entities in the UTF-8 and UTF-16 encodings, it is recognized
2158
+ that other encodings are used around the world, and it may be desired for
2159
+ XML processors to read entities that use them. In the absence of external
2160
+ character encoding information (such as MIME headers), parsed entities which
2161
+ are stored in an encoding other than UTF-8 or UTF-16 must begin with a text
2162
+ declaration (see <a href="#sec-TextDecl"><b>4.3.1 The Text Declaration</b></a>)
2163
+ containing an encoding declaration:</p> <h5>Encoding Declaration</h5><table
2164
+ class="scrap"><tbody>
2165
+ <tr valign="baseline">
2166
+ <td><a name="NT-EncodingDecl"></a>[80]&nbsp;&nbsp;&nbsp;</td>
2167
+ <td><code>EncodingDecl</code></td>
2168
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
2169
+ <td><code><a href="#NT-S">S</a> 'encoding' <a href="#NT-Eq">Eq</a> ('"' <a
2170
+ href="#NT-EncName">EncName</a> '"' | "'" <a href="#NT-EncName">EncName</a>
2171
+ "'" ) </code></td>
2172
+ </tr>
2173
+ </tbody><tbody>
2174
+ <tr valign="baseline">
2175
+ <td><a name="NT-EncName"></a>[81]&nbsp;&nbsp;&nbsp;</td>
2176
+ <td><code>EncName</code></td>
2177
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
2178
+ <td><code>[A-Za-z] ([A-Za-z0-9._] | '-')*</code></td>
2179
+ <td><i>/* Encoding name contains only Latin characters */</i></td>
2180
+ </tr>
2181
+ </tbody></table> <p>In the <a title="Document Entity" href="#dt-docent">document
2182
+ entity</a>, the encoding declaration is part of the <a title="XML Declaration"
2183
+ href="#dt-xmldecl">XML declaration</a>. The <a href="#NT-EncName">EncName</a>
2184
+ is the name of the encoding used.</p> <p>In an encoding declaration, the
2185
+ values "<code>UTF-8</code>", "<code>UTF-16</code>", "<code>ISO-10646-UCS-2</code>",
2186
+ and "<code>ISO-10646-UCS-4</code>" should be used for the various encodings
2187
+ and transformations of Unicode / ISO/IEC 10646, the values "<code>ISO-8859-1</code>",
2188
+ "<code>ISO-8859-2</code>", ... "<code>ISO-8859-</code><var>n</var>" (where <var>n</var>
2189
+ is the part number) should be used for the parts of ISO 8859, and the values
2190
+ "<code>ISO-2022-JP</code>", "<code>Shift_JIS</code>", and "<code>EUC-JP</code>"
2191
+ should be used for the various encoded forms of JIS X-0208-1997. It is recommended
2192
+ that character encodings registered (as <em>charset</em>s) with the Internet
2193
+ Assigned Numbers Authority <a href="#IANA">[IANA-CHARSETS]</a>, other than
2194
+ those just listed, be referred to using their registered names; other encodings
2195
+ should use names starting with an "x-" prefix. XML processors should match
2196
+ character encoding names in a case-insensitive way and should either interpret
2197
+ an IANA-registered name as the encoding registered at IANA for that name or
2198
+ treat it as unknown (processors are, of course, not required to support all
2199
+ IANA-registered encodings).</p> <p>In the absence of information provided
2200
+ by an external transport protocol (e.g. HTTP or MIME), it is an <a title="Error"
2201
+ href="#dt-error">error</a> for an entity including an encoding declaration
2202
+ to be presented to the XML processor in an encoding other than that named
2203
+ in the declaration, or for an entity which begins with neither a Byte Order
2204
+ Mark nor an encoding declaration to use an encoding other than UTF-8. Note
2205
+ that since ASCII is a subset of UTF-8, ordinary ASCII entities do not strictly
2206
+ need an encoding declaration.</p> <p>It is a fatal error for a <a href="#NT-TextDecl">TextDecl</a>
2207
+ to occur other than at the beginning of an external entity.</p> <p>It is a <a
2208
+ title="Fatal Error" href="#dt-fatal">fatal error</a> when an XML processor
2209
+ encounters an entity with an encoding that it is unable to process. It is
2210
+ a fatal error if an XML entity is determined (via default, encoding declaration,
2211
+ or higher-level protocol) to be in a certain encoding but contains octet sequences
2212
+ that are not legal in that encoding. It is also a fatal error if an XML entity
2213
+ contains no encoding declaration and its content is not legal UTF-8 or UTF-16.</p> <p>Examples
2214
+ of text declarations containing encoding declarations:</p> <table class="eg"
2215
+ width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
2216
+ <tr>
2217
+ <td><pre>&lt;?xml encoding='UTF-8'?>
2218
+ &lt;?xml encoding='EUC-JP'?></pre></td>
2219
+ </tr>
2220
+ </table> </div> </div> <div class="div2"> <h3><a name="entproc"></a>4.4 XML
2221
+ Processor Treatment of Entities and References</h3> <p>The table below summarizes
2222
+ the contexts in which character references, entity references, and invocations
2223
+ of unparsed entities might appear and the required behavior of an <a title="XML Processor"
2224
+ href="#dt-xml-proc">XML processor</a> in each case. The labels in the leftmost
2225
+ column describe the recognition context: </p><dl>
2226
+ <dt class="label">Reference in Content</dt>
2227
+ <dd> <p>as a reference anywhere after the <a title="Start-Tag" href="#dt-stag">start-tag</a>
2228
+ and before the <a title="End Tag" href="#dt-etag">end-tag</a> of an element;
2229
+ corresponds to the nonterminal <a href="#NT-content">content</a>.</p> </dd>
2230
+ <dt class="label">Reference in Attribute Value</dt>
2231
+ <dd> <p>as a reference within either the value of an attribute in a <a title="Start-Tag"
2232
+ href="#dt-stag">start-tag</a>, or a default value in an <a title="Attribute-List Declaration"
2233
+ href="#dt-attdecl">attribute declaration</a>; corresponds to the nonterminal <a
2234
+ href="#NT-AttValue">AttValue</a>.</p> </dd>
2235
+ <dt class="label">Occurs as Attribute Value</dt>
2236
+ <dd> <p>as a <a href="#NT-Name">Name</a>, not a reference, appearing either
2237
+ as the value of an attribute which has been declared as type <b>ENTITY</b>,
2238
+ or as one of the space-separated tokens in the value of an attribute which
2239
+ has been declared as type <b>ENTITIES</b>.</p> </dd>
2240
+ <dt class="label">Reference in Entity Value</dt>
2241
+ <dd> <p>as a reference within a parameter or internal entity's <a title="Literal Entity Value"
2242
+ href="#dt-litentval">literal entity value</a> in the entity's declaration;
2243
+ corresponds to the nonterminal <a href="#NT-EntityValue">EntityValue</a>.</p> </dd>
2244
+ <dt class="label">Reference in DTD</dt>
2245
+ <dd> <p>as a reference within either the internal or external subsets of the <a
2246
+ title="Document Type Declaration" href="#dt-doctype">DTD</a>, but outside
2247
+ of an <a href="#NT-EntityValue">EntityValue</a>, <a href="#NT-AttValue">AttValue</a>, <a
2248
+ href="#NT-PI">PI</a>, <a href="#NT-Comment">Comment</a>, <a href="#NT-SystemLiteral">SystemLiteral</a>, <a
2249
+ href="#NT-PubidLiteral">PubidLiteral</a>, or the contents of an ignored conditional
2250
+ section (see <a href="#sec-condition-sect"><b>3.4 Conditional Sections</b></a>).</p> <p>.</p> </dd>
2251
+ </dl><p></p> <table border="1" frame="border" cellpadding="7"><tbody align="center">
2252
+ <tr>
2253
+ <td rowspan="2" colspan="1"></td>
2254
+ <td rowspan="1" colspan="4" align="center" valign="bottom">Entity Type</td>
2255
+ <td rowspan="2" colspan="1" align="center">Character</td>
2256
+ </tr>
2257
+ <tr align="center" valign="bottom">
2258
+ <td rowspan="1" colspan="1">Parameter</td>
2259
+ <td rowspan="1" colspan="1">Internal General</td>
2260
+ <td rowspan="1" colspan="1">External Parsed General</td>
2261
+ <td rowspan="1" colspan="1">Unparsed</td>
2262
+ </tr>
2263
+ <tr align="center" valign="middle">
2264
+ <td rowspan="1" colspan="1" align="right">Reference in Content</td>
2265
+ <td rowspan="1" colspan="1"><a href="#not-recognized"><cite>Not recognized</cite></a></td>
2266
+ <td rowspan="1" colspan="1"><a href="#included"><cite>Included</cite></a></td>
2267
+ <td rowspan="1" colspan="1"><a href="#include-if-valid"><cite>Included if
2268
+ validating</cite></a></td>
2269
+ <td rowspan="1" colspan="1"><a href="#forbidden"><cite>Forbidden</cite></a></td>
2270
+ <td rowspan="1" colspan="1"><a href="#included"><cite>Included</cite></a></td>
2271
+ </tr>
2272
+ <tr align="center" valign="middle">
2273
+ <td rowspan="1" colspan="1" align="right">Reference in Attribute Value</td>
2274
+ <td rowspan="1" colspan="1"><a href="#not-recognized"><cite>Not recognized</cite></a></td>
2275
+ <td rowspan="1" colspan="1"><a href="#inliteral"><cite>Included in literal</cite></a></td>
2276
+ <td rowspan="1" colspan="1"><a href="#forbidden"><cite>Forbidden</cite></a></td>
2277
+ <td rowspan="1" colspan="1"><a href="#forbidden"><cite>Forbidden</cite></a></td>
2278
+ <td rowspan="1" colspan="1"><a href="#included"><cite>Included</cite></a></td>
2279
+ </tr>
2280
+ <tr align="center" valign="middle">
2281
+ <td rowspan="1" colspan="1" align="right">Occurs as Attribute Value</td>
2282
+ <td rowspan="1" colspan="1"><a href="#not-recognized"><cite>Not recognized</cite></a></td>
2283
+ <td rowspan="1" colspan="1"><a href="#forbidden"><cite>Forbidden</cite></a></td>
2284
+ <td rowspan="1" colspan="1"><a href="#forbidden"><cite>Forbidden</cite></a></td>
2285
+ <td rowspan="1" colspan="1"><a href="#notify"><cite>Notify</cite></a></td>
2286
+ <td rowspan="1" colspan="1"><a href="#not-recognized"><cite>Not recognized</cite></a></td>
2287
+ </tr>
2288
+ <tr align="center" valign="middle">
2289
+ <td rowspan="1" colspan="1" align="right">Reference in EntityValue</td>
2290
+ <td rowspan="1" colspan="1"><a href="#inliteral"><cite>Included in literal</cite></a></td>
2291
+ <td rowspan="1" colspan="1"><a href="#bypass"><cite>Bypassed</cite></a></td>
2292
+ <td rowspan="1" colspan="1"><a href="#bypass"><cite>Bypassed</cite></a></td>
2293
+ <td rowspan="1" colspan="1"><a href="#forbidden"><cite>Forbidden</cite></a></td>
2294
+ <td rowspan="1" colspan="1"><a href="#included"><cite>Included</cite></a></td>
2295
+ </tr>
2296
+ <tr align="center" valign="middle">
2297
+ <td rowspan="1" colspan="1" align="right">Reference in DTD</td>
2298
+ <td rowspan="1" colspan="1"><a href="#as-PE"><cite>Included as PE</cite></a></td>
2299
+ <td rowspan="1" colspan="1"><a href="#forbidden"><cite>Forbidden</cite></a></td>
2300
+ <td rowspan="1" colspan="1"><a href="#forbidden"><cite>Forbidden</cite></a></td>
2301
+ <td rowspan="1" colspan="1"><a href="#forbidden"><cite>Forbidden</cite></a></td>
2302
+ <td rowspan="1" colspan="1"><a href="#forbidden"><cite>Forbidden</cite></a></td>
2303
+ </tr>
2304
+ </tbody></table> <div class="div3"> <h4><a name="not-recognized"></a>4.4.1
2305
+ Not Recognized</h4> <p>Outside the DTD, the <code>%</code> character has no
2306
+ special significance; thus, what would be parameter entity references in the
2307
+ DTD are not recognized as markup in <a href="#NT-content">content</a>. Similarly,
2308
+ the names of unparsed entities are not recognized except when they appear
2309
+ in the value of an appropriately declared attribute.</p> </div> <div class="div3"> <h4><a
2310
+ name="included"></a>4.4.2 Included</h4> <p>[<a title="Include" name="dt-include">Definition</a>:
2311
+ An entity is <b>included</b> when its <a title="Replacement Text" href="#dt-repltext">replacement
2312
+ text</a> is retrieved and processed, in place of the reference itself, as
2313
+ though it were part of the document at the location the reference was recognized.]
2314
+ The replacement text may contain both <a title="Character Data" href="#dt-chardata">character
2315
+ data</a> and (except for parameter entities) <a title="Markup" href="#dt-markup">markup</a>,
2316
+ which must be recognized in the usual way. (The string "<code>AT&amp;amp;T;</code>"
2317
+ expands to "<code>AT&amp;T;</code>" and the remaining ampersand is not recognized
2318
+ as an entity-reference delimiter.) A character reference is <b>included</b>
2319
+ when the indicated character is processed in place of the reference itself. </p> </div> <div
2320
+ class="div3"> <h4><a name="include-if-valid"></a>4.4.3 Included If Validating</h4> <p>When
2321
+ an XML processor recognizes a reference to a parsed entity, in order to <a
2322
+ title="Validity" href="#dt-valid">validate</a> the document, the processor
2323
+ must <a title="Include" href="#dt-include">include</a> its replacement text.
2324
+ If the entity is external, and the processor is not attempting to validate
2325
+ the XML document, the processor <a title="May" href="#dt-may">may</a>, but
2326
+ need not, include the entity's replacement text. If a non-validating processor
2327
+ does not include the replacement text, it must inform the application that
2328
+ it recognized, but did not read, the entity.</p> <p>This rule is based on
2329
+ the recognition that the automatic inclusion provided by the SGML and XML
2330
+ entity mechanism, primarily designed to support modularity in authoring, is
2331
+ not necessarily appropriate for other applications, in particular document
2332
+ browsing. Browsers, for example, when encountering an external parsed entity
2333
+ reference, might choose to provide a visual indication of the entity's presence
2334
+ and retrieve it for display only on demand.</p> </div> <div class="div3"> <h4><a
2335
+ name="forbidden"></a>4.4.4 Forbidden</h4> <p>The following are forbidden,
2336
+ and constitute <a title="Fatal Error" href="#dt-fatal">fatal</a> errors:</p> <ul>
2337
+ <li><p>the appearance of a reference to an <a title="Unparsed Entity" href="#dt-unparsed">unparsed
2338
+ entity</a>.</p></li>
2339
+ <li><p>the appearance of any character or general-entity reference in the
2340
+ DTD except within an <a href="#NT-EntityValue">EntityValue</a> or <a href="#NT-AttValue">AttValue</a>.</p> </li>
2341
+ <li><p>a reference to an external entity in an attribute value.</p></li>
2342
+ </ul> </div> <div class="div3"> <h4><a name="inliteral"></a>4.4.5 Included
2343
+ in Literal</h4> <p>When an <a title="Entity Reference" href="#dt-entref">entity
2344
+ reference</a> appears in an attribute value, or a parameter entity reference
2345
+ appears in a literal entity value, its <a title="Replacement Text" href="#dt-repltext">replacement
2346
+ text</a> is processed in place of the reference itself as though it were part
2347
+ of the document at the location the reference was recognized, except that
2348
+ a single or double quote character in the replacement text is always treated
2349
+ as a normal data character and will not terminate the literal. For example,
2350
+ this is well-formed:</p> <table class="eg" width="100%" border="1" cellpadding="5"
2351
+ bgcolor="#99ffff">
2352
+ <tr>
2353
+ <td><pre>&lt;!-- -->
2354
+ &lt;!ENTITY % YN '"Yes"' >
2355
+ &lt;!ENTITY WhatHeSaid "He said %YN;" ></pre></td>
2356
+ </tr>
2357
+ </table> <p>while this is not:</p> <table class="eg" width="100%" border="1"
2358
+ cellpadding="5" bgcolor="#99ffff">
2359
+ <tr>
2360
+ <td><pre>&lt;!ENTITY EndAttr "27'" >
2361
+ &lt;element attribute='a-&amp;EndAttr;></pre></td>
2362
+ </tr>
2363
+ </table> </div> <div class="div3"> <h4><a name="notify"></a>4.4.6 Notify</h4> <p>When
2364
+ the name of an <a title="Unparsed Entity" href="#dt-unparsed">unparsed entity</a>
2365
+ appears as a token in the value of an attribute of declared type <b>ENTITY</b>
2366
+ or <b>ENTITIES</b>, a validating processor must inform the application of
2367
+ the <a title="System Identifier" href="#dt-sysid">system</a> and <a title="Public identifier"
2368
+ href="#dt-pubid">public</a> (if any) identifiers for both the entity and its
2369
+ associated <a title="Notation" href="#dt-notation">notation</a>.</p> </div> <div
2370
+ class="div3"> <h4><a name="bypass"></a>4.4.7 Bypassed</h4> <p>When a general
2371
+ entity reference appears in the <a href="#NT-EntityValue">EntityValue</a>
2372
+ in an entity declaration, it is bypassed and left as is.</p> </div> <div class="div3"> <h4><a
2373
+ name="as-PE"></a>4.4.8 Included as PE</h4> <p>Just as with external parsed
2374
+ entities, parameter entities need only be <a href="#include-if-valid"><cite>included
2375
+ if validating</cite></a>. When a parameter-entity reference is recognized
2376
+ in the DTD and included, its <a title="Replacement Text" href="#dt-repltext">replacement
2377
+ text</a> is enlarged by the attachment of one leading and one following space
2378
+ (#x20) character; the intent is to constrain the replacement text of parameter
2379
+ entities to contain an integral number of grammatical tokens in the DTD. This
2380
+ behavior does not apply to parameter entity references within entity values;
2381
+ these are described in <a href="#inliteral"><b>4.4.5 Included in Literal</b></a>.</p> </div> </div> <div
2382
+ class="div2"> <h3><a name="intern-replacement"></a>4.5 Construction of Internal
2383
+ Entity Replacement Text</h3> <p>In discussing the treatment of internal entities,
2384
+ it is useful to distinguish two forms of the entity's value. [<a title="Literal Entity Value"
2385
+ name="dt-litentval">Definition</a>: The <b>literal entity value</b> is the
2386
+ quoted string actually present in the entity declaration, corresponding to
2387
+ the non-terminal <a href="#NT-EntityValue">EntityValue</a>.] [<a title="Replacement Text"
2388
+ name="dt-repltext">Definition</a>: The <b>replacement text</b> is the content
2389
+ of the entity, after replacement of character references and parameter-entity
2390
+ references.]</p> <p>The literal entity value as given in an internal entity
2391
+ declaration (<a href="#NT-EntityValue">EntityValue</a>) may contain character,
2392
+ parameter-entity, and general-entity references. Such references must be contained
2393
+ entirely within the literal entity value. The actual replacement text that
2394
+ is <a title="Include" href="#dt-include">included</a> as described above must
2395
+ contain the <em>replacement text</em> of any parameter entities referred to,
2396
+ and must contain the character referred to, in place of any character references
2397
+ in the literal entity value; however, general-entity references must be left
2398
+ as-is, unexpanded. For example, given the following declarations:</p> <table
2399
+ class="eg" width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
2400
+ <tr>
2401
+ <td><pre>&lt;!ENTITY % pub "&amp;#xc9;ditions Gallimard" >
2402
+ &lt;!ENTITY rights "All rights reserved" >
2403
+ &lt;!ENTITY book "La Peste: Albert Camus,
2404
+ &amp;#xA9; 1947 %pub;. &amp;rights;" ></pre></td>
2405
+ </tr>
2406
+ </table> <p>then the replacement text for the entity "<code>book</code>" is:</p> <table
2407
+ class="eg" width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
2408
+ <tr>
2409
+ <td><pre>La Peste: Albert Camus,
2410
+ &copy; 1947 &Eacute;ditions Gallimard. &amp;rights;</pre></td>
2411
+ </tr>
2412
+ </table> <p>The general-entity reference "<code>&amp;rights;</code>" would
2413
+ be expanded should the reference "<code>&amp;book;</code>" appear in the document's
2414
+ content or an attribute value.</p> <p>These simple rules may have complex
2415
+ interactions; for a detailed discussion of a difficult example, see <a href="#sec-entexpand"><b>D
2416
+ Expansion of Entity and Character References</b></a>.</p> </div> <div class="div2"> <h3><a
2417
+ name="sec-predefined-ent"></a>4.6 Predefined Entities</h3> <p>[<a title="escape"
2418
+ name="dt-escape">Definition</a>: Entity and character references can both
2419
+ be used to <b>escape</b> the left angle bracket, ampersand, and other delimiters.
2420
+ A set of general entities (<code>amp</code>, <code>lt</code>, <code>gt</code>, <code>apos</code>, <code>quot</code>)
2421
+ is specified for this purpose. Numeric character references may also be used;
2422
+ they are expanded immediately when recognized and must be treated as character
2423
+ data, so the numeric character references "<code>&amp;#60;</code>" and "<code>&amp;#38;</code>"
2424
+ may be used to escape <code>&lt;</code> and <code>&amp;</code> when they occur
2425
+ in character data.]</p> <p>All XML processors must recognize these entities
2426
+ whether they are declared or not. <a title="For interoperability" href="#dt-interop">For
2427
+ interoperability</a>, valid XML documents should declare these entities, like
2428
+ any others, before using them. If the entities <code>lt</code> or <code>amp</code>
2429
+ are declared, they must be declared as internal entities whose replacement
2430
+ text is a character reference to the respective character (less-than sign
2431
+ or ampersand) being escaped; the double escaping is required for these entities
2432
+ so that references to them produce a well-formed result. If the entities <code>gt</code>, <code>apos</code>,
2433
+ or <code>quot</code> are declared, they must be declared as internal entities
2434
+ whose replacement text is the single character being escaped (or a character
2435
+ reference to that character; the double escaping here is unnecessary but harmless).
2436
+ For example:</p> <table class="eg" width="100%" border="1" cellpadding="5"
2437
+ bgcolor="#99ffff">
2438
+ <tr>
2439
+ <td><pre>&lt;!ENTITY lt "&amp;#38;#60;">
2440
+ &lt;!ENTITY gt "&amp;#62;">
2441
+ &lt;!ENTITY amp "&amp;#38;#38;">
2442
+ &lt;!ENTITY apos "&amp;#39;">
2443
+ &lt;!ENTITY quot "&amp;#34;"></pre></td>
2444
+ </tr>
2445
+ </table> </div> <div class="div2"> <h3><a name="Notations"></a>4.7 Notation
2446
+ Declarations</h3> <p>[<a title="Notation" name="dt-notation">Definition</a>: <b>Notations</b>
2447
+ identify by name the format of <a title="External Entity" href="#dt-extent">unparsed
2448
+ entities</a>, the format of elements which bear a notation attribute, or the
2449
+ application to which a <a title="Processing instruction" href="#dt-pi">processing
2450
+ instruction</a> is addressed.]</p> <p>[<a title="Notation Declaration" name="dt-notdecl">Definition</a>:
2451
+ <b>Notation declarations</b> provide a name for the notation, for use in
2452
+ entity and attribute-list declarations and in attribute specifications, and
2453
+ an external identifier for the notation which may allow an XML processor or
2454
+ its client application to locate a helper application capable of processing
2455
+ data in the given notation.]</p> <h5>Notation Declarations</h5><table class="scrap">
2456
+ <tbody>
2457
+ <tr valign="baseline">
2458
+ <td><a name="NT-NotationDecl"></a>[82]&nbsp;&nbsp;&nbsp;</td>
2459
+ <td><code>NotationDecl</code></td>
2460
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
2461
+ <td><code>'&lt;!NOTATION' <a href="#NT-S">S</a> <a href="#NT-Name">Name</a> <a
2462
+ href="#NT-S">S</a> (<a href="#NT-ExternalID">ExternalID</a> | <a href="#NT-PublicID">PublicID</a>) <a
2463
+ href="#NT-S">S</a>? '>'</code></td>
2464
+ <td><a href="#UniqueNotationName">[VC: Unique Notation Name]</a></td>
2465
+ </tr>
2466
+ </tbody><tbody>
2467
+ <tr valign="baseline">
2468
+ <td><a name="NT-PublicID"></a>[83]&nbsp;&nbsp;&nbsp;</td>
2469
+ <td><code>PublicID</code></td>
2470
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
2471
+ <td><code>'PUBLIC' <a href="#NT-S">S</a> <a href="#NT-PubidLiteral">PubidLiteral</a> </code></td>
2472
+ </tr>
2473
+ </tbody></table> <div class="constraint"><p class="prefix"><a name="UniqueNotationName"></a><b>Validity
2474
+ constraint: Unique Notation Name</b></p><p>Only one notation declaration can
2475
+ declare a given <a href="#NT-Name">Name</a>.</p> </div> <p>XML processors
2476
+ must provide applications with the name and external identifier(s) of any
2477
+ notation declared and referred to in an attribute value, attribute definition,
2478
+ or entity declaration. They may additionally resolve the external identifier
2479
+ into the <a title="System Identifier" href="#dt-sysid">system identifier</a>,
2480
+ file name, or other information needed to allow the application to call a
2481
+ processor for data in the notation described. (It is not an error, however,
2482
+ for XML documents to declare and refer to notations for which notation-specific
2483
+ applications are not available on the system where the XML processor or application
2484
+ is running.)</p> </div> <div class="div2"> <h3><a name="sec-doc-entity"></a>4.8
2485
+ Document Entity</h3> <p>[<a title="Document Entity" name="dt-docent">Definition</a>:
2486
+ The <b>document entity</b> serves as the root of the entity tree and a starting-point
2487
+ for an <a title="XML Processor" href="#dt-xml-proc">XML processor</a>.] This
2488
+ specification does not specify how the document entity is to be located by
2489
+ an XML processor; unlike other entities, the document entity has no name and
2490
+ might well appear on a processor input stream without any identification at
2491
+ all.</p> </div> </div> <div class="div1"> <h2><a name="sec-conformance"></a>5
2492
+ Conformance</h2> <div class="div2"> <h3><a name="proc-types"></a>5.1 Validating
2493
+ and Non-Validating Processors</h3> <p>Conforming <a title="XML Processor"
2494
+ href="#dt-xml-proc">XML processors</a> fall into two classes: validating and
2495
+ non-validating.</p> <p>Validating and non-validating processors alike must
2496
+ report violations of this specification's well-formedness constraints in the
2497
+ content of the <a title="Document Entity" href="#dt-docent">document entity</a>
2498
+ and any other <a title="Text Entity" href="#dt-parsedent">parsed entities</a>
2499
+ that they read.</p> <p>[<a title="Validating Processor" name="dt-validating">Definition</a>: <b>Validating
2500
+ processors</b> must, at user option, report violations of the constraints
2501
+ expressed by the declarations in the <a title="Document Type Declaration"
2502
+ href="#dt-doctype">DTD</a>, and failures to fulfill the validity constraints
2503
+ given in this specification.] To accomplish this, validating XML processors
2504
+ must read and process the entire DTD and all external parsed entities referenced
2505
+ in the document.</p> <p>Non-validating processors are required to check only
2506
+ the <a title="Document Entity" href="#dt-docent">document entity</a>, including
2507
+ the entire internal DTD subset, for well-formedness. [<a title="Process Declarations"
2508
+ name="dt-use-mdecl">Definition</a>: While they are not required to check
2509
+ the document for validity, they are required to <b>process</b> all the declarations
2510
+ they read in the internal DTD subset and in any parameter entity that they
2511
+ read, up to the first reference to a parameter entity that they do <em>not</em>
2512
+ read; that is to say, they must use the information in those declarations
2513
+ to <a href="#AVNormalize"><cite>normalize</cite></a> attribute values, <a
2514
+ href="#included"><cite>include</cite></a> the replacement text of internal
2515
+ entities, and supply <a href="#sec-attr-defaults"><cite>default attribute
2516
+ values</cite></a>.] Except when <code>standalone="yes"</code>, they must not <a
2517
+ title="Process Declarations" href="#dt-use-mdecl">process</a> <a title="entity declaration"
2518
+ href="#dt-entdecl">entity declarations</a> or <a title="Attribute-List Declaration"
2519
+ href="#dt-attdecl">attribute-list declarations</a> encountered after a reference
2520
+ to a parameter entity that is not read, since the entity may have contained
2521
+ overriding declarations.</p> </div> <div class="div2"> <h3><a name="safe-behavior"></a>5.2
2522
+ Using XML Processors</h3> <p>The behavior of a validating XML processor is
2523
+ highly predictable; it must read every piece of a document and report all
2524
+ well-formedness and validity violations. Less is required of a non-validating
2525
+ processor; it need not read any part of the document other than the document
2526
+ entity. This has two effects that may be important to users of XML processors:</p> <ul>
2527
+ <li><p>Certain well-formedness errors, specifically those that require reading
2528
+ external entities, may not be detected by a non-validating processor. Examples
2529
+ include the constraints entitled <a href="#wf-entdeclared"><cite>Entity Declared</cite></a>, <a
2530
+ href="#textent"><cite>Parsed Entity</cite></a>, and <a href="#norecursion"><cite>No
2531
+ Recursion</cite></a>, as well as some of the cases described as <a href="#forbidden"><cite>forbidden</cite></a>
2532
+ in <a href="#entproc"><b>4.4 XML Processor Treatment of Entities and References</b></a>.</p></li>
2533
+ <li><p>The information passed from the processor to the application may vary,
2534
+ depending on whether the processor reads parameter and external entities.
2535
+ For example, a non-validating processor may not <a href="#AVNormalize"><cite>normalize</cite></a>
2536
+ attribute values, <a href="#included"><cite>include</cite></a> the replacement
2537
+ text of internal entities, or supply <a href="#sec-attr-defaults"><cite>default
2538
+ attribute values</cite></a>, where doing so depends on having read declarations
2539
+ in external or parameter entities.</p></li>
2540
+ </ul> <p>For maximum reliability in interoperating between different XML processors,
2541
+ applications which use non-validating processors should not rely on any behaviors
2542
+ not required of such processors. Applications which require facilities such
2543
+ as the use of default attributes or internal entities which are declared in
2544
+ external entities should use validating XML processors.</p> </div> </div> <div
2545
+ class="div1"> <h2><a name="sec-notation"></a>6 Notation</h2> <p>The formal
2546
+ grammar of XML is given in this specification using a simple Extended Backus-Naur
2547
+ Form (EBNF) notation. Each rule in the grammar defines one symbol, in the
2548
+ form</p> <table class="eg" width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
2549
+ <tr>
2550
+ <td><pre>symbol ::= expression</pre></td>
2551
+ </tr>
2552
+ </table> <p>Symbols are written with an initial capital letter if they are
2553
+ the start symbol of a regular language, otherwise with an initial lower case
2554
+ letter. Literal strings are quoted.</p> <p>Within the expression on the right-hand
2555
+ side of a rule, the following expressions are used to match strings of one
2556
+ or more characters: </p><dl>
2557
+ <dt class="label"><code>#xN</code></dt>
2558
+ <dd> <p>where <code>N</code> is a hexadecimal integer, the expression matches
2559
+ the character in ISO/IEC 10646 whose canonical (UCS-4) code value, when interpreted
2560
+ as an unsigned binary number, has the value indicated. The number of leading
2561
+ zeros in the <code>#xN</code> form is insignificant; the number of leading
2562
+ zeros in the corresponding code value is governed by the character encoding
2563
+ in use and is not significant for XML.</p> </dd>
2564
+ <dt class="label"><code>[a-zA-Z]</code>, <code>[#xN-#xN]</code></dt>
2565
+ <dd> <p>matches any <a href="#NT-Char">Char</a> with a value in the range(s)
2566
+ indicated (inclusive).</p> </dd>
2567
+ <dt class="label"><code>[abc]</code>, <code>[#xN#xN#xN]</code></dt>
2568
+ <dd> <p>matches any <a href="#NT-Char">Char</a> with a value among the characters
2569
+ enumerated. Enumerations and ranges can be mixed in one set of brackets.</p> </dd>
2570
+ <dt class="label"><code>[^a-z]</code>, <code>[^#xN-#xN]</code></dt>
2571
+ <dd> <p>matches any <a href="#NT-Char">Char</a> with a value <em>outside</em>
2572
+ the range indicated.</p> </dd>
2573
+ <dt class="label"><code>[^abc]</code>, <code>[^#xN#xN#xN]</code></dt>
2574
+ <dd> <p>matches any <a href="#NT-Char">Char</a> with a value not among the
2575
+ characters given. Enumerations and ranges of forbidden values can be mixed
2576
+ in one set of brackets.</p> </dd>
2577
+ <dt class="label"><code>"string"</code></dt>
2578
+ <dd> <p>matches a literal string <a title="match" href="#dt-match">matching</a>
2579
+ that given inside the double quotes.</p> </dd>
2580
+ <dt class="label"><code>'string'</code></dt>
2581
+ <dd> <p>matches a literal string <a title="match" href="#dt-match">matching</a>
2582
+ that given inside the single quotes.</p> </dd>
2583
+ </dl><p> These symbols may be combined to match more complex patterns as follows,
2584
+ where <code>A</code> and <code>B</code> represent simple expressions: </p><dl>
2585
+ <dt class="label">(<code>expression</code>)</dt>
2586
+ <dd> <p><code>expression</code> is treated as a unit and may be combined as
2587
+ described in this list.</p> </dd>
2588
+ <dt class="label"><code>A?</code></dt>
2589
+ <dd> <p>matches <code>A</code> or nothing; optional <code>A</code>.</p> </dd>
2590
+ <dt class="label"><code>A B</code></dt>
2591
+ <dd> <p>matches <code>A</code> followed by <code>B</code>. This operator has
2592
+ higher precedence than alternation; thus <code>A B | C D</code> is identical
2593
+ to <code>(A B) | (C D)</code>.</p> </dd>
2594
+ <dt class="label"><code>A | B</code></dt>
2595
+ <dd> <p>matches <code>A</code> or <code>B</code> but not both.</p> </dd>
2596
+ <dt class="label"><code>A - B</code></dt>
2597
+ <dd> <p>matches any string that matches <code>A</code> but does not match <code>B</code>.</p> </dd>
2598
+ <dt class="label"><code>A+</code></dt>
2599
+ <dd> <p>matches one or more occurrences of <code>A</code>.Concatenation has
2600
+ higher precedence than alternation; thus <code>A+ | B+</code> is identical
2601
+ to <code>(A+) | (B+)</code>.</p> </dd>
2602
+ <dt class="label"><code>A*</code></dt>
2603
+ <dd> <p>matches zero or more occurrences of <code>A</code>. Concatenation
2604
+ has higher precedence than alternation; thus <code>A* | B*</code> is identical
2605
+ to <code>(A*) | (B*)</code>.</p> </dd>
2606
+ </dl><p> Other notations used in the productions are: </p><dl>
2607
+ <dt class="label"><code>/* ... */</code></dt>
2608
+ <dd> <p>comment.</p> </dd>
2609
+ <dt class="label"><code>[ wfc: ... ]</code></dt>
2610
+ <dd> <p>well-formedness constraint; this identifies by name a constraint on <a
2611
+ title="Well-Formed" href="#dt-wellformed">well-formed</a> documents associated
2612
+ with a production.</p> </dd>
2613
+ <dt class="label"><code>[ vc: ... ]</code></dt>
2614
+ <dd> <p>validity constraint; this identifies by name a constraint on <a title="Validity"
2615
+ href="#dt-valid">valid</a> documents associated with a production.</p> </dd>
2616
+ </dl><p></p> </div> </div><div class="back"> <div class="div1"> <h2><a name="sec-bibliography"></a>A
2617
+ References</h2> <div class="div2"> <h3><a name="sec-existing-stds"></a>A.1
2618
+ Normative References</h3> <dl>
2619
+ <dt class="label"><a name="IANA"></a>IANA-CHARSETS</dt>
2620
+ <dd>(Internet Assigned Numbers Authority) <cite>Official Names for Character
2621
+ Sets</cite>, ed. Keld Simonsen et al. See <a href="ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets">ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets</a
2622
+ >. </dd>
2623
+ <dt class="label"><a name="RFC1766"></a>IETF RFC 1766</dt>
2624
+ <dd>IETF (Internet Engineering Task Force). <cite>RFC 1766: Tags for the Identification
2625
+ of Languages</cite>, ed. H. Alvestrand. 1995. (See <a href="http://www.ietf.org/rfc/rfc1766.txt">http://www.ietf.org/rfc/rfc1766.txt</a>.)</dd>
2626
+ <dt class="label"><a name="ISO10646"></a>ISO/IEC 10646</dt>
2627
+ <dd>ISO (International Organization for Standardization). <cite>ISO/IEC 10646-1993
2628
+ (E). Information technology -- Universal Multiple-Octet Coded Character Set
2629
+ (UCS) -- Part 1: Architecture and Basic Multilingual Plane.</cite> [Geneva]:
2630
+ International Organization for Standardization, 1993 (plus amendments AM 1
2631
+ through AM 7).</dd>
2632
+ <dt class="label"><a name="ISO10646-2000"></a>ISO/IEC 10646-2000</dt>
2633
+ <dd> ISO (International Organization for Standardization). <cite>ISO/IEC 10646-1:2000.
2634
+ Information technology -- Universal Multiple-Octet Coded Character Set (UCS)
2635
+ -- Part 1: Architecture and Basic Multilingual Plane.</cite> [Geneva]: International
2636
+ Organization for Standardization, 2000.</dd>
2637
+ <dt class="label"><a name="Unicode"></a>Unicode</dt>
2638
+ <dd>The Unicode Consortium. <em>The Unicode Standard, Version 2.0.</em> Reading,
2639
+ Mass.: Addison-Wesley Developers Press, 1996.</dd>
2640
+ <dt class="label"><a name="Unicode3"></a>Unicode3</dt>
2641
+ <dd> The Unicode Consortium. <em>The Unicode Standard, Version 3.0.</em> Reading,
2642
+ Mass.: Addison-Wesley Developers Press, 2000. ISBN 0-201-61633-5.</dd>
2643
+ </dl></div> <div class="div2"> <h3><a name="null"></a>A.2 Other References</h3> <dl>
2644
+ <dt class="label"><a name="Aho"></a>Aho/Ullman</dt>
2645
+ <dd>Aho, Alfred V., Ravi Sethi, and Jeffrey D. Ullman. <cite>Compilers: Principles,
2646
+ Techniques, and Tools</cite>. Reading: Addison-Wesley, 1986, rpt. corr. 1988.</dd>
2647
+ <dt class="label"><a name="Berners-Lee"></a>Berners-Lee et al.</dt>
2648
+ <dd> Berners-Lee, T., R. Fielding, and L. Masinter. <cite>Uniform Resource
2649
+ Identifiers (URI): Generic Syntax and Semantics</cite>. 1997. (Work in progress;
2650
+ see updates to RFC1738.)</dd>
2651
+ <dt class="label"><a name="ABK"></a>Br&uuml;ggemann-Klein</dt>
2652
+ <dd>Br&uuml;ggemann-Klein, Anne. Formal Models in Document Processing. Habilitationsschrift.
2653
+ Faculty of Mathematics at the University of Freiburg, 1993. (See <a href="ftp://ftp.informatik.uni-freiburg.de/documents/papers/brueggem/habil.ps"
2654
+ >ftp://ftp.informatik.uni-freiburg.de/documents/papers/brueggem/habil.ps</a>.)</dd>
2655
+ <dt class="label"><a name="ABKDW"></a>Br&uuml;ggemann-Klein and Wood</dt>
2656
+ <dd>Br&uuml;ggemann-Klein, Anne, and Derick Wood. <cite>Deterministic Regular
2657
+ Languages</cite>. Universit&auml;t Freiburg, Institut f&uuml;r Informatik,
2658
+ Bericht 38, Oktober 1991. Extended abstract in A. Finkel, M. Jantzen, Hrsg.,
2659
+ STACS 1992, S. 173-184. Springer-Verlag, Berlin 1992. Lecture Notes in Computer
2660
+ Science 577. Full version titled <cite>One-Unambiguous Regular Languages</cite>
2661
+ in Information and Computation 140 (2): 229-253, February 1998.</dd>
2662
+ <dt class="label"><a name="Clark"></a>Clark</dt>
2663
+ <dd>James Clark. Comparison of SGML and XML. See <a href="http://www.w3.org/TR/NOTE-sgml-xml-971215">http://www.w3.org/TR/NOTE-sgml-xml-971215</a
2664
+ >. </dd>
2665
+ <dt class="label"><a name="IANA-LANGCODES"></a>IANA-LANGCODES</dt>
2666
+ <dd>(Internet Assigned Numbers Authority) <cite>Registry of Language Tags</cite>,
2667
+ ed. Keld Simonsen et al. (See <a href="http://www.isi.edu/in-notes/iana/assignments/languages/">http://www.isi.edu/in-notes/iana/assignments/languages/</a
2668
+ >.)</dd>
2669
+ <dt class="label"><a name="RFC2141"></a>IETF RFC2141</dt>
2670
+ <dd>IETF (Internet Engineering Task Force). <em>RFC 2141: URN Syntax</em>,
2671
+ ed. R. Moats. 1997. (See <a href="http://www.ietf.org/rfc/rfc2141.txt">http://www.ietf.org/rfc/rfc2141.txt</a>.)</dd>
2672
+ <dt class="label"><a name="rfc2279"></a>IETF RFC 2279</dt>
2673
+ <dd>IETF (Internet Engineering Task Force). <cite>RFC 2279: UTF-8, a transformation
2674
+ format of ISO 10646</cite>, ed. F. Yergeau, 1998. (See <a href="http://www.ietf.org/rfc/rfc2279.txt">http://www.ietf.org/rfc/rfc2279.txt</a>.)</dd>
2675
+ <dt class="label"><a name="rfc2376"></a>IETF RFC 2376</dt>
2676
+ <dd>IETF (Internet Engineering Task Force). <cite>RFC 2376: XML Media Types</cite>.
2677
+ ed. E. Whitehead, M. Murata. 1998. (See <a href="http://www.ietf.org/rfc/rfc2376.txt">http://www.ietf.org/rfc/rfc2376.txt</a>.)</dd>
2678
+ <dt class="label"><a name="rfc2396"></a>IETF RFC 2396</dt>
2679
+ <dd>IETF (Internet Engineering Task Force). <cite>RFC 2396: Uniform Resource
2680
+ Identifiers (URI): Generic Syntax</cite>. T. Berners-Lee, R. Fielding, L.
2681
+ Masinter. 1998. (See <a href="http://www.ietf.org/rfc/rfc2396.txt">http://www.ietf.org/rfc/rfc2396.txt</a>.)</dd>
2682
+ <dt class="label"><a name="rfc2732"></a>IETF RFC 2732</dt>
2683
+ <dd>IETF (Internet Engineering Task Force). <cite>RFC 2732: Format for Literal
2684
+ IPv6 Addresses in URL's</cite>. R. Hinden, B. Carpenter, L. Masinter. 1999.
2685
+ (See <a href="http://www.ietf.org/rfc/rfc2732.txt">http://www.ietf.org/rfc/rfc2732.txt</a>.)</dd>
2686
+ <dt class="label"><a name="rfc2781"></a>IETF RFC 2781</dt>
2687
+ <dd> IETF (Internet Engineering Task Force). <em>RFC 2781: UTF-16, an encoding
2688
+ of ISO 10646</em>, ed. P. Hoffman, F. Yergeau. 2000. (See <a href="http://www.ietf.org/rfc/rfc2781.txt">http://www.ietf.org/rfc/rfc2781.txt</a>.)</dd>
2689
+ <dt class="label"><a name="ISO639"></a>ISO 639</dt>
2690
+ <dd> (International Organization for Standardization). <cite>ISO 639:1988
2691
+ (E). Code for the representation of names of languages.</cite> [Geneva]: International
2692
+ Organization for Standardization, 1988.</dd>
2693
+ <dt class="label"><a name="ISO3166"></a>ISO 3166</dt>
2694
+ <dd> (International Organization for Standardization). <cite>ISO 3166-1:1997
2695
+ (E). Codes for the representation of names of countries and their subdivisions
2696
+ -- Part 1: Country codes</cite> [Geneva]: International Organization for Standardization,
2697
+ 1997.</dd>
2698
+ <dt class="label"><a name="ISO8879"></a>ISO 8879</dt>
2699
+ <dd>ISO (International Organization for Standardization). <cite>ISO 8879:1986(E).
2700
+ Information processing -- Text and Office Systems -- Standard Generalized
2701
+ Markup Language (SGML).</cite> First edition -- 1986-10-15. [Geneva]: International
2702
+ Organization for Standardization, 1986. </dd>
2703
+ <dt class="label"><a name="ISO10744"></a>ISO/IEC 10744</dt>
2704
+ <dd>ISO (International Organization for Standardization). <cite>ISO/IEC 10744-1992
2705
+ (E). Information technology -- Hypermedia/Time-based Structuring Language
2706
+ (HyTime). </cite> [Geneva]: International Organization for Standardization,
2707
+ 1992. <em>Extended Facilities Annexe.</em> [Geneva]: International Organization
2708
+ for Standardization, 1996. </dd>
2709
+ <dt class="label"><a name="websgml"></a>WEBSGML</dt>
2710
+ <dd>ISO (International Organization for Standardization). <cite>ISO 8879:1986
2711
+ TC2. Information technology -- Document Description and Processing Languages. </cite>
2712
+ [Geneva]: International Organization for Standardization, 1998. (See <a href="http://www.sgmlsource.com/8879rev/n0029.htm">http://www.sgmlsource.com/8879rev/n0029.htm</a
2713
+ >.)</dd>
2714
+ <dt class="label"><a name="xml-names"></a>XML Names</dt>
2715
+ <dd>Tim Bray, Dave Hollander, and Andrew Layman, editors. <cite>Namespaces
2716
+ in XML</cite>. Textuality, Hewlett-Packard, and Microsoft. World Wide Web
2717
+ Consortium, 1999. (See <a href="http://www.w3.org/TR/REC-xml-names/">http://www.w3.org/TR/REC-xml-names/</a>.)</dd>
2718
+ </dl></div> </div> <div class="div1"> <h2><a name="CharClasses"></a>B Character
2719
+ Classes</h2> <p>Following the characteristics defined in the Unicode standard,
2720
+ characters are classed as base characters (among others, these contain the
2721
+ alphabetic characters of the Latin alphabet), ideographic characters, and
2722
+ combining characters (among others, this class contains most diacritics) Digits
2723
+ and extenders are also distinguished.</p> <h5>Characters</h5><table class="scrap">
2724
+ <tbody>
2725
+ <tr valign="baseline">
2726
+ <td><a name="NT-Letter"></a>[84]&nbsp;&nbsp;&nbsp;</td>
2727
+ <td><code>Letter</code></td>
2728
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
2729
+ <td><code><a href="#NT-BaseChar">BaseChar</a> | <a href="#NT-Ideographic">Ideographic</a></code></td>
2730
+ </tr>
2731
+ <tr valign="baseline">
2732
+ <td><a name="NT-BaseChar"></a>[85]&nbsp;&nbsp;&nbsp;</td>
2733
+ <td><code>BaseChar</code></td>
2734
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
2735
+ <td><code>[#x0041-#x005A] |&nbsp;[#x0061-#x007A] |&nbsp;[#x00C0-#x00D6] |&nbsp;[#x00D8-#x00F6]
2736
+ |&nbsp;[#x00F8-#x00FF] |&nbsp;[#x0100-#x0131] |&nbsp;[#x0134-#x013E] |&nbsp;[#x0141-#x0148]
2737
+ |&nbsp;[#x014A-#x017E] |&nbsp;[#x0180-#x01C3] |&nbsp;[#x01CD-#x01F0] |&nbsp;[#x01F4-#x01F5]
2738
+ |&nbsp;[#x01FA-#x0217] |&nbsp;[#x0250-#x02A8] |&nbsp;[#x02BB-#x02C1] |&nbsp;#x0386
2739
+ |&nbsp;[#x0388-#x038A] |&nbsp;#x038C |&nbsp;[#x038E-#x03A1] |&nbsp;[#x03A3-#x03CE]
2740
+ |&nbsp;[#x03D0-#x03D6] |&nbsp;#x03DA |&nbsp;#x03DC |&nbsp;#x03DE |&nbsp;#x03E0
2741
+ |&nbsp;[#x03E2-#x03F3] |&nbsp;[#x0401-#x040C] |&nbsp;[#x040E-#x044F] |&nbsp;[#x0451-#x045C]
2742
+ |&nbsp;[#x045E-#x0481] |&nbsp;[#x0490-#x04C4] |&nbsp;[#x04C7-#x04C8] |&nbsp;[#x04CB-#x04CC]
2743
+ |&nbsp;[#x04D0-#x04EB] |&nbsp;[#x04EE-#x04F5] |&nbsp;[#x04F8-#x04F9] |&nbsp;[#x0531-#x0556]
2744
+ |&nbsp;#x0559 |&nbsp;[#x0561-#x0586] |&nbsp;[#x05D0-#x05EA] |&nbsp;[#x05F0-#x05F2]
2745
+ |&nbsp;[#x0621-#x063A] |&nbsp;[#x0641-#x064A] |&nbsp;[#x0671-#x06B7] |&nbsp;[#x06BA-#x06BE]
2746
+ |&nbsp;[#x06C0-#x06CE] |&nbsp;[#x06D0-#x06D3] |&nbsp;#x06D5 |&nbsp;[#x06E5-#x06E6]
2747
+ |&nbsp;[#x0905-#x0939] |&nbsp;#x093D |&nbsp;[#x0958-#x0961] |&nbsp;[#x0985-#x098C]
2748
+ |&nbsp;[#x098F-#x0990] |&nbsp;[#x0993-#x09A8] |&nbsp;[#x09AA-#x09B0] |&nbsp;#x09B2
2749
+ |&nbsp;[#x09B6-#x09B9] |&nbsp;[#x09DC-#x09DD] |&nbsp;[#x09DF-#x09E1] |&nbsp;[#x09F0-#x09F1]
2750
+ |&nbsp;[#x0A05-#x0A0A] |&nbsp;[#x0A0F-#x0A10] |&nbsp;[#x0A13-#x0A28] |&nbsp;[#x0A2A-#x0A30]
2751
+ |&nbsp;[#x0A32-#x0A33] |&nbsp;[#x0A35-#x0A36] |&nbsp;[#x0A38-#x0A39] |&nbsp;[#x0A59-#x0A5C]
2752
+ |&nbsp;#x0A5E |&nbsp;[#x0A72-#x0A74] |&nbsp;[#x0A85-#x0A8B] |&nbsp;#x0A8D
2753
+ |&nbsp;[#x0A8F-#x0A91] |&nbsp;[#x0A93-#x0AA8] |&nbsp;[#x0AAA-#x0AB0] |&nbsp;[#x0AB2-#x0AB3]
2754
+ |&nbsp;[#x0AB5-#x0AB9] |&nbsp;#x0ABD |&nbsp;#x0AE0 |&nbsp;[#x0B05-#x0B0C]
2755
+ |&nbsp;[#x0B0F-#x0B10] |&nbsp;[#x0B13-#x0B28] |&nbsp;[#x0B2A-#x0B30] |&nbsp;[#x0B32-#x0B33]
2756
+ |&nbsp;[#x0B36-#x0B39] |&nbsp;#x0B3D |&nbsp;[#x0B5C-#x0B5D] |&nbsp;[#x0B5F-#x0B61]
2757
+ |&nbsp;[#x0B85-#x0B8A] |&nbsp;[#x0B8E-#x0B90] |&nbsp;[#x0B92-#x0B95] |&nbsp;[#x0B99-#x0B9A]
2758
+ |&nbsp;#x0B9C |&nbsp;[#x0B9E-#x0B9F] |&nbsp;[#x0BA3-#x0BA4] |&nbsp;[#x0BA8-#x0BAA]
2759
+ |&nbsp;[#x0BAE-#x0BB5] |&nbsp;[#x0BB7-#x0BB9] |&nbsp;[#x0C05-#x0C0C] |&nbsp;[#x0C0E-#x0C10]
2760
+ |&nbsp;[#x0C12-#x0C28] |&nbsp;[#x0C2A-#x0C33] |&nbsp;[#x0C35-#x0C39] |&nbsp;[#x0C60-#x0C61]
2761
+ |&nbsp;[#x0C85-#x0C8C] |&nbsp;[#x0C8E-#x0C90] |&nbsp;[#x0C92-#x0CA8] |&nbsp;[#x0CAA-#x0CB3]
2762
+ |&nbsp;[#x0CB5-#x0CB9] |&nbsp;#x0CDE |&nbsp;[#x0CE0-#x0CE1] |&nbsp;[#x0D05-#x0D0C]
2763
+ |&nbsp;[#x0D0E-#x0D10] |&nbsp;[#x0D12-#x0D28] |&nbsp;[#x0D2A-#x0D39] |&nbsp;[#x0D60-#x0D61]
2764
+ |&nbsp;[#x0E01-#x0E2E] |&nbsp;#x0E30 |&nbsp;[#x0E32-#x0E33] |&nbsp;[#x0E40-#x0E45]
2765
+ |&nbsp;[#x0E81-#x0E82] |&nbsp;#x0E84 |&nbsp;[#x0E87-#x0E88] |&nbsp;#x0E8A
2766
+ |&nbsp;#x0E8D |&nbsp;[#x0E94-#x0E97] |&nbsp;[#x0E99-#x0E9F] |&nbsp;[#x0EA1-#x0EA3]
2767
+ |&nbsp;#x0EA5 |&nbsp;#x0EA7 |&nbsp;[#x0EAA-#x0EAB] |&nbsp;[#x0EAD-#x0EAE]
2768
+ |&nbsp;#x0EB0 |&nbsp;[#x0EB2-#x0EB3] |&nbsp;#x0EBD |&nbsp;[#x0EC0-#x0EC4]
2769
+ |&nbsp;[#x0F40-#x0F47] |&nbsp;[#x0F49-#x0F69] |&nbsp;[#x10A0-#x10C5] |&nbsp;[#x10D0-#x10F6]
2770
+ |&nbsp;#x1100 |&nbsp;[#x1102-#x1103] |&nbsp;[#x1105-#x1107] |&nbsp;#x1109
2771
+ |&nbsp;[#x110B-#x110C] |&nbsp;[#x110E-#x1112] |&nbsp;#x113C |&nbsp;#x113E
2772
+ |&nbsp;#x1140 |&nbsp;#x114C |&nbsp;#x114E |&nbsp;#x1150 |&nbsp;[#x1154-#x1155]
2773
+ |&nbsp;#x1159 |&nbsp;[#x115F-#x1161] |&nbsp;#x1163 |&nbsp;#x1165 |&nbsp;#x1167
2774
+ |&nbsp;#x1169 |&nbsp;[#x116D-#x116E] |&nbsp;[#x1172-#x1173] |&nbsp;#x1175
2775
+ |&nbsp;#x119E |&nbsp;#x11A8 |&nbsp;#x11AB |&nbsp;[#x11AE-#x11AF] |&nbsp;[#x11B7-#x11B8]
2776
+ |&nbsp;#x11BA |&nbsp;[#x11BC-#x11C2] |&nbsp;#x11EB |&nbsp;#x11F0 |&nbsp;#x11F9
2777
+ |&nbsp;[#x1E00-#x1E9B] |&nbsp;[#x1EA0-#x1EF9] |&nbsp;[#x1F00-#x1F15] |&nbsp;[#x1F18-#x1F1D]
2778
+ |&nbsp;[#x1F20-#x1F45] |&nbsp;[#x1F48-#x1F4D] |&nbsp;[#x1F50-#x1F57] |&nbsp;#x1F59
2779
+ |&nbsp;#x1F5B |&nbsp;#x1F5D |&nbsp;[#x1F5F-#x1F7D] |&nbsp;[#x1F80-#x1FB4]
2780
+ |&nbsp;[#x1FB6-#x1FBC] |&nbsp;#x1FBE |&nbsp;[#x1FC2-#x1FC4] |&nbsp;[#x1FC6-#x1FCC]
2781
+ |&nbsp;[#x1FD0-#x1FD3] |&nbsp;[#x1FD6-#x1FDB] |&nbsp;[#x1FE0-#x1FEC] |&nbsp;[#x1FF2-#x1FF4]
2782
+ |&nbsp;[#x1FF6-#x1FFC] |&nbsp;#x2126 |&nbsp;[#x212A-#x212B] |&nbsp;#x212E
2783
+ |&nbsp;[#x2180-#x2182] |&nbsp;[#x3041-#x3094] |&nbsp;[#x30A1-#x30FA] |&nbsp;[#x3105-#x312C]
2784
+ |&nbsp;[#xAC00-#xD7A3] </code></td>
2785
+ </tr>
2786
+ <tr valign="baseline">
2787
+ <td><a name="NT-Ideographic"></a>[86]&nbsp;&nbsp;&nbsp;</td>
2788
+ <td><code>Ideographic</code></td>
2789
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
2790
+ <td><code>[#x4E00-#x9FA5] |&nbsp;#x3007 |&nbsp;[#x3021-#x3029] </code></td>
2791
+ </tr>
2792
+ <tr valign="baseline">
2793
+ <td><a name="NT-CombiningChar"></a>[87]&nbsp;&nbsp;&nbsp;</td>
2794
+ <td><code>CombiningChar</code></td>
2795
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
2796
+ <td><code>[#x0300-#x0345] |&nbsp;[#x0360-#x0361] |&nbsp;[#x0483-#x0486] |&nbsp;[#x0591-#x05A1]
2797
+ |&nbsp;[#x05A3-#x05B9] |&nbsp;[#x05BB-#x05BD] |&nbsp;#x05BF |&nbsp;[#x05C1-#x05C2]
2798
+ |&nbsp;#x05C4 |&nbsp;[#x064B-#x0652] |&nbsp;#x0670 |&nbsp;[#x06D6-#x06DC]
2799
+ |&nbsp;[#x06DD-#x06DF] |&nbsp;[#x06E0-#x06E4] |&nbsp;[#x06E7-#x06E8] |&nbsp;[#x06EA-#x06ED]
2800
+ |&nbsp;[#x0901-#x0903] |&nbsp;#x093C |&nbsp;[#x093E-#x094C] |&nbsp;#x094D
2801
+ |&nbsp;[#x0951-#x0954] |&nbsp;[#x0962-#x0963] |&nbsp;[#x0981-#x0983] |&nbsp;#x09BC
2802
+ |&nbsp;#x09BE |&nbsp;#x09BF |&nbsp;[#x09C0-#x09C4] |&nbsp;[#x09C7-#x09C8]
2803
+ |&nbsp;[#x09CB-#x09CD] |&nbsp;#x09D7 |&nbsp;[#x09E2-#x09E3] |&nbsp;#x0A02
2804
+ |&nbsp;#x0A3C |&nbsp;#x0A3E |&nbsp;#x0A3F |&nbsp;[#x0A40-#x0A42] |&nbsp;[#x0A47-#x0A48]
2805
+ |&nbsp;[#x0A4B-#x0A4D] |&nbsp;[#x0A70-#x0A71] |&nbsp;[#x0A81-#x0A83] |&nbsp;#x0ABC
2806
+ |&nbsp;[#x0ABE-#x0AC5] |&nbsp;[#x0AC7-#x0AC9] |&nbsp;[#x0ACB-#x0ACD] |&nbsp;[#x0B01-#x0B03]
2807
+ |&nbsp;#x0B3C |&nbsp;[#x0B3E-#x0B43] |&nbsp;[#x0B47-#x0B48] |&nbsp;[#x0B4B-#x0B4D]
2808
+ |&nbsp;[#x0B56-#x0B57] |&nbsp;[#x0B82-#x0B83] |&nbsp;[#x0BBE-#x0BC2] |&nbsp;[#x0BC6-#x0BC8]
2809
+ |&nbsp;[#x0BCA-#x0BCD] |&nbsp;#x0BD7 |&nbsp;[#x0C01-#x0C03] |&nbsp;[#x0C3E-#x0C44]
2810
+ |&nbsp;[#x0C46-#x0C48] |&nbsp;[#x0C4A-#x0C4D] |&nbsp;[#x0C55-#x0C56] |&nbsp;[#x0C82-#x0C83]
2811
+ |&nbsp;[#x0CBE-#x0CC4] |&nbsp;[#x0CC6-#x0CC8] |&nbsp;[#x0CCA-#x0CCD] |&nbsp;[#x0CD5-#x0CD6]
2812
+ |&nbsp;[#x0D02-#x0D03] |&nbsp;[#x0D3E-#x0D43] |&nbsp;[#x0D46-#x0D48] |&nbsp;[#x0D4A-#x0D4D]
2813
+ |&nbsp;#x0D57 |&nbsp;#x0E31 |&nbsp;[#x0E34-#x0E3A] |&nbsp;[#x0E47-#x0E4E]
2814
+ |&nbsp;#x0EB1 |&nbsp;[#x0EB4-#x0EB9] |&nbsp;[#x0EBB-#x0EBC] |&nbsp;[#x0EC8-#x0ECD]
2815
+ |&nbsp;[#x0F18-#x0F19] |&nbsp;#x0F35 |&nbsp;#x0F37 |&nbsp;#x0F39 |&nbsp;#x0F3E
2816
+ |&nbsp;#x0F3F |&nbsp;[#x0F71-#x0F84] |&nbsp;[#x0F86-#x0F8B] |&nbsp;[#x0F90-#x0F95]
2817
+ |&nbsp;#x0F97 |&nbsp;[#x0F99-#x0FAD] |&nbsp;[#x0FB1-#x0FB7] |&nbsp;#x0FB9
2818
+ |&nbsp;[#x20D0-#x20DC] |&nbsp;#x20E1 |&nbsp;[#x302A-#x302F] |&nbsp;#x3099
2819
+ |&nbsp;#x309A </code></td>
2820
+ </tr>
2821
+ <tr valign="baseline">
2822
+ <td><a name="NT-Digit"></a>[88]&nbsp;&nbsp;&nbsp;</td>
2823
+ <td><code>Digit</code></td>
2824
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
2825
+ <td><code>[#x0030-#x0039] |&nbsp;[#x0660-#x0669] |&nbsp;[#x06F0-#x06F9] |&nbsp;[#x0966-#x096F]
2826
+ |&nbsp;[#x09E6-#x09EF] |&nbsp;[#x0A66-#x0A6F] |&nbsp;[#x0AE6-#x0AEF] |&nbsp;[#x0B66-#x0B6F]
2827
+ |&nbsp;[#x0BE7-#x0BEF] |&nbsp;[#x0C66-#x0C6F] |&nbsp;[#x0CE6-#x0CEF] |&nbsp;[#x0D66-#x0D6F]
2828
+ |&nbsp;[#x0E50-#x0E59] |&nbsp;[#x0ED0-#x0ED9] |&nbsp;[#x0F20-#x0F29] </code></td>
2829
+ </tr>
2830
+ <tr valign="baseline">
2831
+ <td><a name="NT-Extender"></a>[89]&nbsp;&nbsp;&nbsp;</td>
2832
+ <td><code>Extender</code></td>
2833
+ <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td>
2834
+ <td><code>#x00B7 |&nbsp;#x02D0 |&nbsp;#x02D1 |&nbsp;#x0387 |&nbsp;#x0640 |&nbsp;#x0E46
2835
+ |&nbsp;#x0EC6 |&nbsp;#x3005 |&nbsp;[#x3031-#x3035] |&nbsp;[#x309D-#x309E]
2836
+ |&nbsp;[#x30FC-#x30FE] </code></td>
2837
+ </tr>
2838
+ </tbody></table> <p>The character classes defined here can be derived from
2839
+ the Unicode 2.0 character database as follows:</p> <ul>
2840
+ <li><p>Name start characters must have one of the categories Ll, Lu, Lo, Lt,
2841
+ Nl.</p></li>
2842
+ <li><p>Name characters other than Name-start characters must have one of the
2843
+ categories Mc, Me, Mn, Lm, or Nd.</p></li>
2844
+ <li><p>Characters in the compatibility area (i.e. with character code greater
2845
+ than #xF900 and less than #xFFFE) are not allowed in XML names.</p></li>
2846
+ <li><p>Characters which have a font or compatibility decomposition (i.e. those
2847
+ with a "compatibility formatting tag" in field 5 of the database -- marked
2848
+ by field 5 beginning with a "&lt;") are not allowed.</p></li>
2849
+ <li><p>The following characters are treated as name-start characters rather
2850
+ than name characters, because the property file classifies them as Alphabetic:
2851
+ [#x02BB-#x02C1], #x0559, #x06E5, #x06E6.</p></li>
2852
+ <li><p>Characters #x20DD-#x20E0 are excluded (in accordance with Unicode 2.0,
2853
+ section 5.14).</p></li>
2854
+ <li><p>Character #x00B7 is classified as an extender, because the property
2855
+ list so identifies it.</p></li>
2856
+ <li><p>Character #x0387 is added as a name character, because #x00B7 is its
2857
+ canonical equivalent.</p></li>
2858
+ <li><p>Characters ':' and '_' are allowed as name-start characters.</p> </li>
2859
+ <li><p>Characters '-' and '.' are allowed as name characters.</p></li>
2860
+ </ul> </div> <div class="div1"> <h2><a name="sec-xml-and-sgml"></a>C XML and
2861
+ SGML (Non-Normative)</h2> <p>XML is designed to be a subset of SGML, in that
2862
+ every XML document should also be a conforming SGML document. For a detailed
2863
+ comparison of the additional restrictions that XML places on documents beyond
2864
+ those of SGML, see <a href="#Clark">[Clark]</a>.</p> </div> <div class="div1"> <h2><a
2865
+ name="sec-entexpand"></a>D Expansion of Entity and Character References (Non-Normative)</h2> <p>This
2866
+ appendix contains some examples illustrating the sequence of entity- and character-reference
2867
+ recognition and expansion, as specified in <a href="#entproc"><b>4.4 XML Processor
2868
+ Treatment of Entities and References</b></a>.</p> <p>If the DTD contains the
2869
+ declaration</p> <table class="eg" width="100%" border="1" cellpadding="5"
2870
+ bgcolor="#99ffff">
2871
+ <tr>
2872
+ <td><pre>&lt;!ENTITY example "&lt;p>An ampersand (&amp;#38;#38;) may be escaped
2873
+ numerically (&amp;#38;#38;#38;) or with a general entity
2874
+ (&amp;amp;amp;).&lt;/p>" ></pre></td>
2875
+ </tr>
2876
+ </table> <p>then the XML processor will recognize the character references
2877
+ when it parses the entity declaration, and resolve them before storing the
2878
+ following string as the value of the entity "<code>example</code>":</p> <table
2879
+ class="eg" width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
2880
+ <tr>
2881
+ <td><pre>&lt;p>An ampersand (&amp;#38;) may be escaped
2882
+ numerically (&amp;#38;#38;) or with a general entity
2883
+ (&amp;amp;amp;).&lt;/p></pre></td>
2884
+ </tr>
2885
+ </table> <p>A reference in the document to "<code>&amp;example;</code>" will
2886
+ cause the text to be reparsed, at which time the start- and end-tags of the <code>p</code>
2887
+ element will be recognized and the three references will be recognized and
2888
+ expanded, resulting in a <code>p</code> element with the following content
2889
+ (all data, no delimiters or markup):</p> <table class="eg" width="100%" border="1"
2890
+ cellpadding="5" bgcolor="#99ffff">
2891
+ <tr>
2892
+ <td><pre>An ampersand (&amp;) may be escaped
2893
+ numerically (&amp;#38;) or with a general entity
2894
+ (&amp;amp;).</pre></td>
2895
+ </tr>
2896
+ </table> <p>A more complex example will illustrate the rules and their effects
2897
+ fully. In the following example, the line numbers are solely for reference.</p> <table
2898
+ class="eg" width="100%" border="1" cellpadding="5" bgcolor="#99ffff">
2899
+ <tr>
2900
+ <td><pre>1 &lt;?xml version='1.0'?>
2901
+ 2 &lt;!DOCTYPE test [
2902
+ 3 &lt;!ELEMENT test (#PCDATA) >
2903
+ 4 &lt;!ENTITY % xx '&amp;#37;zz;'>
2904
+ 5 &lt;!ENTITY % zz '&amp;#60;!ENTITY tricky "error-prone" >' >
2905
+ 6 %xx;
2906
+ 7 ]>
2907
+ 8 &lt;test>This sample shows a &amp;tricky; method.&lt;/test></pre></td>
2908
+ </tr>
2909
+ </table> <p>This produces the following:</p> <ul>
2910
+ <li><p>in line 4, the reference to character 37 is expanded immediately, and
2911
+ the parameter entity "<code>xx</code>" is stored in the symbol table with
2912
+ the value "<code>%zz;</code>". Since the replacement text is not rescanned,
2913
+ the reference to parameter entity "<code>zz</code>" is not recognized. (And
2914
+ it would be an error if it were, since "<code>zz</code>" is not yet declared.)</p></li>
2915
+ <li><p>in line 5, the character reference "<code>&amp;#60;</code>" is expanded
2916
+ immediately and the parameter entity "<code>zz</code>" is stored with the
2917
+ replacement text "<code>&lt;!ENTITY tricky "error-prone" ></code>", which
2918
+ is a well-formed entity declaration.</p></li>
2919
+ <li><p>in line 6, the reference to "<code>xx</code>" is recognized, and the
2920
+ replacement text of "<code>xx</code>" (namely "<code>%zz;</code>") is parsed.
2921
+ The reference to "<code>zz</code>" is recognized in its turn, and its replacement
2922
+ text ("<code>&lt;!ENTITY tricky "error-prone" ></code>") is parsed. The general
2923
+ entity "<code>tricky</code>" has now been declared, with the replacement text
2924
+ "<code>error-prone</code>".</p> </li>
2925
+ <li><p>in line 8, the reference to the general entity "<code>tricky</code>"
2926
+ is recognized, and it is expanded, so the full content of the <code>test</code>
2927
+ element is the self-describing (and ungrammatical) string <em>This sample
2928
+ shows a error-prone method.</em></p></li>
2929
+ </ul> </div> <div class="div1"> <h2><a name="determinism"></a>E Deterministic
2930
+ Content Models (Non-Normative)</h2> <p>As noted in <a href="#sec-element-content"><b>3.2.1
2931
+ Element Content</b></a>, it is required that content models in element type
2932
+ declarations be deterministic. This requirement is <a title="For Compatibility"
2933
+ href="#dt-compat">for compatibility</a> with SGML (which calls deterministic
2934
+ content models "unambiguous"); XML processors built using SGML systems may
2935
+ flag non-deterministic content models as errors.</p> <p>For example, the content
2936
+ model <code>((b, c) | (b, d))</code> is non-deterministic, because given an
2937
+ initial <code>b</code> the XML processor cannot know which <code>b</code>
2938
+ in the model is being matched without looking ahead to see which element follows
2939
+ the <code>b</code>. In this case, the two references to <code>b</code> can
2940
+ be collapsed into a single reference, making the model read <code>(b, (c |
2941
+ d))</code>. An initial <code>b</code> now clearly matches only a single name
2942
+ in the content model. The processor doesn't need to look ahead to see what
2943
+ follows; either <code>c</code> or <code>d</code> would be accepted.</p> <p>More
2944
+ formally: a finite state automaton may be constructed from the content model
2945
+ using the standard algorithms, e.g. algorithm 3.5 in section 3.9 of Aho, Sethi,
2946
+ and Ullman <a href="#Aho">[Aho/Ullman]</a>. In many such algorithms, a follow
2947
+ set is constructed for each position in the regular expression (i.e., each
2948
+ leaf node in the syntax tree for the regular expression); if any position
2949
+ has a follow set in which more than one following position is labeled with
2950
+ the same element type name, then the content model is in error and may be
2951
+ reported as an error.</p> <p>Algorithms exist which allow many but not all
2952
+ non-deterministic content models to be reduced automatically to equivalent
2953
+ deterministic models; see Br&uuml;ggemann-Klein 1991 <a href="#ABK">[Br&uuml;ggemann-Klein]</a>.</p> </div> <div
2954
+ class="div1"> <h2><a name="sec-guessing"></a>F Autodetection of Character
2955
+ Encodings (Non-Normative)</h2> <p>The XML encoding declaration functions as
2956
+ an internal label on each entity, indicating which character encoding is in
2957
+ use. Before an XML processor can read the internal label, however, it apparently
2958
+ has to know what character encoding is in use--which is what the internal
2959
+ label is trying to indicate. In the general case, this is a hopeless situation.
2960
+ It is not entirely hopeless in XML, however, because XML limits the general
2961
+ case in two ways: each implementation is assumed to support only a finite
2962
+ set of character encodings, and the XML encoding declaration is restricted
2963
+ in position and content in order to make it feasible to autodetect the character
2964
+ encoding in use in each entity in normal cases. Also, in many cases other
2965
+ sources of information are available in addition to the XML data stream itself.
2966
+ Two cases may be distinguished, depending on whether the XML entity is presented
2967
+ to the processor without, or with, any accompanying (external) information.
2968
+ We consider the first case first.</p> <div class="div2"> <h3><a name="sec-guessing-no-ext-info"></a>F.1
2969
+ Detection Without External Encoding Information</h3> <p>Because each XML entity
2970
+ not accompanied by external encoding information and not in UTF-8 or UTF-16
2971
+ encoding <em>must</em> begin with an XML encoding declaration, in which the
2972
+ first characters must be '<code>&lt;?xml</code>', any conforming processor
2973
+ can detect, after two to four octets of input, which of the following cases
2974
+ apply. In reading this list, it may help to know that in UCS-4, '&lt;' is
2975
+ "<code>#x0000003C</code>" and '?' is "<code>#x0000003F</code>", and the Byte
2976
+ Order Mark required of UTF-16 data streams is "<code>#xFEFF</code>". The notation <var>##</var>
2977
+ is used to denote any byte value except that two consecutive <var>##</var>s
2978
+ cannot be both 00.</p> <p>With a Byte Order Mark:</p> <table border="1" frame="border">
2979
+ <tbody>
2980
+ <tr>
2981
+ <td rowspan="1" colspan="1"><code>00 00 FE FF</code></td>
2982
+ <td rowspan="1" colspan="1">UCS-4, big-endian machine (1234 order)</td>
2983
+ </tr>
2984
+ <tr>
2985
+ <td rowspan="1" colspan="1"><code>FF FE 00 00</code></td>
2986
+ <td rowspan="1" colspan="1">UCS-4, little-endian machine (4321 order)</td>
2987
+ </tr>
2988
+ <tr>
2989
+ <td rowspan="1" colspan="1"><code>00 00 FF FE</code></td>
2990
+ <td rowspan="1" colspan="1">UCS-4, unusual octet order (2143)</td>
2991
+ </tr>
2992
+ <tr>
2993
+ <td rowspan="1" colspan="1"><code>FE FF 00 00</code></td>
2994
+ <td rowspan="1" colspan="1">UCS-4, unusual octet order (3412)</td>
2995
+ </tr>
2996
+ <tr>
2997
+ <td rowspan="1" colspan="1"><code>FE FF ## ##</code></td>
2998
+ <td rowspan="1" colspan="1">UTF-16, big-endian</td>
2999
+ </tr>
3000
+ <tr>
3001
+ <td rowspan="1" colspan="1"><code>FF FE ## ##</code></td>
3002
+ <td rowspan="1" colspan="1">UTF-16, little-endian</td>
3003
+ </tr>
3004
+ <tr>
3005
+ <td rowspan="1" colspan="1"><code>EF BB BF</code></td>
3006
+ <td rowspan="1" colspan="1">UTF-8</td>
3007
+ </tr>
3008
+ </tbody></table> <p>Without a Byte Order Mark:</p> <table border="1" frame="border">
3009
+ <tbody>
3010
+ <tr>
3011
+ <td rowspan="1" colspan="1"><code>00&nbsp;00&nbsp;00&nbsp;3C</code></td>
3012
+ <td rowspan="4" colspan="1">UCS-4 or other encoding with a 32-bit code unit
3013
+ and ASCII characters encoded as ASCII values, in respectively big-endian (1234),
3014
+ little-endian (4321) and two unusual byte orders (2143 and 3412). The encoding
3015
+ declaration must be read to determine which of UCS-4 or other supported 32-bit
3016
+ encodings applies.</td>
3017
+ </tr>
3018
+ <tr>
3019
+ <td rowspan="1" colspan="1"><code>3C 00 00 00</code></td>
3020
+ </tr>
3021
+ <tr>
3022
+ <td rowspan="1" colspan="1"><code>00 00 3C 00</code></td>
3023
+ </tr>
3024
+ <tr>
3025
+ <td rowspan="1" colspan="1"><code>00 3C 00 00</code></td>
3026
+ </tr>
3027
+ <tr>
3028
+ <td rowspan="1" colspan="1"><code>00 3C 00 3F</code></td>
3029
+ <td rowspan="1" colspan="1">UTF-16BE or big-endian ISO-10646-UCS-2 or other
3030
+ encoding with a 16-bit code unit in big-endian order and ASCII characters
3031
+ encoded as ASCII values (the encoding declaration must be read to determine
3032
+ which)</td>
3033
+ </tr>
3034
+ <tr>
3035
+ <td rowspan="1" colspan="1"><code>3C 00 3F 00</code></td>
3036
+ <td rowspan="1" colspan="1">UTF-16LE or little-endian ISO-10646-UCS-2 or other
3037
+ encoding with a 16-bit code unit in little-endian order and ASCII characters
3038
+ encoded as ASCII values (the encoding declaration must be read to determine
3039
+ which)</td>
3040
+ </tr>
3041
+ <tr>
3042
+ <td rowspan="1" colspan="1"><code>3C 3F 78 6D</code></td>
3043
+ <td rowspan="1" colspan="1">UTF-8, ISO 646, ASCII, some part of ISO 8859,
3044
+ Shift-JIS, EUC, or any other 7-bit, 8-bit, or mixed-width encoding which ensures
3045
+ that the characters of ASCII have their normal positions, width, and values;
3046
+ the actual encoding declaration must be read to detect which of these applies,
3047
+ but since all of these encodings use the same bit patterns for the relevant
3048
+ ASCII characters, the encoding declaration itself may be read reliably</td>
3049
+ </tr>
3050
+ <tr>
3051
+ <td rowspan="1" colspan="1"><code>4C 6F A7 94</code></td>
3052
+ <td rowspan="1" colspan="1">EBCDIC (in some flavor; the full encoding declaration
3053
+ must be read to tell which code page is in use)</td>
3054
+ </tr>
3055
+ <tr>
3056
+ <td rowspan="1" colspan="1">Other</td>
3057
+ <td rowspan="1" colspan="1">UTF-8 without an encoding declaration, or else
3058
+ the data stream is mislabeled (lacking a required encoding declaration), corrupt,
3059
+ fragmentary, or enclosed in a wrapper of some kind</td>
3060
+ </tr>
3061
+ </tbody></table> <div class="note"><p class="prefix"><b>Note:</b></p> <p>In
3062
+ cases above which do not require reading the encoding declaration to determine
3063
+ the encoding, section 4.3.3 still requires that the encoding declaration,
3064
+ if present, be read and that the encoding name be checked to match the actual
3065
+ encoding of the entity. Also, it is possible that new character encodings
3066
+ will be invented that will make it necessary to use the encoding declaration
3067
+ to determine the encoding, in cases where this is not required at present.</p> </div> <p>This
3068
+ level of autodetection is enough to read the XML encoding declaration and
3069
+ parse the character-encoding identifier, which is still necessary to distinguish
3070
+ the individual members of each family of encodings (e.g. to tell UTF-8 from
3071
+ 8859, and the parts of 8859 from each other, or to distinguish the specific
3072
+ EBCDIC code page in use, and so on).</p> <p>Because the contents of the encoding
3073
+ declaration are restricted to characters from the ASCII repertoire (however
3074
+ encoded), a processor can reliably read the entire encoding declaration as
3075
+ soon as it has detected which family of encodings is in use. Since in practice,
3076
+ all widely used character encodings fall into one of the categories above,
3077
+ the XML encoding declaration allows reasonably reliable in-band labeling of
3078
+ character encodings, even when external sources of information at the operating-system
3079
+ or transport-protocol level are unreliable. Character encodings such as UTF-7
3080
+ that make overloaded usage of ASCII-valued bytes may fail to be reliably detected.</p> <p>Once
3081
+ the processor has detected the character encoding in use, it can act appropriately,
3082
+ whether by invoking a separate input routine for each case, or by calling
3083
+ the proper conversion function on each character of input.</p> <p>Like any
3084
+ self-labeling system, the XML encoding declaration will not work if any software
3085
+ changes the entity's character set or encoding without updating the encoding
3086
+ declaration. Implementors of character-encoding routines should be careful
3087
+ to ensure the accuracy of the internal and external information used to label
3088
+ the entity.</p> </div> <div class="div2"> <h3><a name="sec-guessing-with-ext-info"></a>F.2
3089
+ Priorities in the Presence of External Encoding Information</h3> <p>The second
3090
+ possible case occurs when the XML entity is accompanied by encoding information,
3091
+ as in some file systems and some network protocols. When multiple sources
3092
+ of information are available, their relative priority and the preferred method
3093
+ of handling conflict should be specified as part of the higher-level protocol
3094
+ used to deliver XML. In particular, please refer to <a href="#rfc2376">[IETF
3095
+ RFC 2376]</a> or its successor, which defines the <code>text/xml</code> and <code>application/xml</code>
3096
+ MIME types and provides some useful guidance. In the interests of interoperability,
3097
+ however, the following rule is recommended.</p> <ul>
3098
+ <li><p>If an XML entity is in a file, the Byte-Order Mark and encoding declaration
3099
+ are used (if present) to determine the character encoding.</p> </li>
3100
+ </ul> </div> </div> <div class="div1"> <h2><a name="sec-xml-wg"></a>G W3C
3101
+ XML Working Group (Non-Normative)</h2> <p>This specification was prepared
3102
+ and approved for publication by the W3C XML Working Group (WG). WG approval
3103
+ of this specification does not necessarily imply that all WG members voted
3104
+ for its approval. The current and former members of the XML WG are:</p> <ul>
3105
+ <li>Jon Bosak, Sun (<i>Chair</i>) </li>
3106
+ <li>James Clark (<i>Technical Lead</i>) </li>
3107
+ <li>Tim Bray, Textuality and Netscape (<i>XML Co-editor</i>) </li>
3108
+ <li>Jean Paoli, Microsoft (<i>XML Co-editor</i>) </li>
3109
+ <li>C. M. Sperberg-McQueen, U. of Ill. (<i>XML Co-editor</i>) </li>
3110
+ <li>Dan Connolly, W3C (<i>W3C Liaison</i>) </li>
3111
+ <li>Paula Angerstein, Texcel</li>
3112
+ <li>Steve DeRose, INSO</li>
3113
+ <li>Dave Hollander, HP</li>
3114
+ <li>Eliot Kimber, ISOGEN</li>
3115
+ <li>Eve Maler, ArborText</li>
3116
+ <li>Tom Magliery, NCSA</li>
3117
+ <li>Murray Maloney, SoftQuad, Grif SA, Muzmo and Veo Systems</li>
3118
+ <li>MURATA Makoto (FAMILY Given), Fuji Xerox Information Systems</li>
3119
+ <li>Joel Nava, Adobe</li>
3120
+ <li>Conleth O'Connell, Vignette </li>
3121
+ <li>Peter Sharpe, SoftQuad</li>
3122
+ <li>John Tigue, DataChannel</li>
3123
+ </ul> </div> <div class="div1"> <h2><a name="sec-core-wg"></a>H W3C XML Core
3124
+ Group (Non-Normative)</h2> <p>The second edition of this specification was
3125
+ prepared by the W3C XML Core Working Group (WG). The members of the WG at
3126
+ the time of publication of this edition were:</p> <ul>
3127
+ <li>Paula Angerstein, Vignette</li>
3128
+ <li>Daniel Austin, Ask Jeeves</li>
3129
+ <li>Tim Boland</li>
3130
+ <li>Allen Brown, Microsoft</li>
3131
+ <li>Dan Connolly, W3C (<i>Staff Contact</i>) </li>
3132
+ <li>John Cowan, Reuters Limited </li>
3133
+ <li>John Evdemon, XMLSolutions Corporation </li>
3134
+ <li>Paul Grosso, Arbortext (<i>Co-Chair</i>) </li>
3135
+ <li>Arnaud Le Hors, IBM (<i>Co-Chair</i>) </li>
3136
+ <li>Eve Maler, Sun Microsystems (<i>Second Edition Editor</i>) </li>
3137
+ <li>Jonathan Marsh, Microsoft</li>
3138
+ <li>MURATA Makoto (FAMILY Given), IBM </li>
3139
+ <li>Mark Needleman, Data Research Associates </li>
3140
+ <li>David Orchard, Jamcracker</li>
3141
+ <li>Lew Shannon, NCR</li>
3142
+ <li>Richard Tobin, University of Edinburgh </li>
3143
+ <li>Daniel Veillard, W3C</li>
3144
+ <li>Dan Vint, Lexica</li>
3145
+ <li>Norman Walsh, Sun Microsystems </li>
3146
+ <li>Fran&ccedil;ois Yergeau, Alis Technologies (<i>Errata List Editor</i>) </li>
3147
+ <li>Kongyi Zhou, Oracle</li>
3148
+ </ul> </div> <div class="div1"> <h2><a name="b4d250b6c21"></a>I Production
3149
+ Notes (Non-Normative)</h2> <p>This Second Edition was encoded in the <a href="http://www.w3.org/XML/1998/06/xmlspec-v21.dtd">XMLspec
3150
+ DTD</a> (which has <a href="http://www.w3.org/XML/1998/06/xmlspec-report-v21.htm">documentation</a>
3151
+ available). The HTML versions were produced with a combination of the <a href="http://www.w3.org/XML/1998/06/xmlspec.xsl">xmlspec.xsl</a>, <a
3152
+ href="http://www.w3.org/XML/1998/06/diffspec.xsl">diffspec.xsl</a>, and <a
3153
+ href="http://www.w3.org/XML/1998/06/REC-xml-2e.xsl">REC-xml-2e.xsl</a> XSLT
3154
+ stylesheets. The PDF version was produced with the <a href="http://www.tdb.uu.se/~jan/html2ps.html">html2ps</a>
3155
+ facility and a distiller program.</p> </div> </div></body>
3156
+ </html>