rsvg2 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32

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 (370) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +63 -7
  3. data/ext/rsvg2/extconf.rb +4 -1
  4. data/lib/1.9/rsvg2.so +0 -0
  5. data/lib/2.0/rsvg2.so +0 -0
  6. data/vendor/local/bin/croco-0.6-config +87 -0
  7. data/vendor/local/bin/csslint-0.6.exe +0 -0
  8. data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
  9. data/vendor/local/bin/librsvg-2-2.dll +0 -0
  10. data/vendor/local/bin/rsvg-convert.exe +0 -0
  11. data/vendor/local/include/libcroco-0.6/libcroco/cr-cascade.h +1 -1
  12. data/vendor/local/include/libcroco-0.6/libcroco/cr-enc-handler.h +1 -1
  13. data/vendor/local/include/libcroco-0.6/libcroco/cr-om-parser.h +1 -1
  14. data/vendor/local/include/libcroco-0.6/libcroco/cr-sel-eng.h +1 -5
  15. data/vendor/local/include/libcroco-0.6/libcroco/libcroco-config.h +4 -5
  16. data/vendor/local/include/librsvg-2.0/librsvg/librsvg-enum-types.h +4 -0
  17. data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +13 -10
  18. data/vendor/local/include/librsvg-2.0/librsvg/rsvg-cairo.h +4 -0
  19. data/vendor/local/include/librsvg-2.0/librsvg/rsvg.h +64 -34
  20. data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
  21. data/vendor/local/lib/libcroco-0.6.a +0 -0
  22. data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
  23. data/vendor/local/lib/libcroco-0.6.la +41 -0
  24. data/vendor/local/lib/librsvg-2.a +0 -0
  25. data/vendor/local/lib/librsvg-2.dll.a +0 -0
  26. data/vendor/local/lib/librsvg-2.la +41 -0
  27. data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +3 -4
  28. data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +1 -1
  29. data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +693 -0
  30. data/vendor/local/share/gtk-doc/html/libcroco/ch01.html +113 -0
  31. data/vendor/local/share/{doc/libxml2-2.9.0/html/html → gtk-doc/html/libcroco}/home.png +0 -0
  32. data/vendor/local/share/gtk-doc/html/libcroco/index.html +109 -0
  33. data/vendor/local/share/gtk-doc/html/libcroco/index.sgml +582 -0
  34. data/vendor/local/share/{doc/libxml2-2.9.0/html/html → gtk-doc/html/libcroco}/left.png +0 -0
  35. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +337 -0
  36. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +203 -0
  37. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +240 -0
  38. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +642 -0
  39. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +517 -0
  40. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +164 -0
  41. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +670 -0
  42. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +1102 -0
  43. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +265 -0
  44. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +380 -0
  45. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +913 -0
  46. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +205 -0
  47. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +421 -0
  48. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +141 -0
  49. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +503 -0
  50. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +346 -0
  51. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +246 -0
  52. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +240 -0
  53. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +1408 -0
  54. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +137 -0
  55. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +384 -0
  56. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +158 -0
  57. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +304 -0
  58. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +312 -0
  59. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +428 -0
  60. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +334 -0
  61. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +80 -0
  62. data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +511 -0
  63. data/vendor/local/share/{doc/libxml2-2.9.0/html/html → gtk-doc/html/libcroco}/right.png +0 -0
  64. data/vendor/local/share/gtk-doc/html/libcroco/style.css +266 -0
  65. data/vendor/local/share/{doc/libxml2-2.9.0/html/html → gtk-doc/html/libcroco}/up.png +0 -0
  66. data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +1073 -0
  67. data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +55 -0
  68. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +58 -0
  69. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +46 -0
  70. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +50 -0
  71. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +51 -0
  72. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +42 -0
  73. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +59 -0
  74. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +58 -0
  75. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +105 -0
  76. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +328 -0
  77. data/vendor/local/share/gtk-doc/html/{libxml2 → rsvg-2.0}/home.png +0 -0
  78. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +88 -0
  79. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +101 -0
  80. data/vendor/local/share/gtk-doc/html/{libxml2 → rsvg-2.0}/left.png +0 -0
  81. data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +57 -0
  82. data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +38 -0
  83. data/vendor/local/share/gtk-doc/html/{libxml2 → rsvg-2.0}/right.png +0 -0
  84. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +96 -0
  85. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +283 -0
  86. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +386 -0
  87. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +126 -0
  88. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +109 -0
  89. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +57 -0
  90. data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +266 -0
  91. data/vendor/local/share/gtk-doc/html/{libxml2 → rsvg-2.0}/up.png +0 -0
  92. data/vendor/local/share/license/libcroco/AUTHORS +13 -0
  93. data/vendor/local/share/license/libcroco/COPYING +481 -0
  94. data/vendor/local/share/license/libcroco/COPYING.LIB +481 -0
  95. data/vendor/local/share/license/librsvg/AUTHORS +1 -0
  96. data/vendor/local/share/license/librsvg/COPYING +340 -0
  97. data/vendor/local/share/license/librsvg/COPYING.LIB +482 -0
  98. data/vendor/local/share/man/man1/rsvg-convert.1 +55 -0
  99. metadata +90 -299
  100. data/vendor/local/bin/libxml2-2.dll +0 -0
  101. data/vendor/local/bin/rsvg-view.exe +0 -0
  102. data/vendor/local/bin/xmlcatalog.exe +0 -0
  103. data/vendor/local/bin/xmllint.exe +0 -0
  104. data/vendor/local/include/libxml2/libxml/DOCBparser.h +0 -96
  105. data/vendor/local/include/libxml2/libxml/HTMLparser.h +0 -306
  106. data/vendor/local/include/libxml2/libxml/HTMLtree.h +0 -147
  107. data/vendor/local/include/libxml2/libxml/SAX.h +0 -173
  108. data/vendor/local/include/libxml2/libxml/SAX2.h +0 -176
  109. data/vendor/local/include/libxml2/libxml/c14n.h +0 -126
  110. data/vendor/local/include/libxml2/libxml/catalog.h +0 -182
  111. data/vendor/local/include/libxml2/libxml/chvalid.h +0 -230
  112. data/vendor/local/include/libxml2/libxml/debugXML.h +0 -217
  113. data/vendor/local/include/libxml2/libxml/dict.h +0 -80
  114. data/vendor/local/include/libxml2/libxml/encoding.h +0 -240
  115. data/vendor/local/include/libxml2/libxml/entities.h +0 -150
  116. data/vendor/local/include/libxml2/libxml/globals.h +0 -502
  117. data/vendor/local/include/libxml2/libxml/hash.h +0 -233
  118. data/vendor/local/include/libxml2/libxml/list.h +0 -137
  119. data/vendor/local/include/libxml2/libxml/nanoftp.h +0 -163
  120. data/vendor/local/include/libxml2/libxml/nanohttp.h +0 -81
  121. data/vendor/local/include/libxml2/libxml/parser.h +0 -1240
  122. data/vendor/local/include/libxml2/libxml/parserInternals.h +0 -644
  123. data/vendor/local/include/libxml2/libxml/pattern.h +0 -100
  124. data/vendor/local/include/libxml2/libxml/relaxng.h +0 -213
  125. data/vendor/local/include/libxml2/libxml/schemasInternals.h +0 -958
  126. data/vendor/local/include/libxml2/libxml/schematron.h +0 -142
  127. data/vendor/local/include/libxml2/libxml/threads.h +0 -84
  128. data/vendor/local/include/libxml2/libxml/tree.h +0 -1303
  129. data/vendor/local/include/libxml2/libxml/uri.h +0 -94
  130. data/vendor/local/include/libxml2/libxml/valid.h +0 -458
  131. data/vendor/local/include/libxml2/libxml/xinclude.h +0 -129
  132. data/vendor/local/include/libxml2/libxml/xlink.h +0 -189
  133. data/vendor/local/include/libxml2/libxml/xmlIO.h +0 -366
  134. data/vendor/local/include/libxml2/libxml/xmlautomata.h +0 -146
  135. data/vendor/local/include/libxml2/libxml/xmlerror.h +0 -944
  136. data/vendor/local/include/libxml2/libxml/xmlexports.h +0 -162
  137. data/vendor/local/include/libxml2/libxml/xmlmemory.h +0 -224
  138. data/vendor/local/include/libxml2/libxml/xmlmodule.h +0 -57
  139. data/vendor/local/include/libxml2/libxml/xmlreader.h +0 -428
  140. data/vendor/local/include/libxml2/libxml/xmlregexp.h +0 -222
  141. data/vendor/local/include/libxml2/libxml/xmlsave.h +0 -88
  142. data/vendor/local/include/libxml2/libxml/xmlschemas.h +0 -246
  143. data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +0 -151
  144. data/vendor/local/include/libxml2/libxml/xmlstring.h +0 -140
  145. data/vendor/local/include/libxml2/libxml/xmlunicode.h +0 -202
  146. data/vendor/local/include/libxml2/libxml/xmlversion.h +0 -480
  147. data/vendor/local/include/libxml2/libxml/xmlwriter.h +0 -488
  148. data/vendor/local/include/libxml2/libxml/xpath.h +0 -550
  149. data/vendor/local/include/libxml2/libxml/xpathInternals.h +0 -632
  150. data/vendor/local/include/libxml2/libxml/xpointer.h +0 -114
  151. data/vendor/local/lib/libxml2.def +0 -1659
  152. data/vendor/local/lib/libxml2.dll.a +0 -0
  153. data/vendor/local/lib/libxml2.lib +0 -0
  154. data/vendor/local/lib/pkgconfig/libxml-2.0.pc +0 -13
  155. data/vendor/local/manifest/libcroco-dev_0.6.2-1_win32.mft +0 -36
  156. data/vendor/local/manifest/libcroco_0.6.2-1_win32.mft +0 -2
  157. data/vendor/local/manifest/librsvg-dev_2.32.1-1_win32.mft +0 -11
  158. data/vendor/local/manifest/librsvg_2.32.1-1_win32.mft +0 -2
  159. data/vendor/local/manifest/libxml2-dev_2.9.0-1_win32.mft +0 -268
  160. data/vendor/local/manifest/libxml2_2.9.0-1_win32.mft +0 -2
  161. data/vendor/local/share/aclocal/libxml.m4 +0 -188
  162. data/vendor/local/share/doc/libxml2-2.9.0/Copyright +0 -27
  163. data/vendor/local/share/doc/libxml2-2.9.0/examples/testHTML.c +0 -880
  164. data/vendor/local/share/doc/libxml2-2.9.0/examples/testSAX.c +0 -1198
  165. data/vendor/local/share/doc/libxml2-2.9.0/examples/testXPath.c +0 -229
  166. data/vendor/local/share/doc/libxml2-2.9.0/examples/xmllint.c +0 -3770
  167. data/vendor/local/share/doc/libxml2-2.9.0/html/DOM.gif +0 -0
  168. data/vendor/local/share/doc/libxml2-2.9.0/html/FAQ.html +0 -282
  169. data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-180x168.gif +0 -0
  170. data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-90x34.gif +0 -0
  171. data/vendor/local/share/doc/libxml2-2.9.0/html/encoding.html +0 -207
  172. data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xml +0 -751
  173. data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xsl +0 -174
  174. data/vendor/local/share/doc/libxml2-2.9.0/html/html/book1.html +0 -13
  175. data/vendor/local/share/doc/libxml2-2.9.0/html/html/index.html +0 -13
  176. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-DOCBparser.html +0 -51
  177. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLparser.html +0 -184
  178. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLtree.html +0 -73
  179. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX.html +0 -125
  180. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX2.html +0 -128
  181. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-c14n.html +0 -38
  182. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-catalog.html +0 -142
  183. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-chvalid.html +0 -72
  184. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-debugXML.html +0 -120
  185. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-dict.html +0 -58
  186. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-encoding.html +0 -124
  187. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-entities.html +0 -79
  188. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-globals.html +0 -152
  189. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-hash.html +0 -116
  190. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-lib.html +0 -13
  191. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-list.html +0 -120
  192. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanoftp.html +0 -94
  193. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanohttp.html +0 -65
  194. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parser.html +0 -559
  195. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parserInternals.html +0 -322
  196. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-pattern.html +0 -76
  197. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-relaxng.html +0 -162
  198. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schemasInternals.html +0 -373
  199. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schematron.html +0 -81
  200. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-threads.html +0 -72
  201. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-tree.html +0 -989
  202. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-uri.html +0 -73
  203. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-valid.html +0 -289
  204. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xinclude.html +0 -59
  205. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xlink.html +0 -82
  206. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlIO.html +0 -212
  207. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlautomata.html +0 -85
  208. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlerror.html +0 -864
  209. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlexports.html +0 -20
  210. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmemory.html +0 -107
  211. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmodule.html +0 -38
  212. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlreader.html +0 -330
  213. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlregexp.html +0 -143
  214. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlsave.html +0 -60
  215. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemas.html +0 -185
  216. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemastypes.html +0 -123
  217. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlstring.html +0 -108
  218. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlunicode.html +0 -512
  219. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlversion.html +0 -62
  220. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlwriter.html +0 -261
  221. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpath.html +0 -310
  222. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpathInternals.html +0 -394
  223. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpointer.html +0 -83
  224. data/vendor/local/share/doc/libxml2-2.9.0/html/index.html +0 -14
  225. data/vendor/local/share/doc/libxml2-2.9.0/html/io1.c +0 -166
  226. data/vendor/local/share/doc/libxml2-2.9.0/html/io1.res +0 -5
  227. data/vendor/local/share/doc/libxml2-2.9.0/html/io2.c +0 -58
  228. data/vendor/local/share/doc/libxml2-2.9.0/html/io2.res +0 -2
  229. data/vendor/local/share/doc/libxml2-2.9.0/html/libxml.gif +0 -0
  230. data/vendor/local/share/doc/libxml2-2.9.0/html/parse1.c +0 -56
  231. data/vendor/local/share/doc/libxml2-2.9.0/html/parse2.c +0 -72
  232. data/vendor/local/share/doc/libxml2-2.9.0/html/parse3.c +0 -60
  233. data/vendor/local/share/doc/libxml2-2.9.0/html/parse4.c +0 -143
  234. data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.c +0 -107
  235. data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.res +0 -14
  236. data/vendor/local/share/doc/libxml2-2.9.0/html/reader2.c +0 -122
  237. data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.c +0 -120
  238. data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.res +0 -13
  239. data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.c +0 -122
  240. data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.res +0 -3
  241. data/vendor/local/share/doc/libxml2-2.9.0/html/redhat.gif +0 -0
  242. data/vendor/local/share/doc/libxml2-2.9.0/html/smallfootonly.gif +0 -0
  243. data/vendor/local/share/doc/libxml2-2.9.0/html/structure.gif +0 -0
  244. data/vendor/local/share/doc/libxml2-2.9.0/html/test1.xml +0 -1
  245. data/vendor/local/share/doc/libxml2-2.9.0/html/test2.xml +0 -13
  246. data/vendor/local/share/doc/libxml2-2.9.0/html/test3.xml +0 -39
  247. data/vendor/local/share/doc/libxml2-2.9.0/html/testWriter.c +0 -1198
  248. data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.c +0 -94
  249. data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.res +0 -4
  250. data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.c +0 -118
  251. data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.res +0 -18
  252. data/vendor/local/share/doc/libxml2-2.9.0/html/tst.xml +0 -7
  253. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apa.html +0 -8
  254. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apb.html +0 -14
  255. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apc.html +0 -82
  256. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apd.html +0 -76
  257. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ape.html +0 -78
  258. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apf.html +0 -67
  259. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apg.html +0 -75
  260. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/aph.html +0 -76
  261. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/api.html +0 -4
  262. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s02.html +0 -14
  263. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s03.html +0 -47
  264. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s04.html +0 -54
  265. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s05.html +0 -55
  266. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s06.html +0 -35
  267. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s07.html +0 -30
  268. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s08.html +0 -38
  269. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s09.html +0 -63
  270. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/blank.png +0 -0
  271. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/1.png +0 -0
  272. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/10.png +0 -0
  273. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/2.png +0 -0
  274. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/3.png +0 -0
  275. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/4.png +0 -0
  276. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/5.png +0 -0
  277. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/6.png +0 -0
  278. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/7.png +0 -0
  279. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/8.png +0 -0
  280. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/9.png +0 -0
  281. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/caution.png +0 -0
  282. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/draft.png +0 -0
  283. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/home.png +0 -0
  284. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/important.png +0 -0
  285. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/next.png +0 -0
  286. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/note.png +0 -0
  287. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/prev.png +0 -0
  288. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/tip.png +0 -0
  289. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-blank.png +0 -0
  290. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-minus.png +0 -0
  291. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-plus.png +0 -0
  292. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/up.png +0 -0
  293. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/warning.png +0 -0
  294. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddattribute.c +0 -64
  295. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddkeyword.c +0 -75
  296. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeconvert.c +0 -73
  297. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includegetattribute.c +0 -72
  298. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includekeyword.c +0 -79
  299. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includexpath.c +0 -74
  300. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/index.html +0 -14
  301. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ix01.html +0 -1
  302. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/xmltutorial.pdf +0 -1336
  303. data/vendor/local/share/doc/libxml2-2.9.0/html/w3c.png +0 -0
  304. data/vendor/local/share/doc/libxml2-2.9.0/html/writer.xml +0 -2
  305. data/vendor/local/share/doc/libxml2-2.9.0/html/xml.html +0 -5715
  306. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.c +0 -250
  307. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.res +0 -5
  308. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.c +0 -190
  309. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.res +0 -30
  310. data/vendor/local/share/gtk-doc/html/libxml2/general.html +0 -38
  311. data/vendor/local/share/gtk-doc/html/libxml2/index.html +0 -67
  312. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +0 -138
  313. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +0 -373
  314. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +0 -172
  315. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +0 -243
  316. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +0 -247
  317. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +0 -91
  318. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +0 -278
  319. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +0 -241
  320. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +0 -225
  321. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +0 -134
  322. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +0 -218
  323. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +0 -166
  324. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +0 -383
  325. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +0 -214
  326. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +0 -226
  327. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +0 -187
  328. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +0 -142
  329. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +0 -766
  330. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +0 -688
  331. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +0 -166
  332. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +0 -278
  333. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +0 -860
  334. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +0 -166
  335. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +0 -161
  336. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +0 -1596
  337. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +0 -154
  338. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +0 -528
  339. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +0 -169
  340. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +0 -160
  341. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +0 -347
  342. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +0 -176
  343. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +0 -952
  344. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +0 -87
  345. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +0 -186
  346. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +0 -97
  347. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +0 -565
  348. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +0 -280
  349. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +0 -133
  350. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +0 -314
  351. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +0 -237
  352. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +0 -217
  353. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +0 -887
  354. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +0 -287
  355. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +0 -479
  356. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +0 -532
  357. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +0 -787
  358. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +0 -171
  359. data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +0 -3569
  360. data/vendor/local/share/gtk-doc/html/libxml2/style.css +0 -66
  361. data/vendor/local/share/man/man1/xml2-config.1 +0 -30
  362. data/vendor/local/share/man/man1/xmlcatalog.1 +0 -340
  363. data/vendor/local/share/man/man1/xmllint.1 +0 -427
  364. data/vendor/local/share/man/man3/libxml.3 +0 -71
  365. data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.log +0 -867
  366. data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.sh +0 -68
  367. data/vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.log +0 -471
  368. data/vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh +0 -61
  369. data/vendor/local/src/tml/packaging/librsvg_2.32.1-1_win32.log +0 -535
  370. data/vendor/local/src/tml/packaging/librsvg_2.32.1-1_win32.sh +0 -125
@@ -1,81 +0,0 @@
1
- /*
2
- * Summary: minimal HTTP implementation
3
- * Description: minimal HTTP implementation allowing to fetch resources
4
- * like external subset.
5
- *
6
- * Copy: See Copyright for the status of this software.
7
- *
8
- * Author: Daniel Veillard
9
- */
10
-
11
- #ifndef __NANO_HTTP_H__
12
- #define __NANO_HTTP_H__
13
-
14
- #include <libxml/xmlversion.h>
15
-
16
- #ifdef LIBXML_HTTP_ENABLED
17
-
18
- #ifdef __cplusplus
19
- extern "C" {
20
- #endif
21
- XMLPUBFUN void XMLCALL
22
- xmlNanoHTTPInit (void);
23
- XMLPUBFUN void XMLCALL
24
- xmlNanoHTTPCleanup (void);
25
- XMLPUBFUN void XMLCALL
26
- xmlNanoHTTPScanProxy (const char *URL);
27
- XMLPUBFUN int XMLCALL
28
- xmlNanoHTTPFetch (const char *URL,
29
- const char *filename,
30
- char **contentType);
31
- XMLPUBFUN void * XMLCALL
32
- xmlNanoHTTPMethod (const char *URL,
33
- const char *method,
34
- const char *input,
35
- char **contentType,
36
- const char *headers,
37
- int ilen);
38
- XMLPUBFUN void * XMLCALL
39
- xmlNanoHTTPMethodRedir (const char *URL,
40
- const char *method,
41
- const char *input,
42
- char **contentType,
43
- char **redir,
44
- const char *headers,
45
- int ilen);
46
- XMLPUBFUN void * XMLCALL
47
- xmlNanoHTTPOpen (const char *URL,
48
- char **contentType);
49
- XMLPUBFUN void * XMLCALL
50
- xmlNanoHTTPOpenRedir (const char *URL,
51
- char **contentType,
52
- char **redir);
53
- XMLPUBFUN int XMLCALL
54
- xmlNanoHTTPReturnCode (void *ctx);
55
- XMLPUBFUN const char * XMLCALL
56
- xmlNanoHTTPAuthHeader (void *ctx);
57
- XMLPUBFUN const char * XMLCALL
58
- xmlNanoHTTPRedir (void *ctx);
59
- XMLPUBFUN int XMLCALL
60
- xmlNanoHTTPContentLength( void * ctx );
61
- XMLPUBFUN const char * XMLCALL
62
- xmlNanoHTTPEncoding (void *ctx);
63
- XMLPUBFUN const char * XMLCALL
64
- xmlNanoHTTPMimeType (void *ctx);
65
- XMLPUBFUN int XMLCALL
66
- xmlNanoHTTPRead (void *ctx,
67
- void *dest,
68
- int len);
69
- #ifdef LIBXML_OUTPUT_ENABLED
70
- XMLPUBFUN int XMLCALL
71
- xmlNanoHTTPSave (void *ctxt,
72
- const char *filename);
73
- #endif /* LIBXML_OUTPUT_ENABLED */
74
- XMLPUBFUN void XMLCALL
75
- xmlNanoHTTPClose (void *ctx);
76
- #ifdef __cplusplus
77
- }
78
- #endif
79
-
80
- #endif /* LIBXML_HTTP_ENABLED */
81
- #endif /* __NANO_HTTP_H__ */
@@ -1,1240 +0,0 @@
1
- /*
2
- * Summary: the core parser module
3
- * Description: Interfaces, constants and types related to the XML parser
4
- *
5
- * Copy: See Copyright for the status of this software.
6
- *
7
- * Author: Daniel Veillard
8
- */
9
-
10
- #ifndef __XML_PARSER_H__
11
- #define __XML_PARSER_H__
12
-
13
- #include <stdarg.h>
14
-
15
- #include <libxml/xmlversion.h>
16
- #include <libxml/tree.h>
17
- #include <libxml/dict.h>
18
- #include <libxml/hash.h>
19
- #include <libxml/valid.h>
20
- #include <libxml/entities.h>
21
- #include <libxml/xmlerror.h>
22
- #include <libxml/xmlstring.h>
23
-
24
- #ifdef __cplusplus
25
- extern "C" {
26
- #endif
27
-
28
- /**
29
- * XML_DEFAULT_VERSION:
30
- *
31
- * The default version of XML used: 1.0
32
- */
33
- #define XML_DEFAULT_VERSION "1.0"
34
-
35
- /**
36
- * xmlParserInput:
37
- *
38
- * An xmlParserInput is an input flow for the XML processor.
39
- * Each entity parsed is associated an xmlParserInput (except the
40
- * few predefined ones). This is the case both for internal entities
41
- * - in which case the flow is already completely in memory - or
42
- * external entities - in which case we use the buf structure for
43
- * progressive reading and I18N conversions to the internal UTF-8 format.
44
- */
45
-
46
- /**
47
- * xmlParserInputDeallocate:
48
- * @str: the string to deallocate
49
- *
50
- * Callback for freeing some parser input allocations.
51
- */
52
- typedef void (* xmlParserInputDeallocate)(xmlChar *str);
53
-
54
- struct _xmlParserInput {
55
- /* Input buffer */
56
- xmlParserInputBufferPtr buf; /* UTF-8 encoded buffer */
57
-
58
- const char *filename; /* The file analyzed, if any */
59
- const char *directory; /* the directory/base of the file */
60
- const xmlChar *base; /* Base of the array to parse */
61
- const xmlChar *cur; /* Current char being parsed */
62
- const xmlChar *end; /* end of the array to parse */
63
- int length; /* length if known */
64
- int line; /* Current line */
65
- int col; /* Current column */
66
- /*
67
- * NOTE: consumed is only tested for equality in the parser code,
68
- * so even if there is an overflow this should not give troubles
69
- * for parsing very large instances.
70
- */
71
- unsigned long consumed; /* How many xmlChars already consumed */
72
- xmlParserInputDeallocate free; /* function to deallocate the base */
73
- const xmlChar *encoding; /* the encoding string for entity */
74
- const xmlChar *version; /* the version string for entity */
75
- int standalone; /* Was that entity marked standalone */
76
- int id; /* an unique identifier for the entity */
77
- };
78
-
79
- /**
80
- * xmlParserNodeInfo:
81
- *
82
- * The parser can be asked to collect Node informations, i.e. at what
83
- * place in the file they were detected.
84
- * NOTE: This is off by default and not very well tested.
85
- */
86
- typedef struct _xmlParserNodeInfo xmlParserNodeInfo;
87
- typedef xmlParserNodeInfo *xmlParserNodeInfoPtr;
88
-
89
- struct _xmlParserNodeInfo {
90
- const struct _xmlNode* node;
91
- /* Position & line # that text that created the node begins & ends on */
92
- unsigned long begin_pos;
93
- unsigned long begin_line;
94
- unsigned long end_pos;
95
- unsigned long end_line;
96
- };
97
-
98
- typedef struct _xmlParserNodeInfoSeq xmlParserNodeInfoSeq;
99
- typedef xmlParserNodeInfoSeq *xmlParserNodeInfoSeqPtr;
100
- struct _xmlParserNodeInfoSeq {
101
- unsigned long maximum;
102
- unsigned long length;
103
- xmlParserNodeInfo* buffer;
104
- };
105
-
106
- /**
107
- * xmlParserInputState:
108
- *
109
- * The parser is now working also as a state based parser.
110
- * The recursive one use the state info for entities processing.
111
- */
112
- typedef enum {
113
- XML_PARSER_EOF = -1, /* nothing is to be parsed */
114
- XML_PARSER_START = 0, /* nothing has been parsed */
115
- XML_PARSER_MISC, /* Misc* before int subset */
116
- XML_PARSER_PI, /* Within a processing instruction */
117
- XML_PARSER_DTD, /* within some DTD content */
118
- XML_PARSER_PROLOG, /* Misc* after internal subset */
119
- XML_PARSER_COMMENT, /* within a comment */
120
- XML_PARSER_START_TAG, /* within a start tag */
121
- XML_PARSER_CONTENT, /* within the content */
122
- XML_PARSER_CDATA_SECTION, /* within a CDATA section */
123
- XML_PARSER_END_TAG, /* within a closing tag */
124
- XML_PARSER_ENTITY_DECL, /* within an entity declaration */
125
- XML_PARSER_ENTITY_VALUE, /* within an entity value in a decl */
126
- XML_PARSER_ATTRIBUTE_VALUE, /* within an attribute value */
127
- XML_PARSER_SYSTEM_LITERAL, /* within a SYSTEM value */
128
- XML_PARSER_EPILOG, /* the Misc* after the last end tag */
129
- XML_PARSER_IGNORE, /* within an IGNORED section */
130
- XML_PARSER_PUBLIC_LITERAL /* within a PUBLIC value */
131
- } xmlParserInputState;
132
-
133
- /**
134
- * XML_DETECT_IDS:
135
- *
136
- * Bit in the loadsubset context field to tell to do ID/REFs lookups.
137
- * Use it to initialize xmlLoadExtDtdDefaultValue.
138
- */
139
- #define XML_DETECT_IDS 2
140
-
141
- /**
142
- * XML_COMPLETE_ATTRS:
143
- *
144
- * Bit in the loadsubset context field to tell to do complete the
145
- * elements attributes lists with the ones defaulted from the DTDs.
146
- * Use it to initialize xmlLoadExtDtdDefaultValue.
147
- */
148
- #define XML_COMPLETE_ATTRS 4
149
-
150
- /**
151
- * XML_SKIP_IDS:
152
- *
153
- * Bit in the loadsubset context field to tell to not do ID/REFs registration.
154
- * Used to initialize xmlLoadExtDtdDefaultValue in some special cases.
155
- */
156
- #define XML_SKIP_IDS 8
157
-
158
- /**
159
- * xmlParserMode:
160
- *
161
- * A parser can operate in various modes
162
- */
163
- typedef enum {
164
- XML_PARSE_UNKNOWN = 0,
165
- XML_PARSE_DOM = 1,
166
- XML_PARSE_SAX = 2,
167
- XML_PARSE_PUSH_DOM = 3,
168
- XML_PARSE_PUSH_SAX = 4,
169
- XML_PARSE_READER = 5
170
- } xmlParserMode;
171
-
172
- /**
173
- * xmlParserCtxt:
174
- *
175
- * The parser context.
176
- * NOTE This doesn't completely define the parser state, the (current ?)
177
- * design of the parser uses recursive function calls since this allow
178
- * and easy mapping from the production rules of the specification
179
- * to the actual code. The drawback is that the actual function call
180
- * also reflect the parser state. However most of the parsing routines
181
- * takes as the only argument the parser context pointer, so migrating
182
- * to a state based parser for progressive parsing shouldn't be too hard.
183
- */
184
- struct _xmlParserCtxt {
185
- struct _xmlSAXHandler *sax; /* The SAX handler */
186
- void *userData; /* For SAX interface only, used by DOM build */
187
- xmlDocPtr myDoc; /* the document being built */
188
- int wellFormed; /* is the document well formed */
189
- int replaceEntities; /* shall we replace entities ? */
190
- const xmlChar *version; /* the XML version string */
191
- const xmlChar *encoding; /* the declared encoding, if any */
192
- int standalone; /* standalone document */
193
- int html; /* an HTML(1)/Docbook(2) document
194
- * 3 is HTML after <head>
195
- * 10 is HTML after <body>
196
- */
197
-
198
- /* Input stream stack */
199
- xmlParserInputPtr input; /* Current input stream */
200
- int inputNr; /* Number of current input streams */
201
- int inputMax; /* Max number of input streams */
202
- xmlParserInputPtr *inputTab; /* stack of inputs */
203
-
204
- /* Node analysis stack only used for DOM building */
205
- xmlNodePtr node; /* Current parsed Node */
206
- int nodeNr; /* Depth of the parsing stack */
207
- int nodeMax; /* Max depth of the parsing stack */
208
- xmlNodePtr *nodeTab; /* array of nodes */
209
-
210
- int record_info; /* Whether node info should be kept */
211
- xmlParserNodeInfoSeq node_seq; /* info about each node parsed */
212
-
213
- int errNo; /* error code */
214
-
215
- int hasExternalSubset; /* reference and external subset */
216
- int hasPErefs; /* the internal subset has PE refs */
217
- int external; /* are we parsing an external entity */
218
-
219
- int valid; /* is the document valid */
220
- int validate; /* shall we try to validate ? */
221
- xmlValidCtxt vctxt; /* The validity context */
222
-
223
- xmlParserInputState instate; /* current type of input */
224
- int token; /* next char look-ahead */
225
-
226
- char *directory; /* the data directory */
227
-
228
- /* Node name stack */
229
- const xmlChar *name; /* Current parsed Node */
230
- int nameNr; /* Depth of the parsing stack */
231
- int nameMax; /* Max depth of the parsing stack */
232
- const xmlChar * *nameTab; /* array of nodes */
233
-
234
- long nbChars; /* number of xmlChar processed */
235
- long checkIndex; /* used by progressive parsing lookup */
236
- int keepBlanks; /* ugly but ... */
237
- int disableSAX; /* SAX callbacks are disabled */
238
- int inSubset; /* Parsing is in int 1/ext 2 subset */
239
- const xmlChar * intSubName; /* name of subset */
240
- xmlChar * extSubURI; /* URI of external subset */
241
- xmlChar * extSubSystem; /* SYSTEM ID of external subset */
242
-
243
- /* xml:space values */
244
- int * space; /* Should the parser preserve spaces */
245
- int spaceNr; /* Depth of the parsing stack */
246
- int spaceMax; /* Max depth of the parsing stack */
247
- int * spaceTab; /* array of space infos */
248
-
249
- int depth; /* to prevent entity substitution loops */
250
- xmlParserInputPtr entity; /* used to check entities boundaries */
251
- int charset; /* encoding of the in-memory content
252
- actually an xmlCharEncoding */
253
- int nodelen; /* Those two fields are there to */
254
- int nodemem; /* Speed up large node parsing */
255
- int pedantic; /* signal pedantic warnings */
256
- void *_private; /* For user data, libxml won't touch it */
257
-
258
- int loadsubset; /* should the external subset be loaded */
259
- int linenumbers; /* set line number in element content */
260
- void *catalogs; /* document's own catalog */
261
- int recovery; /* run in recovery mode */
262
- int progressive; /* is this a progressive parsing */
263
- xmlDictPtr dict; /* dictionnary for the parser */
264
- const xmlChar * *atts; /* array for the attributes callbacks */
265
- int maxatts; /* the size of the array */
266
- int docdict; /* use strings from dict to build tree */
267
-
268
- /*
269
- * pre-interned strings
270
- */
271
- const xmlChar *str_xml;
272
- const xmlChar *str_xmlns;
273
- const xmlChar *str_xml_ns;
274
-
275
- /*
276
- * Everything below is used only by the new SAX mode
277
- */
278
- int sax2; /* operating in the new SAX mode */
279
- int nsNr; /* the number of inherited namespaces */
280
- int nsMax; /* the size of the arrays */
281
- const xmlChar * *nsTab; /* the array of prefix/namespace name */
282
- int *attallocs; /* which attribute were allocated */
283
- void * *pushTab; /* array of data for push */
284
- xmlHashTablePtr attsDefault; /* defaulted attributes if any */
285
- xmlHashTablePtr attsSpecial; /* non-CDATA attributes if any */
286
- int nsWellFormed; /* is the document XML Nanespace okay */
287
- int options; /* Extra options */
288
-
289
- /*
290
- * Those fields are needed only for treaming parsing so far
291
- */
292
- int dictNames; /* Use dictionary names for the tree */
293
- int freeElemsNr; /* number of freed element nodes */
294
- xmlNodePtr freeElems; /* List of freed element nodes */
295
- int freeAttrsNr; /* number of freed attributes nodes */
296
- xmlAttrPtr freeAttrs; /* List of freed attributes nodes */
297
-
298
- /*
299
- * the complete error informations for the last error.
300
- */
301
- xmlError lastError;
302
- xmlParserMode parseMode; /* the parser mode */
303
- unsigned long nbentities; /* number of entities references */
304
- unsigned long sizeentities; /* size of parsed entities */
305
-
306
- /* for use by HTML non-recursive parser */
307
- xmlParserNodeInfo *nodeInfo; /* Current NodeInfo */
308
- int nodeInfoNr; /* Depth of the parsing stack */
309
- int nodeInfoMax; /* Max depth of the parsing stack */
310
- xmlParserNodeInfo *nodeInfoTab; /* array of nodeInfos */
311
-
312
- int input_id; /* we need to label inputs */
313
- };
314
-
315
- /**
316
- * xmlSAXLocator:
317
- *
318
- * A SAX Locator.
319
- */
320
- struct _xmlSAXLocator {
321
- const xmlChar *(*getPublicId)(void *ctx);
322
- const xmlChar *(*getSystemId)(void *ctx);
323
- int (*getLineNumber)(void *ctx);
324
- int (*getColumnNumber)(void *ctx);
325
- };
326
-
327
- /**
328
- * xmlSAXHandler:
329
- *
330
- * A SAX handler is bunch of callbacks called by the parser when processing
331
- * of the input generate data or structure informations.
332
- */
333
-
334
- /**
335
- * resolveEntitySAXFunc:
336
- * @ctx: the user data (XML parser context)
337
- * @publicId: The public ID of the entity
338
- * @systemId: The system ID of the entity
339
- *
340
- * Callback:
341
- * The entity loader, to control the loading of external entities,
342
- * the application can either:
343
- * - override this resolveEntity() callback in the SAX block
344
- * - or better use the xmlSetExternalEntityLoader() function to
345
- * set up it's own entity resolution routine
346
- *
347
- * Returns the xmlParserInputPtr if inlined or NULL for DOM behaviour.
348
- */
349
- typedef xmlParserInputPtr (*resolveEntitySAXFunc) (void *ctx,
350
- const xmlChar *publicId,
351
- const xmlChar *systemId);
352
- /**
353
- * internalSubsetSAXFunc:
354
- * @ctx: the user data (XML parser context)
355
- * @name: the root element name
356
- * @ExternalID: the external ID
357
- * @SystemID: the SYSTEM ID (e.g. filename or URL)
358
- *
359
- * Callback on internal subset declaration.
360
- */
361
- typedef void (*internalSubsetSAXFunc) (void *ctx,
362
- const xmlChar *name,
363
- const xmlChar *ExternalID,
364
- const xmlChar *SystemID);
365
- /**
366
- * externalSubsetSAXFunc:
367
- * @ctx: the user data (XML parser context)
368
- * @name: the root element name
369
- * @ExternalID: the external ID
370
- * @SystemID: the SYSTEM ID (e.g. filename or URL)
371
- *
372
- * Callback on external subset declaration.
373
- */
374
- typedef void (*externalSubsetSAXFunc) (void *ctx,
375
- const xmlChar *name,
376
- const xmlChar *ExternalID,
377
- const xmlChar *SystemID);
378
- /**
379
- * getEntitySAXFunc:
380
- * @ctx: the user data (XML parser context)
381
- * @name: The entity name
382
- *
383
- * Get an entity by name.
384
- *
385
- * Returns the xmlEntityPtr if found.
386
- */
387
- typedef xmlEntityPtr (*getEntitySAXFunc) (void *ctx,
388
- const xmlChar *name);
389
- /**
390
- * getParameterEntitySAXFunc:
391
- * @ctx: the user data (XML parser context)
392
- * @name: The entity name
393
- *
394
- * Get a parameter entity by name.
395
- *
396
- * Returns the xmlEntityPtr if found.
397
- */
398
- typedef xmlEntityPtr (*getParameterEntitySAXFunc) (void *ctx,
399
- const xmlChar *name);
400
- /**
401
- * entityDeclSAXFunc:
402
- * @ctx: the user data (XML parser context)
403
- * @name: the entity name
404
- * @type: the entity type
405
- * @publicId: The public ID of the entity
406
- * @systemId: The system ID of the entity
407
- * @content: the entity value (without processing).
408
- *
409
- * An entity definition has been parsed.
410
- */
411
- typedef void (*entityDeclSAXFunc) (void *ctx,
412
- const xmlChar *name,
413
- int type,
414
- const xmlChar *publicId,
415
- const xmlChar *systemId,
416
- xmlChar *content);
417
- /**
418
- * notationDeclSAXFunc:
419
- * @ctx: the user data (XML parser context)
420
- * @name: The name of the notation
421
- * @publicId: The public ID of the entity
422
- * @systemId: The system ID of the entity
423
- *
424
- * What to do when a notation declaration has been parsed.
425
- */
426
- typedef void (*notationDeclSAXFunc)(void *ctx,
427
- const xmlChar *name,
428
- const xmlChar *publicId,
429
- const xmlChar *systemId);
430
- /**
431
- * attributeDeclSAXFunc:
432
- * @ctx: the user data (XML parser context)
433
- * @elem: the name of the element
434
- * @fullname: the attribute name
435
- * @type: the attribute type
436
- * @def: the type of default value
437
- * @defaultValue: the attribute default value
438
- * @tree: the tree of enumerated value set
439
- *
440
- * An attribute definition has been parsed.
441
- */
442
- typedef void (*attributeDeclSAXFunc)(void *ctx,
443
- const xmlChar *elem,
444
- const xmlChar *fullname,
445
- int type,
446
- int def,
447
- const xmlChar *defaultValue,
448
- xmlEnumerationPtr tree);
449
- /**
450
- * elementDeclSAXFunc:
451
- * @ctx: the user data (XML parser context)
452
- * @name: the element name
453
- * @type: the element type
454
- * @content: the element value tree
455
- *
456
- * An element definition has been parsed.
457
- */
458
- typedef void (*elementDeclSAXFunc)(void *ctx,
459
- const xmlChar *name,
460
- int type,
461
- xmlElementContentPtr content);
462
- /**
463
- * unparsedEntityDeclSAXFunc:
464
- * @ctx: the user data (XML parser context)
465
- * @name: The name of the entity
466
- * @publicId: The public ID of the entity
467
- * @systemId: The system ID of the entity
468
- * @notationName: the name of the notation
469
- *
470
- * What to do when an unparsed entity declaration is parsed.
471
- */
472
- typedef void (*unparsedEntityDeclSAXFunc)(void *ctx,
473
- const xmlChar *name,
474
- const xmlChar *publicId,
475
- const xmlChar *systemId,
476
- const xmlChar *notationName);
477
- /**
478
- * setDocumentLocatorSAXFunc:
479
- * @ctx: the user data (XML parser context)
480
- * @loc: A SAX Locator
481
- *
482
- * Receive the document locator at startup, actually xmlDefaultSAXLocator.
483
- * Everything is available on the context, so this is useless in our case.
484
- */
485
- typedef void (*setDocumentLocatorSAXFunc) (void *ctx,
486
- xmlSAXLocatorPtr loc);
487
- /**
488
- * startDocumentSAXFunc:
489
- * @ctx: the user data (XML parser context)
490
- *
491
- * Called when the document start being processed.
492
- */
493
- typedef void (*startDocumentSAXFunc) (void *ctx);
494
- /**
495
- * endDocumentSAXFunc:
496
- * @ctx: the user data (XML parser context)
497
- *
498
- * Called when the document end has been detected.
499
- */
500
- typedef void (*endDocumentSAXFunc) (void *ctx);
501
- /**
502
- * startElementSAXFunc:
503
- * @ctx: the user data (XML parser context)
504
- * @name: The element name, including namespace prefix
505
- * @atts: An array of name/value attributes pairs, NULL terminated
506
- *
507
- * Called when an opening tag has been processed.
508
- */
509
- typedef void (*startElementSAXFunc) (void *ctx,
510
- const xmlChar *name,
511
- const xmlChar **atts);
512
- /**
513
- * endElementSAXFunc:
514
- * @ctx: the user data (XML parser context)
515
- * @name: The element name
516
- *
517
- * Called when the end of an element has been detected.
518
- */
519
- typedef void (*endElementSAXFunc) (void *ctx,
520
- const xmlChar *name);
521
- /**
522
- * attributeSAXFunc:
523
- * @ctx: the user data (XML parser context)
524
- * @name: The attribute name, including namespace prefix
525
- * @value: The attribute value
526
- *
527
- * Handle an attribute that has been read by the parser.
528
- * The default handling is to convert the attribute into an
529
- * DOM subtree and past it in a new xmlAttr element added to
530
- * the element.
531
- */
532
- typedef void (*attributeSAXFunc) (void *ctx,
533
- const xmlChar *name,
534
- const xmlChar *value);
535
- /**
536
- * referenceSAXFunc:
537
- * @ctx: the user data (XML parser context)
538
- * @name: The entity name
539
- *
540
- * Called when an entity reference is detected.
541
- */
542
- typedef void (*referenceSAXFunc) (void *ctx,
543
- const xmlChar *name);
544
- /**
545
- * charactersSAXFunc:
546
- * @ctx: the user data (XML parser context)
547
- * @ch: a xmlChar string
548
- * @len: the number of xmlChar
549
- *
550
- * Receiving some chars from the parser.
551
- */
552
- typedef void (*charactersSAXFunc) (void *ctx,
553
- const xmlChar *ch,
554
- int len);
555
- /**
556
- * ignorableWhitespaceSAXFunc:
557
- * @ctx: the user data (XML parser context)
558
- * @ch: a xmlChar string
559
- * @len: the number of xmlChar
560
- *
561
- * Receiving some ignorable whitespaces from the parser.
562
- * UNUSED: by default the DOM building will use characters.
563
- */
564
- typedef void (*ignorableWhitespaceSAXFunc) (void *ctx,
565
- const xmlChar *ch,
566
- int len);
567
- /**
568
- * processingInstructionSAXFunc:
569
- * @ctx: the user data (XML parser context)
570
- * @target: the target name
571
- * @data: the PI data's
572
- *
573
- * A processing instruction has been parsed.
574
- */
575
- typedef void (*processingInstructionSAXFunc) (void *ctx,
576
- const xmlChar *target,
577
- const xmlChar *data);
578
- /**
579
- * commentSAXFunc:
580
- * @ctx: the user data (XML parser context)
581
- * @value: the comment content
582
- *
583
- * A comment has been parsed.
584
- */
585
- typedef void (*commentSAXFunc) (void *ctx,
586
- const xmlChar *value);
587
- /**
588
- * cdataBlockSAXFunc:
589
- * @ctx: the user data (XML parser context)
590
- * @value: The pcdata content
591
- * @len: the block length
592
- *
593
- * Called when a pcdata block has been parsed.
594
- */
595
- typedef void (*cdataBlockSAXFunc) (
596
- void *ctx,
597
- const xmlChar *value,
598
- int len);
599
- /**
600
- * warningSAXFunc:
601
- * @ctx: an XML parser context
602
- * @msg: the message to display/transmit
603
- * @...: extra parameters for the message display
604
- *
605
- * Display and format a warning messages, callback.
606
- */
607
- typedef void (XMLCDECL *warningSAXFunc) (void *ctx,
608
- const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
609
- /**
610
- * errorSAXFunc:
611
- * @ctx: an XML parser context
612
- * @msg: the message to display/transmit
613
- * @...: extra parameters for the message display
614
- *
615
- * Display and format an error messages, callback.
616
- */
617
- typedef void (XMLCDECL *errorSAXFunc) (void *ctx,
618
- const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
619
- /**
620
- * fatalErrorSAXFunc:
621
- * @ctx: an XML parser context
622
- * @msg: the message to display/transmit
623
- * @...: extra parameters for the message display
624
- *
625
- * Display and format fatal error messages, callback.
626
- * Note: so far fatalError() SAX callbacks are not used, error()
627
- * get all the callbacks for errors.
628
- */
629
- typedef void (XMLCDECL *fatalErrorSAXFunc) (void *ctx,
630
- const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
631
- /**
632
- * isStandaloneSAXFunc:
633
- * @ctx: the user data (XML parser context)
634
- *
635
- * Is this document tagged standalone?
636
- *
637
- * Returns 1 if true
638
- */
639
- typedef int (*isStandaloneSAXFunc) (void *ctx);
640
- /**
641
- * hasInternalSubsetSAXFunc:
642
- * @ctx: the user data (XML parser context)
643
- *
644
- * Does this document has an internal subset.
645
- *
646
- * Returns 1 if true
647
- */
648
- typedef int (*hasInternalSubsetSAXFunc) (void *ctx);
649
-
650
- /**
651
- * hasExternalSubsetSAXFunc:
652
- * @ctx: the user data (XML parser context)
653
- *
654
- * Does this document has an external subset?
655
- *
656
- * Returns 1 if true
657
- */
658
- typedef int (*hasExternalSubsetSAXFunc) (void *ctx);
659
-
660
- /************************************************************************
661
- * *
662
- * The SAX version 2 API extensions *
663
- * *
664
- ************************************************************************/
665
- /**
666
- * XML_SAX2_MAGIC:
667
- *
668
- * Special constant found in SAX2 blocks initialized fields
669
- */
670
- #define XML_SAX2_MAGIC 0xDEEDBEAF
671
-
672
- /**
673
- * startElementNsSAX2Func:
674
- * @ctx: the user data (XML parser context)
675
- * @localname: the local name of the element
676
- * @prefix: the element namespace prefix if available
677
- * @URI: the element namespace name if available
678
- * @nb_namespaces: number of namespace definitions on that node
679
- * @namespaces: pointer to the array of prefix/URI pairs namespace definitions
680
- * @nb_attributes: the number of attributes on that node
681
- * @nb_defaulted: the number of defaulted attributes. The defaulted
682
- * ones are at the end of the array
683
- * @attributes: pointer to the array of (localname/prefix/URI/value/end)
684
- * attribute values.
685
- *
686
- * SAX2 callback when an element start has been detected by the parser.
687
- * It provides the namespace informations for the element, as well as
688
- * the new namespace declarations on the element.
689
- */
690
-
691
- typedef void (*startElementNsSAX2Func) (void *ctx,
692
- const xmlChar *localname,
693
- const xmlChar *prefix,
694
- const xmlChar *URI,
695
- int nb_namespaces,
696
- const xmlChar **namespaces,
697
- int nb_attributes,
698
- int nb_defaulted,
699
- const xmlChar **attributes);
700
-
701
- /**
702
- * endElementNsSAX2Func:
703
- * @ctx: the user data (XML parser context)
704
- * @localname: the local name of the element
705
- * @prefix: the element namespace prefix if available
706
- * @URI: the element namespace name if available
707
- *
708
- * SAX2 callback when an element end has been detected by the parser.
709
- * It provides the namespace informations for the element.
710
- */
711
-
712
- typedef void (*endElementNsSAX2Func) (void *ctx,
713
- const xmlChar *localname,
714
- const xmlChar *prefix,
715
- const xmlChar *URI);
716
-
717
-
718
- struct _xmlSAXHandler {
719
- internalSubsetSAXFunc internalSubset;
720
- isStandaloneSAXFunc isStandalone;
721
- hasInternalSubsetSAXFunc hasInternalSubset;
722
- hasExternalSubsetSAXFunc hasExternalSubset;
723
- resolveEntitySAXFunc resolveEntity;
724
- getEntitySAXFunc getEntity;
725
- entityDeclSAXFunc entityDecl;
726
- notationDeclSAXFunc notationDecl;
727
- attributeDeclSAXFunc attributeDecl;
728
- elementDeclSAXFunc elementDecl;
729
- unparsedEntityDeclSAXFunc unparsedEntityDecl;
730
- setDocumentLocatorSAXFunc setDocumentLocator;
731
- startDocumentSAXFunc startDocument;
732
- endDocumentSAXFunc endDocument;
733
- startElementSAXFunc startElement;
734
- endElementSAXFunc endElement;
735
- referenceSAXFunc reference;
736
- charactersSAXFunc characters;
737
- ignorableWhitespaceSAXFunc ignorableWhitespace;
738
- processingInstructionSAXFunc processingInstruction;
739
- commentSAXFunc comment;
740
- warningSAXFunc warning;
741
- errorSAXFunc error;
742
- fatalErrorSAXFunc fatalError; /* unused error() get all the errors */
743
- getParameterEntitySAXFunc getParameterEntity;
744
- cdataBlockSAXFunc cdataBlock;
745
- externalSubsetSAXFunc externalSubset;
746
- unsigned int initialized;
747
- /* The following fields are extensions available only on version 2 */
748
- void *_private;
749
- startElementNsSAX2Func startElementNs;
750
- endElementNsSAX2Func endElementNs;
751
- xmlStructuredErrorFunc serror;
752
- };
753
-
754
- /*
755
- * SAX Version 1
756
- */
757
- typedef struct _xmlSAXHandlerV1 xmlSAXHandlerV1;
758
- typedef xmlSAXHandlerV1 *xmlSAXHandlerV1Ptr;
759
- struct _xmlSAXHandlerV1 {
760
- internalSubsetSAXFunc internalSubset;
761
- isStandaloneSAXFunc isStandalone;
762
- hasInternalSubsetSAXFunc hasInternalSubset;
763
- hasExternalSubsetSAXFunc hasExternalSubset;
764
- resolveEntitySAXFunc resolveEntity;
765
- getEntitySAXFunc getEntity;
766
- entityDeclSAXFunc entityDecl;
767
- notationDeclSAXFunc notationDecl;
768
- attributeDeclSAXFunc attributeDecl;
769
- elementDeclSAXFunc elementDecl;
770
- unparsedEntityDeclSAXFunc unparsedEntityDecl;
771
- setDocumentLocatorSAXFunc setDocumentLocator;
772
- startDocumentSAXFunc startDocument;
773
- endDocumentSAXFunc endDocument;
774
- startElementSAXFunc startElement;
775
- endElementSAXFunc endElement;
776
- referenceSAXFunc reference;
777
- charactersSAXFunc characters;
778
- ignorableWhitespaceSAXFunc ignorableWhitespace;
779
- processingInstructionSAXFunc processingInstruction;
780
- commentSAXFunc comment;
781
- warningSAXFunc warning;
782
- errorSAXFunc error;
783
- fatalErrorSAXFunc fatalError; /* unused error() get all the errors */
784
- getParameterEntitySAXFunc getParameterEntity;
785
- cdataBlockSAXFunc cdataBlock;
786
- externalSubsetSAXFunc externalSubset;
787
- unsigned int initialized;
788
- };
789
-
790
-
791
- /**
792
- * xmlExternalEntityLoader:
793
- * @URL: The System ID of the resource requested
794
- * @ID: The Public ID of the resource requested
795
- * @context: the XML parser context
796
- *
797
- * External entity loaders types.
798
- *
799
- * Returns the entity input parser.
800
- */
801
- typedef xmlParserInputPtr (*xmlExternalEntityLoader) (const char *URL,
802
- const char *ID,
803
- xmlParserCtxtPtr context);
804
-
805
- #ifdef __cplusplus
806
- }
807
- #endif
808
-
809
- #include <libxml/encoding.h>
810
- #include <libxml/xmlIO.h>
811
- #include <libxml/globals.h>
812
-
813
- #ifdef __cplusplus
814
- extern "C" {
815
- #endif
816
-
817
-
818
- /*
819
- * Init/Cleanup
820
- */
821
- XMLPUBFUN void XMLCALL
822
- xmlInitParser (void);
823
- XMLPUBFUN void XMLCALL
824
- xmlCleanupParser (void);
825
-
826
- /*
827
- * Input functions
828
- */
829
- XMLPUBFUN int XMLCALL
830
- xmlParserInputRead (xmlParserInputPtr in,
831
- int len);
832
- XMLPUBFUN int XMLCALL
833
- xmlParserInputGrow (xmlParserInputPtr in,
834
- int len);
835
-
836
- /*
837
- * Basic parsing Interfaces
838
- */
839
- #ifdef LIBXML_SAX1_ENABLED
840
- XMLPUBFUN xmlDocPtr XMLCALL
841
- xmlParseDoc (const xmlChar *cur);
842
- XMLPUBFUN xmlDocPtr XMLCALL
843
- xmlParseFile (const char *filename);
844
- XMLPUBFUN xmlDocPtr XMLCALL
845
- xmlParseMemory (const char *buffer,
846
- int size);
847
- #endif /* LIBXML_SAX1_ENABLED */
848
- XMLPUBFUN int XMLCALL
849
- xmlSubstituteEntitiesDefault(int val);
850
- XMLPUBFUN int XMLCALL
851
- xmlKeepBlanksDefault (int val);
852
- XMLPUBFUN void XMLCALL
853
- xmlStopParser (xmlParserCtxtPtr ctxt);
854
- XMLPUBFUN int XMLCALL
855
- xmlPedanticParserDefault(int val);
856
- XMLPUBFUN int XMLCALL
857
- xmlLineNumbersDefault (int val);
858
-
859
- #ifdef LIBXML_SAX1_ENABLED
860
- /*
861
- * Recovery mode
862
- */
863
- XMLPUBFUN xmlDocPtr XMLCALL
864
- xmlRecoverDoc (const xmlChar *cur);
865
- XMLPUBFUN xmlDocPtr XMLCALL
866
- xmlRecoverMemory (const char *buffer,
867
- int size);
868
- XMLPUBFUN xmlDocPtr XMLCALL
869
- xmlRecoverFile (const char *filename);
870
- #endif /* LIBXML_SAX1_ENABLED */
871
-
872
- /*
873
- * Less common routines and SAX interfaces
874
- */
875
- XMLPUBFUN int XMLCALL
876
- xmlParseDocument (xmlParserCtxtPtr ctxt);
877
- XMLPUBFUN int XMLCALL
878
- xmlParseExtParsedEnt (xmlParserCtxtPtr ctxt);
879
- #ifdef LIBXML_SAX1_ENABLED
880
- XMLPUBFUN int XMLCALL
881
- xmlSAXUserParseFile (xmlSAXHandlerPtr sax,
882
- void *user_data,
883
- const char *filename);
884
- XMLPUBFUN int XMLCALL
885
- xmlSAXUserParseMemory (xmlSAXHandlerPtr sax,
886
- void *user_data,
887
- const char *buffer,
888
- int size);
889
- XMLPUBFUN xmlDocPtr XMLCALL
890
- xmlSAXParseDoc (xmlSAXHandlerPtr sax,
891
- const xmlChar *cur,
892
- int recovery);
893
- XMLPUBFUN xmlDocPtr XMLCALL
894
- xmlSAXParseMemory (xmlSAXHandlerPtr sax,
895
- const char *buffer,
896
- int size,
897
- int recovery);
898
- XMLPUBFUN xmlDocPtr XMLCALL
899
- xmlSAXParseMemoryWithData (xmlSAXHandlerPtr sax,
900
- const char *buffer,
901
- int size,
902
- int recovery,
903
- void *data);
904
- XMLPUBFUN xmlDocPtr XMLCALL
905
- xmlSAXParseFile (xmlSAXHandlerPtr sax,
906
- const char *filename,
907
- int recovery);
908
- XMLPUBFUN xmlDocPtr XMLCALL
909
- xmlSAXParseFileWithData (xmlSAXHandlerPtr sax,
910
- const char *filename,
911
- int recovery,
912
- void *data);
913
- XMLPUBFUN xmlDocPtr XMLCALL
914
- xmlSAXParseEntity (xmlSAXHandlerPtr sax,
915
- const char *filename);
916
- XMLPUBFUN xmlDocPtr XMLCALL
917
- xmlParseEntity (const char *filename);
918
- #endif /* LIBXML_SAX1_ENABLED */
919
-
920
- #ifdef LIBXML_VALID_ENABLED
921
- XMLPUBFUN xmlDtdPtr XMLCALL
922
- xmlSAXParseDTD (xmlSAXHandlerPtr sax,
923
- const xmlChar *ExternalID,
924
- const xmlChar *SystemID);
925
- XMLPUBFUN xmlDtdPtr XMLCALL
926
- xmlParseDTD (const xmlChar *ExternalID,
927
- const xmlChar *SystemID);
928
- XMLPUBFUN xmlDtdPtr XMLCALL
929
- xmlIOParseDTD (xmlSAXHandlerPtr sax,
930
- xmlParserInputBufferPtr input,
931
- xmlCharEncoding enc);
932
- #endif /* LIBXML_VALID_ENABLE */
933
- #ifdef LIBXML_SAX1_ENABLED
934
- XMLPUBFUN int XMLCALL
935
- xmlParseBalancedChunkMemory(xmlDocPtr doc,
936
- xmlSAXHandlerPtr sax,
937
- void *user_data,
938
- int depth,
939
- const xmlChar *string,
940
- xmlNodePtr *lst);
941
- #endif /* LIBXML_SAX1_ENABLED */
942
- XMLPUBFUN xmlParserErrors XMLCALL
943
- xmlParseInNodeContext (xmlNodePtr node,
944
- const char *data,
945
- int datalen,
946
- int options,
947
- xmlNodePtr *lst);
948
- #ifdef LIBXML_SAX1_ENABLED
949
- XMLPUBFUN int XMLCALL
950
- xmlParseBalancedChunkMemoryRecover(xmlDocPtr doc,
951
- xmlSAXHandlerPtr sax,
952
- void *user_data,
953
- int depth,
954
- const xmlChar *string,
955
- xmlNodePtr *lst,
956
- int recover);
957
- XMLPUBFUN int XMLCALL
958
- xmlParseExternalEntity (xmlDocPtr doc,
959
- xmlSAXHandlerPtr sax,
960
- void *user_data,
961
- int depth,
962
- const xmlChar *URL,
963
- const xmlChar *ID,
964
- xmlNodePtr *lst);
965
- #endif /* LIBXML_SAX1_ENABLED */
966
- XMLPUBFUN int XMLCALL
967
- xmlParseCtxtExternalEntity(xmlParserCtxtPtr ctx,
968
- const xmlChar *URL,
969
- const xmlChar *ID,
970
- xmlNodePtr *lst);
971
-
972
- /*
973
- * Parser contexts handling.
974
- */
975
- XMLPUBFUN xmlParserCtxtPtr XMLCALL
976
- xmlNewParserCtxt (void);
977
- XMLPUBFUN int XMLCALL
978
- xmlInitParserCtxt (xmlParserCtxtPtr ctxt);
979
- XMLPUBFUN void XMLCALL
980
- xmlClearParserCtxt (xmlParserCtxtPtr ctxt);
981
- XMLPUBFUN void XMLCALL
982
- xmlFreeParserCtxt (xmlParserCtxtPtr ctxt);
983
- #ifdef LIBXML_SAX1_ENABLED
984
- XMLPUBFUN void XMLCALL
985
- xmlSetupParserForBuffer (xmlParserCtxtPtr ctxt,
986
- const xmlChar* buffer,
987
- const char *filename);
988
- #endif /* LIBXML_SAX1_ENABLED */
989
- XMLPUBFUN xmlParserCtxtPtr XMLCALL
990
- xmlCreateDocParserCtxt (const xmlChar *cur);
991
-
992
- #ifdef LIBXML_LEGACY_ENABLED
993
- /*
994
- * Reading/setting optional parsing features.
995
- */
996
- XMLPUBFUN int XMLCALL
997
- xmlGetFeaturesList (int *len,
998
- const char **result);
999
- XMLPUBFUN int XMLCALL
1000
- xmlGetFeature (xmlParserCtxtPtr ctxt,
1001
- const char *name,
1002
- void *result);
1003
- XMLPUBFUN int XMLCALL
1004
- xmlSetFeature (xmlParserCtxtPtr ctxt,
1005
- const char *name,
1006
- void *value);
1007
- #endif /* LIBXML_LEGACY_ENABLED */
1008
-
1009
- #ifdef LIBXML_PUSH_ENABLED
1010
- /*
1011
- * Interfaces for the Push mode.
1012
- */
1013
- XMLPUBFUN xmlParserCtxtPtr XMLCALL
1014
- xmlCreatePushParserCtxt(xmlSAXHandlerPtr sax,
1015
- void *user_data,
1016
- const char *chunk,
1017
- int size,
1018
- const char *filename);
1019
- XMLPUBFUN int XMLCALL
1020
- xmlParseChunk (xmlParserCtxtPtr ctxt,
1021
- const char *chunk,
1022
- int size,
1023
- int terminate);
1024
- #endif /* LIBXML_PUSH_ENABLED */
1025
-
1026
- /*
1027
- * Special I/O mode.
1028
- */
1029
-
1030
- XMLPUBFUN xmlParserCtxtPtr XMLCALL
1031
- xmlCreateIOParserCtxt (xmlSAXHandlerPtr sax,
1032
- void *user_data,
1033
- xmlInputReadCallback ioread,
1034
- xmlInputCloseCallback ioclose,
1035
- void *ioctx,
1036
- xmlCharEncoding enc);
1037
-
1038
- XMLPUBFUN xmlParserInputPtr XMLCALL
1039
- xmlNewIOInputStream (xmlParserCtxtPtr ctxt,
1040
- xmlParserInputBufferPtr input,
1041
- xmlCharEncoding enc);
1042
-
1043
- /*
1044
- * Node infos.
1045
- */
1046
- XMLPUBFUN const xmlParserNodeInfo* XMLCALL
1047
- xmlParserFindNodeInfo (const xmlParserCtxtPtr ctxt,
1048
- const xmlNodePtr node);
1049
- XMLPUBFUN void XMLCALL
1050
- xmlInitNodeInfoSeq (xmlParserNodeInfoSeqPtr seq);
1051
- XMLPUBFUN void XMLCALL
1052
- xmlClearNodeInfoSeq (xmlParserNodeInfoSeqPtr seq);
1053
- XMLPUBFUN unsigned long XMLCALL
1054
- xmlParserFindNodeInfoIndex(const xmlParserNodeInfoSeqPtr seq,
1055
- const xmlNodePtr node);
1056
- XMLPUBFUN void XMLCALL
1057
- xmlParserAddNodeInfo (xmlParserCtxtPtr ctxt,
1058
- const xmlParserNodeInfoPtr info);
1059
-
1060
- /*
1061
- * External entities handling actually implemented in xmlIO.
1062
- */
1063
-
1064
- XMLPUBFUN void XMLCALL
1065
- xmlSetExternalEntityLoader(xmlExternalEntityLoader f);
1066
- XMLPUBFUN xmlExternalEntityLoader XMLCALL
1067
- xmlGetExternalEntityLoader(void);
1068
- XMLPUBFUN xmlParserInputPtr XMLCALL
1069
- xmlLoadExternalEntity (const char *URL,
1070
- const char *ID,
1071
- xmlParserCtxtPtr ctxt);
1072
-
1073
- /*
1074
- * Index lookup, actually implemented in the encoding module
1075
- */
1076
- XMLPUBFUN long XMLCALL
1077
- xmlByteConsumed (xmlParserCtxtPtr ctxt);
1078
-
1079
- /*
1080
- * New set of simpler/more flexible APIs
1081
- */
1082
- /**
1083
- * xmlParserOption:
1084
- *
1085
- * This is the set of XML parser options that can be passed down
1086
- * to the xmlReadDoc() and similar calls.
1087
- */
1088
- typedef enum {
1089
- XML_PARSE_RECOVER = 1<<0, /* recover on errors */
1090
- XML_PARSE_NOENT = 1<<1, /* substitute entities */
1091
- XML_PARSE_DTDLOAD = 1<<2, /* load the external subset */
1092
- XML_PARSE_DTDATTR = 1<<3, /* default DTD attributes */
1093
- XML_PARSE_DTDVALID = 1<<4, /* validate with the DTD */
1094
- XML_PARSE_NOERROR = 1<<5, /* suppress error reports */
1095
- XML_PARSE_NOWARNING = 1<<6, /* suppress warning reports */
1096
- XML_PARSE_PEDANTIC = 1<<7, /* pedantic error reporting */
1097
- XML_PARSE_NOBLANKS = 1<<8, /* remove blank nodes */
1098
- XML_PARSE_SAX1 = 1<<9, /* use the SAX1 interface internally */
1099
- XML_PARSE_XINCLUDE = 1<<10,/* Implement XInclude substitition */
1100
- XML_PARSE_NONET = 1<<11,/* Forbid network access */
1101
- XML_PARSE_NODICT = 1<<12,/* Do not reuse the context dictionnary */
1102
- XML_PARSE_NSCLEAN = 1<<13,/* remove redundant namespaces declarations */
1103
- XML_PARSE_NOCDATA = 1<<14,/* merge CDATA as text nodes */
1104
- XML_PARSE_NOXINCNODE= 1<<15,/* do not generate XINCLUDE START/END nodes */
1105
- XML_PARSE_COMPACT = 1<<16,/* compact small text nodes; no modification of
1106
- the tree allowed afterwards (will possibly
1107
- crash if you try to modify the tree) */
1108
- XML_PARSE_OLD10 = 1<<17,/* parse using XML-1.0 before update 5 */
1109
- XML_PARSE_NOBASEFIX = 1<<18,/* do not fixup XINCLUDE xml:base uris */
1110
- XML_PARSE_HUGE = 1<<19,/* relax any hardcoded limit from the parser */
1111
- XML_PARSE_OLDSAX = 1<<20,/* parse using SAX2 interface before 2.7.0 */
1112
- XML_PARSE_IGNORE_ENC= 1<<21,/* ignore internal document encoding hint */
1113
- XML_PARSE_BIG_LINES = 1<<22 /* Store big lines numbers in text PSVI field */
1114
- } xmlParserOption;
1115
-
1116
- XMLPUBFUN void XMLCALL
1117
- xmlCtxtReset (xmlParserCtxtPtr ctxt);
1118
- XMLPUBFUN int XMLCALL
1119
- xmlCtxtResetPush (xmlParserCtxtPtr ctxt,
1120
- const char *chunk,
1121
- int size,
1122
- const char *filename,
1123
- const char *encoding);
1124
- XMLPUBFUN int XMLCALL
1125
- xmlCtxtUseOptions (xmlParserCtxtPtr ctxt,
1126
- int options);
1127
- XMLPUBFUN xmlDocPtr XMLCALL
1128
- xmlReadDoc (const xmlChar *cur,
1129
- const char *URL,
1130
- const char *encoding,
1131
- int options);
1132
- XMLPUBFUN xmlDocPtr XMLCALL
1133
- xmlReadFile (const char *URL,
1134
- const char *encoding,
1135
- int options);
1136
- XMLPUBFUN xmlDocPtr XMLCALL
1137
- xmlReadMemory (const char *buffer,
1138
- int size,
1139
- const char *URL,
1140
- const char *encoding,
1141
- int options);
1142
- XMLPUBFUN xmlDocPtr XMLCALL
1143
- xmlReadFd (int fd,
1144
- const char *URL,
1145
- const char *encoding,
1146
- int options);
1147
- XMLPUBFUN xmlDocPtr XMLCALL
1148
- xmlReadIO (xmlInputReadCallback ioread,
1149
- xmlInputCloseCallback ioclose,
1150
- void *ioctx,
1151
- const char *URL,
1152
- const char *encoding,
1153
- int options);
1154
- XMLPUBFUN xmlDocPtr XMLCALL
1155
- xmlCtxtReadDoc (xmlParserCtxtPtr ctxt,
1156
- const xmlChar *cur,
1157
- const char *URL,
1158
- const char *encoding,
1159
- int options);
1160
- XMLPUBFUN xmlDocPtr XMLCALL
1161
- xmlCtxtReadFile (xmlParserCtxtPtr ctxt,
1162
- const char *filename,
1163
- const char *encoding,
1164
- int options);
1165
- XMLPUBFUN xmlDocPtr XMLCALL
1166
- xmlCtxtReadMemory (xmlParserCtxtPtr ctxt,
1167
- const char *buffer,
1168
- int size,
1169
- const char *URL,
1170
- const char *encoding,
1171
- int options);
1172
- XMLPUBFUN xmlDocPtr XMLCALL
1173
- xmlCtxtReadFd (xmlParserCtxtPtr ctxt,
1174
- int fd,
1175
- const char *URL,
1176
- const char *encoding,
1177
- int options);
1178
- XMLPUBFUN xmlDocPtr XMLCALL
1179
- xmlCtxtReadIO (xmlParserCtxtPtr ctxt,
1180
- xmlInputReadCallback ioread,
1181
- xmlInputCloseCallback ioclose,
1182
- void *ioctx,
1183
- const char *URL,
1184
- const char *encoding,
1185
- int options);
1186
-
1187
- /*
1188
- * Library wide options
1189
- */
1190
- /**
1191
- * xmlFeature:
1192
- *
1193
- * Used to examine the existance of features that can be enabled
1194
- * or disabled at compile-time.
1195
- * They used to be called XML_FEATURE_xxx but this clashed with Expat
1196
- */
1197
- typedef enum {
1198
- XML_WITH_THREAD = 1,
1199
- XML_WITH_TREE = 2,
1200
- XML_WITH_OUTPUT = 3,
1201
- XML_WITH_PUSH = 4,
1202
- XML_WITH_READER = 5,
1203
- XML_WITH_PATTERN = 6,
1204
- XML_WITH_WRITER = 7,
1205
- XML_WITH_SAX1 = 8,
1206
- XML_WITH_FTP = 9,
1207
- XML_WITH_HTTP = 10,
1208
- XML_WITH_VALID = 11,
1209
- XML_WITH_HTML = 12,
1210
- XML_WITH_LEGACY = 13,
1211
- XML_WITH_C14N = 14,
1212
- XML_WITH_CATALOG = 15,
1213
- XML_WITH_XPATH = 16,
1214
- XML_WITH_XPTR = 17,
1215
- XML_WITH_XINCLUDE = 18,
1216
- XML_WITH_ICONV = 19,
1217
- XML_WITH_ISO8859X = 20,
1218
- XML_WITH_UNICODE = 21,
1219
- XML_WITH_REGEXP = 22,
1220
- XML_WITH_AUTOMATA = 23,
1221
- XML_WITH_EXPR = 24,
1222
- XML_WITH_SCHEMAS = 25,
1223
- XML_WITH_SCHEMATRON = 26,
1224
- XML_WITH_MODULES = 27,
1225
- XML_WITH_DEBUG = 28,
1226
- XML_WITH_DEBUG_MEM = 29,
1227
- XML_WITH_DEBUG_RUN = 30,
1228
- XML_WITH_ZLIB = 31,
1229
- XML_WITH_ICU = 32,
1230
- XML_WITH_LZMA = 33,
1231
- XML_WITH_NONE = 99999 /* just to be sure of allocation size */
1232
- } xmlFeature;
1233
-
1234
- XMLPUBFUN int XMLCALL
1235
- xmlHasFeature (xmlFeature feature);
1236
-
1237
- #ifdef __cplusplus
1238
- }
1239
- #endif
1240
- #endif /* __XML_PARSER_H__ */