gtksourceview2 0.90.6-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (485) hide show
  1. data/ChangeLog +57 -0
  2. data/README +29 -0
  3. data/Rakefile +14 -0
  4. data/ext/gtksourceview2/depend +5 -0
  5. data/ext/gtksourceview2/extconf.rb +73 -0
  6. data/ext/gtksourceview2/gtksourceview2.def +2 -0
  7. data/ext/gtksourceview2/rbgtksourcebuffer.c +401 -0
  8. data/ext/gtksourceview2/rbgtksourceiter.c +110 -0
  9. data/ext/gtksourceview2/rbgtksourcelanguage.c +126 -0
  10. data/ext/gtksourceview2/rbgtksourcelanguagemanager.c +188 -0
  11. data/ext/gtksourceview2/rbgtksourcemain.c +38 -0
  12. data/ext/gtksourceview2/rbgtksourcemain.h +32 -0
  13. data/ext/gtksourceview2/rbgtksourcemark.c +90 -0
  14. data/ext/gtksourceview2/rbgtksourceprintcompositor.c +249 -0
  15. data/ext/gtksourceview2/rbgtksourcestyle.c +48 -0
  16. data/ext/gtksourceview2/rbgtksourcestylescheme.c +71 -0
  17. data/ext/gtksourceview2/rbgtksourcestyleschememanager.c +211 -0
  18. data/ext/gtksourceview2/rbgtksourceview.c +239 -0
  19. data/extconf.rb +49 -0
  20. data/lib/1.8/gtksourceview2.so +0 -0
  21. data/lib/1.9/gtksourceview2.so +0 -0
  22. data/lib/gtksourceview2.rb +2 -0
  23. data/sample/sourcelanguagemanager.rb +21 -0
  24. data/sample/test.rb +32 -0
  25. data/test/run-test.rb +33 -0
  26. data/test/test_source_view.rb +17 -0
  27. data/vendor/local/bin/libgtksourceview-2.0-0.dll +0 -0
  28. data/vendor/local/bin/libxml2-2.dll +0 -0
  29. data/vendor/local/bin/xmlcatalog.exe +0 -0
  30. data/vendor/local/bin/xmllint.exe +0 -0
  31. data/vendor/local/include/gtksourceview-2.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +67 -0
  32. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcebuffer.h +181 -0
  33. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletion.h +131 -0
  34. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletioncontext.h +98 -0
  35. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletioninfo.h +82 -0
  36. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletionitem.h +71 -0
  37. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletionproposal.h +76 -0
  38. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcecompletionprovider.h +119 -0
  39. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcegutter.h +106 -0
  40. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceiter.h +53 -0
  41. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcelanguage.h +83 -0
  42. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcelanguagemanager.h +86 -0
  43. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcemark.h +71 -0
  44. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceprintcompositor.h +177 -0
  45. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcestyle.h +41 -0
  46. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcestylescheme.h +91 -0
  47. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourcestyleschememanager.h +90 -0
  48. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceundomanager.h +77 -0
  49. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceview-typebuiltins.h +44 -0
  50. data/vendor/local/include/gtksourceview-2.0/gtksourceview/gtksourceview.h +272 -0
  51. data/vendor/local/include/libxml2/libxml/DOCBparser.h +96 -0
  52. data/vendor/local/include/libxml2/libxml/HTMLparser.h +304 -0
  53. data/vendor/local/include/libxml2/libxml/HTMLtree.h +147 -0
  54. data/vendor/local/include/libxml2/libxml/SAX.h +173 -0
  55. data/vendor/local/include/libxml2/libxml/SAX2.h +176 -0
  56. data/vendor/local/include/libxml2/libxml/c14n.h +126 -0
  57. data/vendor/local/include/libxml2/libxml/catalog.h +182 -0
  58. data/vendor/local/include/libxml2/libxml/chvalid.h +230 -0
  59. data/vendor/local/include/libxml2/libxml/debugXML.h +217 -0
  60. data/vendor/local/include/libxml2/libxml/dict.h +69 -0
  61. data/vendor/local/include/libxml2/libxml/encoding.h +226 -0
  62. data/vendor/local/include/libxml2/libxml/entities.h +150 -0
  63. data/vendor/local/include/libxml2/libxml/globals.h +502 -0
  64. data/vendor/local/include/libxml2/libxml/hash.h +233 -0
  65. data/vendor/local/include/libxml2/libxml/list.h +137 -0
  66. data/vendor/local/include/libxml2/libxml/nanoftp.h +143 -0
  67. data/vendor/local/include/libxml2/libxml/nanohttp.h +81 -0
  68. data/vendor/local/include/libxml2/libxml/parser.h +1235 -0
  69. data/vendor/local/include/libxml2/libxml/parserInternals.h +611 -0
  70. data/vendor/local/include/libxml2/libxml/pattern.h +100 -0
  71. data/vendor/local/include/libxml2/libxml/relaxng.h +213 -0
  72. data/vendor/local/include/libxml2/libxml/schemasInternals.h +958 -0
  73. data/vendor/local/include/libxml2/libxml/schematron.h +142 -0
  74. data/vendor/local/include/libxml2/libxml/threads.h +84 -0
  75. data/vendor/local/include/libxml2/libxml/tree.h +1252 -0
  76. data/vendor/local/include/libxml2/libxml/uri.h +94 -0
  77. data/vendor/local/include/libxml2/libxml/valid.h +458 -0
  78. data/vendor/local/include/libxml2/libxml/xinclude.h +129 -0
  79. data/vendor/local/include/libxml2/libxml/xlink.h +189 -0
  80. data/vendor/local/include/libxml2/libxml/xmlIO.h +360 -0
  81. data/vendor/local/include/libxml2/libxml/xmlautomata.h +146 -0
  82. data/vendor/local/include/libxml2/libxml/xmlerror.h +944 -0
  83. data/vendor/local/include/libxml2/libxml/xmlexports.h +162 -0
  84. data/vendor/local/include/libxml2/libxml/xmlmemory.h +224 -0
  85. data/vendor/local/include/libxml2/libxml/xmlmodule.h +57 -0
  86. data/vendor/local/include/libxml2/libxml/xmlreader.h +424 -0
  87. data/vendor/local/include/libxml2/libxml/xmlregexp.h +222 -0
  88. data/vendor/local/include/libxml2/libxml/xmlsave.h +87 -0
  89. data/vendor/local/include/libxml2/libxml/xmlschemas.h +218 -0
  90. data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +151 -0
  91. data/vendor/local/include/libxml2/libxml/xmlstring.h +140 -0
  92. data/vendor/local/include/libxml2/libxml/xmlunicode.h +202 -0
  93. data/vendor/local/include/libxml2/libxml/xmlversion.h +458 -0
  94. data/vendor/local/include/libxml2/libxml/xmlwriter.h +485 -0
  95. data/vendor/local/include/libxml2/libxml/xpath.h +546 -0
  96. data/vendor/local/include/libxml2/libxml/xpathInternals.h +630 -0
  97. data/vendor/local/include/libxml2/libxml/xpointer.h +114 -0
  98. data/vendor/local/lib/libgtksourceview-2.0.dll.a +0 -0
  99. data/vendor/local/lib/libxml2.def +1657 -0
  100. data/vendor/local/lib/libxml2.dll.a +0 -0
  101. data/vendor/local/lib/libxml2.lib +0 -0
  102. data/vendor/local/lib/pkgconfig/gtksourceview-2.0.pc +12 -0
  103. data/vendor/local/lib/pkgconfig/libxml-2.0.pc +13 -0
  104. data/vendor/local/manifest/libxml2-dev_2.7.7-1_win32.mft +267 -0
  105. data/vendor/local/manifest/libxml2_2.7.7-1_win32.mft +2 -0
  106. data/vendor/local/share/aclocal/libxml.m4 +188 -0
  107. data/vendor/local/share/doc/libxml2-2.7.7/Copyright +27 -0
  108. data/vendor/local/share/doc/libxml2-2.7.7/examples/testHTML.c +880 -0
  109. data/vendor/local/share/doc/libxml2-2.7.7/examples/testSAX.c +1198 -0
  110. data/vendor/local/share/doc/libxml2-2.7.7/examples/testXPath.c +227 -0
  111. data/vendor/local/share/doc/libxml2-2.7.7/examples/xmllint.c +3722 -0
  112. data/vendor/local/share/doc/libxml2-2.7.7/html/DOM.gif +0 -0
  113. data/vendor/local/share/doc/libxml2-2.7.7/html/FAQ.html +282 -0
  114. data/vendor/local/share/doc/libxml2-2.7.7/html/Libxml2-Logo-180x168.gif +0 -0
  115. data/vendor/local/share/doc/libxml2-2.7.7/html/Libxml2-Logo-90x34.gif +0 -0
  116. data/vendor/local/share/doc/libxml2-2.7.7/html/encoding.html +206 -0
  117. data/vendor/local/share/doc/libxml2-2.7.7/html/examples.xml +751 -0
  118. data/vendor/local/share/doc/libxml2-2.7.7/html/examples.xsl +174 -0
  119. data/vendor/local/share/doc/libxml2-2.7.7/html/html/book1.html +13 -0
  120. data/vendor/local/share/doc/libxml2-2.7.7/html/html/home.png +0 -0
  121. data/vendor/local/share/doc/libxml2-2.7.7/html/html/index.html +13 -0
  122. data/vendor/local/share/doc/libxml2-2.7.7/html/html/left.png +0 -0
  123. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-DOCBparser.html +51 -0
  124. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-HTMLparser.html +182 -0
  125. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-HTMLtree.html +73 -0
  126. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-SAX.html +125 -0
  127. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-SAX2.html +128 -0
  128. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-c14n.html +38 -0
  129. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-catalog.html +142 -0
  130. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-chvalid.html +72 -0
  131. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-debugXML.html +120 -0
  132. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-dict.html +49 -0
  133. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-encoding.html +118 -0
  134. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-entities.html +79 -0
  135. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-globals.html +152 -0
  136. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-hash.html +116 -0
  137. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-lib.html +13 -0
  138. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-list.html +120 -0
  139. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-nanoftp.html +92 -0
  140. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-nanohttp.html +65 -0
  141. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-parser.html +555 -0
  142. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-parserInternals.html +319 -0
  143. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-pattern.html +76 -0
  144. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-relaxng.html +162 -0
  145. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-schemasInternals.html +373 -0
  146. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-schematron.html +81 -0
  147. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-threads.html +72 -0
  148. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-tree.html +958 -0
  149. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-uri.html +73 -0
  150. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-valid.html +289 -0
  151. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xinclude.html +59 -0
  152. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xlink.html +82 -0
  153. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlIO.html +206 -0
  154. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlautomata.html +85 -0
  155. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlerror.html +862 -0
  156. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlexports.html +20 -0
  157. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlmemory.html +107 -0
  158. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlmodule.html +38 -0
  159. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlreader.html +327 -0
  160. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlregexp.html +143 -0
  161. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlsave.html +59 -0
  162. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlschemas.html +173 -0
  163. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlschemastypes.html +123 -0
  164. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlstring.html +108 -0
  165. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlunicode.html +512 -0
  166. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlversion.html +60 -0
  167. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xmlwriter.html +258 -0
  168. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xpath.html +307 -0
  169. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xpathInternals.html +394 -0
  170. data/vendor/local/share/doc/libxml2-2.7.7/html/html/libxml-xpointer.html +83 -0
  171. data/vendor/local/share/doc/libxml2-2.7.7/html/html/right.png +0 -0
  172. data/vendor/local/share/doc/libxml2-2.7.7/html/html/up.png +0 -0
  173. data/vendor/local/share/doc/libxml2-2.7.7/html/io1.c +166 -0
  174. data/vendor/local/share/doc/libxml2-2.7.7/html/io1.res +5 -0
  175. data/vendor/local/share/doc/libxml2-2.7.7/html/io2.c +58 -0
  176. data/vendor/local/share/doc/libxml2-2.7.7/html/io2.res +2 -0
  177. data/vendor/local/share/doc/libxml2-2.7.7/html/libxml.gif +0 -0
  178. data/vendor/local/share/doc/libxml2-2.7.7/html/parse1.c +56 -0
  179. data/vendor/local/share/doc/libxml2-2.7.7/html/parse2.c +72 -0
  180. data/vendor/local/share/doc/libxml2-2.7.7/html/parse3.c +60 -0
  181. data/vendor/local/share/doc/libxml2-2.7.7/html/parse4.c +143 -0
  182. data/vendor/local/share/doc/libxml2-2.7.7/html/reader1.c +107 -0
  183. data/vendor/local/share/doc/libxml2-2.7.7/html/reader1.res +14 -0
  184. data/vendor/local/share/doc/libxml2-2.7.7/html/reader2.c +122 -0
  185. data/vendor/local/share/doc/libxml2-2.7.7/html/reader3.c +120 -0
  186. data/vendor/local/share/doc/libxml2-2.7.7/html/reader3.res +13 -0
  187. data/vendor/local/share/doc/libxml2-2.7.7/html/reader4.c +122 -0
  188. data/vendor/local/share/doc/libxml2-2.7.7/html/reader4.res +3 -0
  189. data/vendor/local/share/doc/libxml2-2.7.7/html/redhat.gif +0 -0
  190. data/vendor/local/share/doc/libxml2-2.7.7/html/smallfootonly.gif +0 -0
  191. data/vendor/local/share/doc/libxml2-2.7.7/html/structure.gif +0 -0
  192. data/vendor/local/share/doc/libxml2-2.7.7/html/test1.xml +1 -0
  193. data/vendor/local/share/doc/libxml2-2.7.7/html/test2.xml +13 -0
  194. data/vendor/local/share/doc/libxml2-2.7.7/html/test3.xml +39 -0
  195. data/vendor/local/share/doc/libxml2-2.7.7/html/testWriter.c +1198 -0
  196. data/vendor/local/share/doc/libxml2-2.7.7/html/tree1.c +94 -0
  197. data/vendor/local/share/doc/libxml2-2.7.7/html/tree1.res +4 -0
  198. data/vendor/local/share/doc/libxml2-2.7.7/html/tree2.c +118 -0
  199. data/vendor/local/share/doc/libxml2-2.7.7/html/tree2.res +18 -0
  200. data/vendor/local/share/doc/libxml2-2.7.7/html/tst.xml +7 -0
  201. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apa.html +8 -0
  202. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apb.html +14 -0
  203. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apc.html +82 -0
  204. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apd.html +76 -0
  205. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ape.html +78 -0
  206. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apf.html +67 -0
  207. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/apg.html +75 -0
  208. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/aph.html +76 -0
  209. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/api.html +4 -0
  210. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s02.html +14 -0
  211. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s03.html +47 -0
  212. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s04.html +54 -0
  213. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s05.html +55 -0
  214. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s06.html +35 -0
  215. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s07.html +30 -0
  216. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s08.html +38 -0
  217. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ar01s09.html +63 -0
  218. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/blank.png +0 -0
  219. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/1.png +0 -0
  220. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/10.png +0 -0
  221. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/2.png +0 -0
  222. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/3.png +0 -0
  223. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/4.png +0 -0
  224. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/5.png +0 -0
  225. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/6.png +0 -0
  226. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/7.png +0 -0
  227. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/8.png +0 -0
  228. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/callouts/9.png +0 -0
  229. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/caution.png +0 -0
  230. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/draft.png +0 -0
  231. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/home.png +0 -0
  232. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/important.png +0 -0
  233. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/next.png +0 -0
  234. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/note.png +0 -0
  235. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/prev.png +0 -0
  236. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/tip.png +0 -0
  237. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/toc-blank.png +0 -0
  238. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/toc-minus.png +0 -0
  239. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/toc-plus.png +0 -0
  240. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/up.png +0 -0
  241. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/images/warning.png +0 -0
  242. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includeaddattribute.c +64 -0
  243. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includeaddkeyword.c +75 -0
  244. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includeconvert.c +73 -0
  245. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includegetattribute.c +72 -0
  246. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includekeyword.c +79 -0
  247. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/includexpath.c +74 -0
  248. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/index.html +14 -0
  249. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/ix01.html +1 -0
  250. data/vendor/local/share/doc/libxml2-2.7.7/html/tutorial/xmltutorial.pdf +1336 -0
  251. data/vendor/local/share/doc/libxml2-2.7.7/html/w3c.png +0 -0
  252. data/vendor/local/share/doc/libxml2-2.7.7/html/writer.xml +2 -0
  253. data/vendor/local/share/doc/libxml2-2.7.7/html/xml.html +5344 -0
  254. data/vendor/local/share/doc/libxml2-2.7.7/html/xpath1.c +250 -0
  255. data/vendor/local/share/doc/libxml2-2.7.7/html/xpath1.res +5 -0
  256. data/vendor/local/share/doc/libxml2-2.7.7/html/xpath2.c +190 -0
  257. data/vendor/local/share/doc/libxml2-2.7.7/html/xpath2.res +30 -0
  258. data/vendor/local/share/gtk-doc/html/libxml2/general.html +38 -0
  259. data/vendor/local/share/gtk-doc/html/libxml2/home.png +0 -0
  260. data/vendor/local/share/gtk-doc/html/libxml2/index.html +67 -0
  261. data/vendor/local/share/gtk-doc/html/libxml2/left.png +0 -0
  262. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +138 -0
  263. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +371 -0
  264. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +172 -0
  265. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +243 -0
  266. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +247 -0
  267. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +91 -0
  268. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +278 -0
  269. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +241 -0
  270. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +225 -0
  271. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +119 -0
  272. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +208 -0
  273. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +166 -0
  274. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +383 -0
  275. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +214 -0
  276. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +226 -0
  277. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +177 -0
  278. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +142 -0
  279. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +762 -0
  280. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +673 -0
  281. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +166 -0
  282. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +278 -0
  283. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +860 -0
  284. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +166 -0
  285. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +161 -0
  286. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +1542 -0
  287. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +154 -0
  288. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +528 -0
  289. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +169 -0
  290. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +160 -0
  291. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +337 -0
  292. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +176 -0
  293. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +950 -0
  294. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +87 -0
  295. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +186 -0
  296. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +97 -0
  297. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +560 -0
  298. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +280 -0
  299. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +132 -0
  300. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +299 -0
  301. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +237 -0
  302. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +217 -0
  303. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +887 -0
  304. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +277 -0
  305. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +474 -0
  306. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +529 -0
  307. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +787 -0
  308. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +171 -0
  309. data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +3529 -0
  310. data/vendor/local/share/gtk-doc/html/libxml2/right.png +0 -0
  311. data/vendor/local/share/gtk-doc/html/libxml2/style.css +66 -0
  312. data/vendor/local/share/gtk-doc/html/libxml2/up.png +0 -0
  313. data/vendor/local/share/gtksourceview-2.0/language-specs/R.lang +128 -0
  314. data/vendor/local/share/gtksourceview-2.0/language-specs/ada.lang +220 -0
  315. data/vendor/local/share/gtksourceview-2.0/language-specs/asp.lang +1096 -0
  316. data/vendor/local/share/gtksourceview-2.0/language-specs/awk.lang +137 -0
  317. data/vendor/local/share/gtksourceview-2.0/language-specs/bibtex.lang +92 -0
  318. data/vendor/local/share/gtksourceview-2.0/language-specs/boo.lang +256 -0
  319. data/vendor/local/share/gtksourceview-2.0/language-specs/c.lang +272 -0
  320. data/vendor/local/share/gtksourceview-2.0/language-specs/cg.lang +231 -0
  321. data/vendor/local/share/gtksourceview-2.0/language-specs/changelog.lang +91 -0
  322. data/vendor/local/share/gtksourceview-2.0/language-specs/chdr.lang +42 -0
  323. data/vendor/local/share/gtksourceview-2.0/language-specs/cmake.lang +407 -0
  324. data/vendor/local/share/gtksourceview-2.0/language-specs/cpp.lang +106 -0
  325. data/vendor/local/share/gtksourceview-2.0/language-specs/csharp.lang +280 -0
  326. data/vendor/local/share/gtksourceview-2.0/language-specs/css.lang +516 -0
  327. data/vendor/local/share/gtksourceview-2.0/language-specs/cuda.lang +288 -0
  328. data/vendor/local/share/gtksourceview-2.0/language-specs/d.lang +295 -0
  329. data/vendor/local/share/gtksourceview-2.0/language-specs/def.lang +268 -0
  330. data/vendor/local/share/gtksourceview-2.0/language-specs/desktop.lang +299 -0
  331. data/vendor/local/share/gtksourceview-2.0/language-specs/diff.lang +84 -0
  332. data/vendor/local/share/gtksourceview-2.0/language-specs/docbook.lang +475 -0
  333. data/vendor/local/share/gtksourceview-2.0/language-specs/dosbatch.lang +166 -0
  334. data/vendor/local/share/gtksourceview-2.0/language-specs/dot.lang +139 -0
  335. data/vendor/local/share/gtksourceview-2.0/language-specs/dpatch.lang +47 -0
  336. data/vendor/local/share/gtksourceview-2.0/language-specs/dtd.lang +139 -0
  337. data/vendor/local/share/gtksourceview-2.0/language-specs/eiffel.lang +238 -0
  338. data/vendor/local/share/gtksourceview-2.0/language-specs/erlang.lang +248 -0
  339. data/vendor/local/share/gtksourceview-2.0/language-specs/fcl.lang +113 -0
  340. data/vendor/local/share/gtksourceview-2.0/language-specs/forth.lang +234 -0
  341. data/vendor/local/share/gtksourceview-2.0/language-specs/fortran.lang +511 -0
  342. data/vendor/local/share/gtksourceview-2.0/language-specs/fsharp.lang +322 -0
  343. data/vendor/local/share/gtksourceview-2.0/language-specs/gap.lang +84 -0
  344. data/vendor/local/share/gtksourceview-2.0/language-specs/glsl.lang +482 -0
  345. data/vendor/local/share/gtksourceview-2.0/language-specs/gtk-doc.lang +90 -0
  346. data/vendor/local/share/gtksourceview-2.0/language-specs/gtkrc.lang +115 -0
  347. data/vendor/local/share/gtksourceview-2.0/language-specs/haddock.lang +161 -0
  348. data/vendor/local/share/gtksourceview-2.0/language-specs/haskell-literate.lang +58 -0
  349. data/vendor/local/share/gtksourceview-2.0/language-specs/haskell.lang +226 -0
  350. data/vendor/local/share/gtksourceview-2.0/language-specs/html.lang +160 -0
  351. data/vendor/local/share/gtksourceview-2.0/language-specs/idl.lang +153 -0
  352. data/vendor/local/share/gtksourceview-2.0/language-specs/ini.lang +94 -0
  353. data/vendor/local/share/gtksourceview-2.0/language-specs/java.lang +208 -0
  354. data/vendor/local/share/gtksourceview-2.0/language-specs/javascript.lang +334 -0
  355. data/vendor/local/share/gtksourceview-2.0/language-specs/language.dtd +72 -0
  356. data/vendor/local/share/gtksourceview-2.0/language-specs/language.rng +372 -0
  357. data/vendor/local/share/gtksourceview-2.0/language-specs/language2.rng +490 -0
  358. data/vendor/local/share/gtksourceview-2.0/language-specs/latex.lang +298 -0
  359. data/vendor/local/share/gtksourceview-2.0/language-specs/libtool.lang +55 -0
  360. data/vendor/local/share/gtksourceview-2.0/language-specs/lua.lang +156 -0
  361. data/vendor/local/share/gtksourceview-2.0/language-specs/m4.lang +803 -0
  362. data/vendor/local/share/gtksourceview-2.0/language-specs/makefile.lang +195 -0
  363. data/vendor/local/share/gtksourceview-2.0/language-specs/mallard.lang +122 -0
  364. data/vendor/local/share/gtksourceview-2.0/language-specs/msil.lang +490 -0
  365. data/vendor/local/share/gtksourceview-2.0/language-specs/nemerle.lang +262 -0
  366. data/vendor/local/share/gtksourceview-2.0/language-specs/nsis.lang +87 -0
  367. data/vendor/local/share/gtksourceview-2.0/language-specs/objc.lang +119 -0
  368. data/vendor/local/share/gtksourceview-2.0/language-specs/ocaml.lang +299 -0
  369. data/vendor/local/share/gtksourceview-2.0/language-specs/ocl.lang +138 -0
  370. data/vendor/local/share/gtksourceview-2.0/language-specs/octave.lang +238 -0
  371. data/vendor/local/share/gtksourceview-2.0/language-specs/ooc.lang +264 -0
  372. data/vendor/local/share/gtksourceview-2.0/language-specs/pascal.lang +264 -0
  373. data/vendor/local/share/gtksourceview-2.0/language-specs/perl.lang +1017 -0
  374. data/vendor/local/share/gtksourceview-2.0/language-specs/php.lang +329 -0
  375. data/vendor/local/share/gtksourceview-2.0/language-specs/pkgconfig.lang +61 -0
  376. data/vendor/local/share/gtksourceview-2.0/language-specs/po.lang +94 -0
  377. data/vendor/local/share/gtksourceview-2.0/language-specs/prolog.lang +248 -0
  378. data/vendor/local/share/gtksourceview-2.0/language-specs/python.lang +390 -0
  379. data/vendor/local/share/gtksourceview-2.0/language-specs/rpmspec.lang +204 -0
  380. data/vendor/local/share/gtksourceview-2.0/language-specs/ruby.lang +588 -0
  381. data/vendor/local/share/gtksourceview-2.0/language-specs/scheme.lang +301 -0
  382. data/vendor/local/share/gtksourceview-2.0/language-specs/sh.lang +499 -0
  383. data/vendor/local/share/gtksourceview-2.0/language-specs/sparql.lang +447 -0
  384. data/vendor/local/share/gtksourceview-2.0/language-specs/sql.lang +617 -0
  385. data/vendor/local/share/gtksourceview-2.0/language-specs/styles.rng +138 -0
  386. data/vendor/local/share/gtksourceview-2.0/language-specs/t2t.lang +149 -0
  387. data/vendor/local/share/gtksourceview-2.0/language-specs/tcl.lang +145 -0
  388. data/vendor/local/share/gtksourceview-2.0/language-specs/texinfo.lang +447 -0
  389. data/vendor/local/share/gtksourceview-2.0/language-specs/vala.lang +227 -0
  390. data/vendor/local/share/gtksourceview-2.0/language-specs/vbnet.lang +244 -0
  391. data/vendor/local/share/gtksourceview-2.0/language-specs/verilog.lang +249 -0
  392. data/vendor/local/share/gtksourceview-2.0/language-specs/vhdl.lang +247 -0
  393. data/vendor/local/share/gtksourceview-2.0/language-specs/xml.lang +219 -0
  394. data/vendor/local/share/gtksourceview-2.0/language-specs/xslt.lang +107 -0
  395. data/vendor/local/share/gtksourceview-2.0/language-specs/yacc.lang +172 -0
  396. data/vendor/local/share/gtksourceview-2.0/styles/classic.xml +99 -0
  397. data/vendor/local/share/gtksourceview-2.0/styles/cobalt.xml +134 -0
  398. data/vendor/local/share/gtksourceview-2.0/styles/kate.xml +155 -0
  399. data/vendor/local/share/gtksourceview-2.0/styles/oblivion.xml +112 -0
  400. data/vendor/local/share/gtksourceview-2.0/styles/styles.rng +138 -0
  401. data/vendor/local/share/gtksourceview-2.0/styles/tango.xml +116 -0
  402. data/vendor/local/share/locale/ar/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  403. data/vendor/local/share/locale/as/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  404. data/vendor/local/share/locale/ast/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  405. data/vendor/local/share/locale/az/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  406. data/vendor/local/share/locale/be/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  407. data/vendor/local/share/locale/bg/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  408. data/vendor/local/share/locale/bn/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  409. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  410. data/vendor/local/share/locale/bs/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  411. data/vendor/local/share/locale/ca/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  412. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  413. data/vendor/local/share/locale/cs/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  414. data/vendor/local/share/locale/cy/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  415. data/vendor/local/share/locale/da/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  416. data/vendor/local/share/locale/de/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  417. data/vendor/local/share/locale/dz/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  418. data/vendor/local/share/locale/el/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  419. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  420. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  421. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  422. data/vendor/local/share/locale/es/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  423. data/vendor/local/share/locale/et/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  424. data/vendor/local/share/locale/eu/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  425. data/vendor/local/share/locale/fa/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  426. data/vendor/local/share/locale/fi/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  427. data/vendor/local/share/locale/fr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  428. data/vendor/local/share/locale/ga/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  429. data/vendor/local/share/locale/gl/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  430. data/vendor/local/share/locale/gu/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  431. data/vendor/local/share/locale/he/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  432. data/vendor/local/share/locale/hi/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  433. data/vendor/local/share/locale/hr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  434. data/vendor/local/share/locale/hu/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  435. data/vendor/local/share/locale/id/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  436. data/vendor/local/share/locale/it/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  437. data/vendor/local/share/locale/ja/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  438. data/vendor/local/share/locale/kn/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  439. data/vendor/local/share/locale/ko/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  440. data/vendor/local/share/locale/lt/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  441. data/vendor/local/share/locale/lv/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  442. data/vendor/local/share/locale/mai/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  443. data/vendor/local/share/locale/mg/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  444. data/vendor/local/share/locale/mk/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  445. data/vendor/local/share/locale/ml/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  446. data/vendor/local/share/locale/mn/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  447. data/vendor/local/share/locale/mr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  448. data/vendor/local/share/locale/ms/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  449. data/vendor/local/share/locale/nb/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  450. data/vendor/local/share/locale/ne/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  451. data/vendor/local/share/locale/nl/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  452. data/vendor/local/share/locale/nn/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  453. data/vendor/local/share/locale/oc/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  454. data/vendor/local/share/locale/or/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  455. data/vendor/local/share/locale/pa/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  456. data/vendor/local/share/locale/pl/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  457. data/vendor/local/share/locale/pt/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  458. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  459. data/vendor/local/share/locale/ro/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  460. data/vendor/local/share/locale/ru/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  461. data/vendor/local/share/locale/rw/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  462. data/vendor/local/share/locale/si/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  463. data/vendor/local/share/locale/sk/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  464. data/vendor/local/share/locale/sl/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  465. data/vendor/local/share/locale/sq/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  466. data/vendor/local/share/locale/sr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  467. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  468. data/vendor/local/share/locale/sv/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  469. data/vendor/local/share/locale/ta/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  470. data/vendor/local/share/locale/te/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  471. data/vendor/local/share/locale/th/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  472. data/vendor/local/share/locale/tr/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  473. data/vendor/local/share/locale/uk/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  474. data/vendor/local/share/locale/vi/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  475. data/vendor/local/share/locale/xh/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  476. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  477. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  478. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtksourceview-2.0.mo +0 -0
  479. data/vendor/local/share/man/man1/xml2-config.1 +31 -0
  480. data/vendor/local/share/man/man1/xmlcatalog.1 +229 -0
  481. data/vendor/local/share/man/man1/xmllint.1 +427 -0
  482. data/vendor/local/share/man/man3/libxml.3 +71 -0
  483. data/vendor/local/src/tml/packaging/libxml2_2.7.7-1_win32.log +1244 -0
  484. data/vendor/local/src/tml/packaging/libxml2_2.7.7-1_win32.sh +66 -0
  485. metadata +567 -0
@@ -0,0 +1,611 @@
1
+ /*
2
+ * Summary: internals routines exported by the parser.
3
+ * Description: this module exports a number of internal parsing routines
4
+ * they are not really all intended for applications but
5
+ * can prove useful doing low level processing.
6
+ *
7
+ * Copy: See Copyright for the status of this software.
8
+ *
9
+ * Author: Daniel Veillard
10
+ */
11
+
12
+ #ifndef __XML_PARSER_INTERNALS_H__
13
+ #define __XML_PARSER_INTERNALS_H__
14
+
15
+ #include <libxml/xmlversion.h>
16
+ #include <libxml/parser.h>
17
+ #include <libxml/HTMLparser.h>
18
+ #include <libxml/chvalid.h>
19
+
20
+ #ifdef __cplusplus
21
+ extern "C" {
22
+ #endif
23
+
24
+ /**
25
+ * xmlParserMaxDepth:
26
+ *
27
+ * arbitrary depth limit for the XML documents that we allow to
28
+ * process. This is not a limitation of the parser but a safety
29
+ * boundary feature, use XML_PARSE_HUGE option to override it.
30
+ */
31
+ XMLPUBVAR unsigned int xmlParserMaxDepth;
32
+
33
+ /**
34
+ * XML_MAX_TEXT_LENGTH:
35
+ *
36
+ * Maximum size allowed for a single text node when building a tree.
37
+ * This is not a limitation of the parser but a safety boundary feature,
38
+ * use XML_PARSE_HUGE option to override it.
39
+ */
40
+ #define XML_MAX_TEXT_LENGTH 10000000
41
+
42
+ /**
43
+ * XML_MAX_NAMELEN:
44
+ *
45
+ * Identifiers can be longer, but this will be more costly
46
+ * at runtime.
47
+ */
48
+ #define XML_MAX_NAMELEN 100
49
+
50
+ /**
51
+ * INPUT_CHUNK:
52
+ *
53
+ * The parser tries to always have that amount of input ready.
54
+ * One of the point is providing context when reporting errors.
55
+ */
56
+ #define INPUT_CHUNK 250
57
+
58
+ /************************************************************************
59
+ * *
60
+ * UNICODE version of the macros. *
61
+ * *
62
+ ************************************************************************/
63
+ /**
64
+ * IS_BYTE_CHAR:
65
+ * @c: an byte value (int)
66
+ *
67
+ * Macro to check the following production in the XML spec:
68
+ *
69
+ * [2] Char ::= #x9 | #xA | #xD | [#x20...]
70
+ * any byte character in the accepted range
71
+ */
72
+ #define IS_BYTE_CHAR(c) xmlIsChar_ch(c)
73
+
74
+ /**
75
+ * IS_CHAR:
76
+ * @c: an UNICODE value (int)
77
+ *
78
+ * Macro to check the following production in the XML spec:
79
+ *
80
+ * [2] Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD]
81
+ * | [#x10000-#x10FFFF]
82
+ * any Unicode character, excluding the surrogate blocks, FFFE, and FFFF.
83
+ */
84
+ #define IS_CHAR(c) xmlIsCharQ(c)
85
+
86
+ /**
87
+ * IS_CHAR_CH:
88
+ * @c: an xmlChar (usually an unsigned char)
89
+ *
90
+ * Behaves like IS_CHAR on single-byte value
91
+ */
92
+ #define IS_CHAR_CH(c) xmlIsChar_ch(c)
93
+
94
+ /**
95
+ * IS_BLANK:
96
+ * @c: an UNICODE value (int)
97
+ *
98
+ * Macro to check the following production in the XML spec:
99
+ *
100
+ * [3] S ::= (#x20 | #x9 | #xD | #xA)+
101
+ */
102
+ #define IS_BLANK(c) xmlIsBlankQ(c)
103
+
104
+ /**
105
+ * IS_BLANK_CH:
106
+ * @c: an xmlChar value (normally unsigned char)
107
+ *
108
+ * Behaviour same as IS_BLANK
109
+ */
110
+ #define IS_BLANK_CH(c) xmlIsBlank_ch(c)
111
+
112
+ /**
113
+ * IS_BASECHAR:
114
+ * @c: an UNICODE value (int)
115
+ *
116
+ * Macro to check the following production in the XML spec:
117
+ *
118
+ * [85] BaseChar ::= ... long list see REC ...
119
+ */
120
+ #define IS_BASECHAR(c) xmlIsBaseCharQ(c)
121
+
122
+ /**
123
+ * IS_DIGIT:
124
+ * @c: an UNICODE value (int)
125
+ *
126
+ * Macro to check the following production in the XML spec:
127
+ *
128
+ * [88] Digit ::= ... long list see REC ...
129
+ */
130
+ #define IS_DIGIT(c) xmlIsDigitQ(c)
131
+
132
+ /**
133
+ * IS_DIGIT_CH:
134
+ * @c: an xmlChar value (usually an unsigned char)
135
+ *
136
+ * Behaves like IS_DIGIT but with a single byte argument
137
+ */
138
+ #define IS_DIGIT_CH(c) xmlIsDigit_ch(c)
139
+
140
+ /**
141
+ * IS_COMBINING:
142
+ * @c: an UNICODE value (int)
143
+ *
144
+ * Macro to check the following production in the XML spec:
145
+ *
146
+ * [87] CombiningChar ::= ... long list see REC ...
147
+ */
148
+ #define IS_COMBINING(c) xmlIsCombiningQ(c)
149
+
150
+ /**
151
+ * IS_COMBINING_CH:
152
+ * @c: an xmlChar (usually an unsigned char)
153
+ *
154
+ * Always false (all combining chars > 0xff)
155
+ */
156
+ #define IS_COMBINING_CH(c) 0
157
+
158
+ /**
159
+ * IS_EXTENDER:
160
+ * @c: an UNICODE value (int)
161
+ *
162
+ * Macro to check the following production in the XML spec:
163
+ *
164
+ *
165
+ * [89] Extender ::= #x00B7 | #x02D0 | #x02D1 | #x0387 | #x0640 |
166
+ * #x0E46 | #x0EC6 | #x3005 | [#x3031-#x3035] |
167
+ * [#x309D-#x309E] | [#x30FC-#x30FE]
168
+ */
169
+ #define IS_EXTENDER(c) xmlIsExtenderQ(c)
170
+
171
+ /**
172
+ * IS_EXTENDER_CH:
173
+ * @c: an xmlChar value (usually an unsigned char)
174
+ *
175
+ * Behaves like IS_EXTENDER but with a single-byte argument
176
+ */
177
+ #define IS_EXTENDER_CH(c) xmlIsExtender_ch(c)
178
+
179
+ /**
180
+ * IS_IDEOGRAPHIC:
181
+ * @c: an UNICODE value (int)
182
+ *
183
+ * Macro to check the following production in the XML spec:
184
+ *
185
+ *
186
+ * [86] Ideographic ::= [#x4E00-#x9FA5] | #x3007 | [#x3021-#x3029]
187
+ */
188
+ #define IS_IDEOGRAPHIC(c) xmlIsIdeographicQ(c)
189
+
190
+ /**
191
+ * IS_LETTER:
192
+ * @c: an UNICODE value (int)
193
+ *
194
+ * Macro to check the following production in the XML spec:
195
+ *
196
+ *
197
+ * [84] Letter ::= BaseChar | Ideographic
198
+ */
199
+ #define IS_LETTER(c) (IS_BASECHAR(c) || IS_IDEOGRAPHIC(c))
200
+
201
+ /**
202
+ * IS_LETTER_CH:
203
+ * @c: an xmlChar value (normally unsigned char)
204
+ *
205
+ * Macro behaves like IS_LETTER, but only check base chars
206
+ *
207
+ */
208
+ #define IS_LETTER_CH(c) xmlIsBaseChar_ch(c)
209
+
210
+ /**
211
+ * IS_ASCII_LETTER:
212
+ * @c: an xmlChar value
213
+ *
214
+ * Macro to check [a-zA-Z]
215
+ *
216
+ */
217
+ #define IS_ASCII_LETTER(c) (((0x41 <= (c)) && ((c) <= 0x5a)) || \
218
+ ((0x61 <= (c)) && ((c) <= 0x7a)))
219
+
220
+ /**
221
+ * IS_ASCII_DIGIT:
222
+ * @c: an xmlChar value
223
+ *
224
+ * Macro to check [0-9]
225
+ *
226
+ */
227
+ #define IS_ASCII_DIGIT(c) ((0x30 <= (c)) && ((c) <= 0x39))
228
+
229
+ /**
230
+ * IS_PUBIDCHAR:
231
+ * @c: an UNICODE value (int)
232
+ *
233
+ * Macro to check the following production in the XML spec:
234
+ *
235
+ *
236
+ * [13] PubidChar ::= #x20 | #xD | #xA | [a-zA-Z0-9] | [-'()+,./:=?;!*#@$_%]
237
+ */
238
+ #define IS_PUBIDCHAR(c) xmlIsPubidCharQ(c)
239
+
240
+ /**
241
+ * IS_PUBIDCHAR_CH:
242
+ * @c: an xmlChar value (normally unsigned char)
243
+ *
244
+ * Same as IS_PUBIDCHAR but for single-byte value
245
+ */
246
+ #define IS_PUBIDCHAR_CH(c) xmlIsPubidChar_ch(c)
247
+
248
+ /**
249
+ * SKIP_EOL:
250
+ * @p: and UTF8 string pointer
251
+ *
252
+ * Skips the end of line chars.
253
+ */
254
+ #define SKIP_EOL(p) \
255
+ if (*(p) == 0x13) { p++ ; if (*(p) == 0x10) p++; } \
256
+ if (*(p) == 0x10) { p++ ; if (*(p) == 0x13) p++; }
257
+
258
+ /**
259
+ * MOVETO_ENDTAG:
260
+ * @p: and UTF8 string pointer
261
+ *
262
+ * Skips to the next '>' char.
263
+ */
264
+ #define MOVETO_ENDTAG(p) \
265
+ while ((*p) && (*(p) != '>')) (p)++
266
+
267
+ /**
268
+ * MOVETO_STARTTAG:
269
+ * @p: and UTF8 string pointer
270
+ *
271
+ * Skips to the next '<' char.
272
+ */
273
+ #define MOVETO_STARTTAG(p) \
274
+ while ((*p) && (*(p) != '<')) (p)++
275
+
276
+ /**
277
+ * Global variables used for predefined strings.
278
+ */
279
+ XMLPUBVAR const xmlChar xmlStringText[];
280
+ XMLPUBVAR const xmlChar xmlStringTextNoenc[];
281
+ XMLPUBVAR const xmlChar xmlStringComment[];
282
+
283
+ /*
284
+ * Function to finish the work of the macros where needed.
285
+ */
286
+ XMLPUBFUN int XMLCALL xmlIsLetter (int c);
287
+
288
+ /**
289
+ * Parser context.
290
+ */
291
+ XMLPUBFUN xmlParserCtxtPtr XMLCALL
292
+ xmlCreateFileParserCtxt (const char *filename);
293
+ XMLPUBFUN xmlParserCtxtPtr XMLCALL
294
+ xmlCreateURLParserCtxt (const char *filename,
295
+ int options);
296
+ XMLPUBFUN xmlParserCtxtPtr XMLCALL
297
+ xmlCreateMemoryParserCtxt(const char *buffer,
298
+ int size);
299
+ XMLPUBFUN xmlParserCtxtPtr XMLCALL
300
+ xmlCreateEntityParserCtxt(const xmlChar *URL,
301
+ const xmlChar *ID,
302
+ const xmlChar *base);
303
+ XMLPUBFUN int XMLCALL
304
+ xmlSwitchEncoding (xmlParserCtxtPtr ctxt,
305
+ xmlCharEncoding enc);
306
+ XMLPUBFUN int XMLCALL
307
+ xmlSwitchToEncoding (xmlParserCtxtPtr ctxt,
308
+ xmlCharEncodingHandlerPtr handler);
309
+ XMLPUBFUN int XMLCALL
310
+ xmlSwitchInputEncoding (xmlParserCtxtPtr ctxt,
311
+ xmlParserInputPtr input,
312
+ xmlCharEncodingHandlerPtr handler);
313
+
314
+ #ifdef IN_LIBXML
315
+ /* internal error reporting */
316
+ XMLPUBFUN void XMLCALL
317
+ __xmlErrEncoding (xmlParserCtxtPtr ctxt,
318
+ xmlParserErrors xmlerr,
319
+ const char *msg,
320
+ const xmlChar * str1,
321
+ const xmlChar * str2);
322
+ #endif
323
+
324
+ /**
325
+ * Input Streams.
326
+ */
327
+ XMLPUBFUN xmlParserInputPtr XMLCALL
328
+ xmlNewStringInputStream (xmlParserCtxtPtr ctxt,
329
+ const xmlChar *buffer);
330
+ XMLPUBFUN xmlParserInputPtr XMLCALL
331
+ xmlNewEntityInputStream (xmlParserCtxtPtr ctxt,
332
+ xmlEntityPtr entity);
333
+ XMLPUBFUN int XMLCALL
334
+ xmlPushInput (xmlParserCtxtPtr ctxt,
335
+ xmlParserInputPtr input);
336
+ XMLPUBFUN xmlChar XMLCALL
337
+ xmlPopInput (xmlParserCtxtPtr ctxt);
338
+ XMLPUBFUN void XMLCALL
339
+ xmlFreeInputStream (xmlParserInputPtr input);
340
+ XMLPUBFUN xmlParserInputPtr XMLCALL
341
+ xmlNewInputFromFile (xmlParserCtxtPtr ctxt,
342
+ const char *filename);
343
+ XMLPUBFUN xmlParserInputPtr XMLCALL
344
+ xmlNewInputStream (xmlParserCtxtPtr ctxt);
345
+
346
+ /**
347
+ * Namespaces.
348
+ */
349
+ XMLPUBFUN xmlChar * XMLCALL
350
+ xmlSplitQName (xmlParserCtxtPtr ctxt,
351
+ const xmlChar *name,
352
+ xmlChar **prefix);
353
+
354
+ /**
355
+ * Generic production rules.
356
+ */
357
+ XMLPUBFUN const xmlChar * XMLCALL
358
+ xmlParseName (xmlParserCtxtPtr ctxt);
359
+ XMLPUBFUN xmlChar * XMLCALL
360
+ xmlParseNmtoken (xmlParserCtxtPtr ctxt);
361
+ XMLPUBFUN xmlChar * XMLCALL
362
+ xmlParseEntityValue (xmlParserCtxtPtr ctxt,
363
+ xmlChar **orig);
364
+ XMLPUBFUN xmlChar * XMLCALL
365
+ xmlParseAttValue (xmlParserCtxtPtr ctxt);
366
+ XMLPUBFUN xmlChar * XMLCALL
367
+ xmlParseSystemLiteral (xmlParserCtxtPtr ctxt);
368
+ XMLPUBFUN xmlChar * XMLCALL
369
+ xmlParsePubidLiteral (xmlParserCtxtPtr ctxt);
370
+ XMLPUBFUN void XMLCALL
371
+ xmlParseCharData (xmlParserCtxtPtr ctxt,
372
+ int cdata);
373
+ XMLPUBFUN xmlChar * XMLCALL
374
+ xmlParseExternalID (xmlParserCtxtPtr ctxt,
375
+ xmlChar **publicID,
376
+ int strict);
377
+ XMLPUBFUN void XMLCALL
378
+ xmlParseComment (xmlParserCtxtPtr ctxt);
379
+ XMLPUBFUN const xmlChar * XMLCALL
380
+ xmlParsePITarget (xmlParserCtxtPtr ctxt);
381
+ XMLPUBFUN void XMLCALL
382
+ xmlParsePI (xmlParserCtxtPtr ctxt);
383
+ XMLPUBFUN void XMLCALL
384
+ xmlParseNotationDecl (xmlParserCtxtPtr ctxt);
385
+ XMLPUBFUN void XMLCALL
386
+ xmlParseEntityDecl (xmlParserCtxtPtr ctxt);
387
+ XMLPUBFUN int XMLCALL
388
+ xmlParseDefaultDecl (xmlParserCtxtPtr ctxt,
389
+ xmlChar **value);
390
+ XMLPUBFUN xmlEnumerationPtr XMLCALL
391
+ xmlParseNotationType (xmlParserCtxtPtr ctxt);
392
+ XMLPUBFUN xmlEnumerationPtr XMLCALL
393
+ xmlParseEnumerationType (xmlParserCtxtPtr ctxt);
394
+ XMLPUBFUN int XMLCALL
395
+ xmlParseEnumeratedType (xmlParserCtxtPtr ctxt,
396
+ xmlEnumerationPtr *tree);
397
+ XMLPUBFUN int XMLCALL
398
+ xmlParseAttributeType (xmlParserCtxtPtr ctxt,
399
+ xmlEnumerationPtr *tree);
400
+ XMLPUBFUN void XMLCALL
401
+ xmlParseAttributeListDecl(xmlParserCtxtPtr ctxt);
402
+ XMLPUBFUN xmlElementContentPtr XMLCALL
403
+ xmlParseElementMixedContentDecl
404
+ (xmlParserCtxtPtr ctxt,
405
+ int inputchk);
406
+ XMLPUBFUN xmlElementContentPtr XMLCALL
407
+ xmlParseElementChildrenContentDecl
408
+ (xmlParserCtxtPtr ctxt,
409
+ int inputchk);
410
+ XMLPUBFUN int XMLCALL
411
+ xmlParseElementContentDecl(xmlParserCtxtPtr ctxt,
412
+ const xmlChar *name,
413
+ xmlElementContentPtr *result);
414
+ XMLPUBFUN int XMLCALL
415
+ xmlParseElementDecl (xmlParserCtxtPtr ctxt);
416
+ XMLPUBFUN void XMLCALL
417
+ xmlParseMarkupDecl (xmlParserCtxtPtr ctxt);
418
+ XMLPUBFUN int XMLCALL
419
+ xmlParseCharRef (xmlParserCtxtPtr ctxt);
420
+ XMLPUBFUN xmlEntityPtr XMLCALL
421
+ xmlParseEntityRef (xmlParserCtxtPtr ctxt);
422
+ XMLPUBFUN void XMLCALL
423
+ xmlParseReference (xmlParserCtxtPtr ctxt);
424
+ XMLPUBFUN void XMLCALL
425
+ xmlParsePEReference (xmlParserCtxtPtr ctxt);
426
+ XMLPUBFUN void XMLCALL
427
+ xmlParseDocTypeDecl (xmlParserCtxtPtr ctxt);
428
+ #ifdef LIBXML_SAX1_ENABLED
429
+ XMLPUBFUN const xmlChar * XMLCALL
430
+ xmlParseAttribute (xmlParserCtxtPtr ctxt,
431
+ xmlChar **value);
432
+ XMLPUBFUN const xmlChar * XMLCALL
433
+ xmlParseStartTag (xmlParserCtxtPtr ctxt);
434
+ XMLPUBFUN void XMLCALL
435
+ xmlParseEndTag (xmlParserCtxtPtr ctxt);
436
+ #endif /* LIBXML_SAX1_ENABLED */
437
+ XMLPUBFUN void XMLCALL
438
+ xmlParseCDSect (xmlParserCtxtPtr ctxt);
439
+ XMLPUBFUN void XMLCALL
440
+ xmlParseContent (xmlParserCtxtPtr ctxt);
441
+ XMLPUBFUN void XMLCALL
442
+ xmlParseElement (xmlParserCtxtPtr ctxt);
443
+ XMLPUBFUN xmlChar * XMLCALL
444
+ xmlParseVersionNum (xmlParserCtxtPtr ctxt);
445
+ XMLPUBFUN xmlChar * XMLCALL
446
+ xmlParseVersionInfo (xmlParserCtxtPtr ctxt);
447
+ XMLPUBFUN xmlChar * XMLCALL
448
+ xmlParseEncName (xmlParserCtxtPtr ctxt);
449
+ XMLPUBFUN const xmlChar * XMLCALL
450
+ xmlParseEncodingDecl (xmlParserCtxtPtr ctxt);
451
+ XMLPUBFUN int XMLCALL
452
+ xmlParseSDDecl (xmlParserCtxtPtr ctxt);
453
+ XMLPUBFUN void XMLCALL
454
+ xmlParseXMLDecl (xmlParserCtxtPtr ctxt);
455
+ XMLPUBFUN void XMLCALL
456
+ xmlParseTextDecl (xmlParserCtxtPtr ctxt);
457
+ XMLPUBFUN void XMLCALL
458
+ xmlParseMisc (xmlParserCtxtPtr ctxt);
459
+ XMLPUBFUN void XMLCALL
460
+ xmlParseExternalSubset (xmlParserCtxtPtr ctxt,
461
+ const xmlChar *ExternalID,
462
+ const xmlChar *SystemID);
463
+ /**
464
+ * XML_SUBSTITUTE_NONE:
465
+ *
466
+ * If no entities need to be substituted.
467
+ */
468
+ #define XML_SUBSTITUTE_NONE 0
469
+ /**
470
+ * XML_SUBSTITUTE_REF:
471
+ *
472
+ * Whether general entities need to be substituted.
473
+ */
474
+ #define XML_SUBSTITUTE_REF 1
475
+ /**
476
+ * XML_SUBSTITUTE_PEREF:
477
+ *
478
+ * Whether parameter entities need to be substituted.
479
+ */
480
+ #define XML_SUBSTITUTE_PEREF 2
481
+ /**
482
+ * XML_SUBSTITUTE_BOTH:
483
+ *
484
+ * Both general and parameter entities need to be substituted.
485
+ */
486
+ #define XML_SUBSTITUTE_BOTH 3
487
+
488
+ XMLPUBFUN xmlChar * XMLCALL
489
+ xmlStringDecodeEntities (xmlParserCtxtPtr ctxt,
490
+ const xmlChar *str,
491
+ int what,
492
+ xmlChar end,
493
+ xmlChar end2,
494
+ xmlChar end3);
495
+ XMLPUBFUN xmlChar * XMLCALL
496
+ xmlStringLenDecodeEntities (xmlParserCtxtPtr ctxt,
497
+ const xmlChar *str,
498
+ int len,
499
+ int what,
500
+ xmlChar end,
501
+ xmlChar end2,
502
+ xmlChar end3);
503
+
504
+ /*
505
+ * Generated by MACROS on top of parser.c c.f. PUSH_AND_POP.
506
+ */
507
+ XMLPUBFUN int XMLCALL nodePush (xmlParserCtxtPtr ctxt,
508
+ xmlNodePtr value);
509
+ XMLPUBFUN xmlNodePtr XMLCALL nodePop (xmlParserCtxtPtr ctxt);
510
+ XMLPUBFUN int XMLCALL inputPush (xmlParserCtxtPtr ctxt,
511
+ xmlParserInputPtr value);
512
+ XMLPUBFUN xmlParserInputPtr XMLCALL inputPop (xmlParserCtxtPtr ctxt);
513
+ XMLPUBFUN const xmlChar * XMLCALL namePop (xmlParserCtxtPtr ctxt);
514
+ XMLPUBFUN int XMLCALL namePush (xmlParserCtxtPtr ctxt,
515
+ const xmlChar *value);
516
+
517
+ /*
518
+ * other commodities shared between parser.c and parserInternals.
519
+ */
520
+ XMLPUBFUN int XMLCALL xmlSkipBlankChars (xmlParserCtxtPtr ctxt);
521
+ XMLPUBFUN int XMLCALL xmlStringCurrentChar (xmlParserCtxtPtr ctxt,
522
+ const xmlChar *cur,
523
+ int *len);
524
+ XMLPUBFUN void XMLCALL xmlParserHandlePEReference(xmlParserCtxtPtr ctxt);
525
+ XMLPUBFUN int XMLCALL xmlCheckLanguageID (const xmlChar *lang);
526
+
527
+ /*
528
+ * Really core function shared with HTML parser.
529
+ */
530
+ XMLPUBFUN int XMLCALL xmlCurrentChar (xmlParserCtxtPtr ctxt,
531
+ int *len);
532
+ XMLPUBFUN int XMLCALL xmlCopyCharMultiByte (xmlChar *out,
533
+ int val);
534
+ XMLPUBFUN int XMLCALL xmlCopyChar (int len,
535
+ xmlChar *out,
536
+ int val);
537
+ XMLPUBFUN void XMLCALL xmlNextChar (xmlParserCtxtPtr ctxt);
538
+ XMLPUBFUN void XMLCALL xmlParserInputShrink (xmlParserInputPtr in);
539
+
540
+ #ifdef LIBXML_HTML_ENABLED
541
+ /*
542
+ * Actually comes from the HTML parser but launched from the init stuff.
543
+ */
544
+ XMLPUBFUN void XMLCALL htmlInitAutoClose (void);
545
+ XMLPUBFUN htmlParserCtxtPtr XMLCALL htmlCreateFileParserCtxt(const char *filename,
546
+ const char *encoding);
547
+ #endif
548
+
549
+ /*
550
+ * Specific function to keep track of entities references
551
+ * and used by the XSLT debugger.
552
+ */
553
+ #ifdef LIBXML_LEGACY_ENABLED
554
+ /**
555
+ * xmlEntityReferenceFunc:
556
+ * @ent: the entity
557
+ * @firstNode: the fist node in the chunk
558
+ * @lastNode: the last nod in the chunk
559
+ *
560
+ * Callback function used when one needs to be able to track back the
561
+ * provenance of a chunk of nodes inherited from an entity replacement.
562
+ */
563
+ typedef void (*xmlEntityReferenceFunc) (xmlEntityPtr ent,
564
+ xmlNodePtr firstNode,
565
+ xmlNodePtr lastNode);
566
+
567
+ XMLPUBFUN void XMLCALL xmlSetEntityReferenceFunc (xmlEntityReferenceFunc func);
568
+
569
+ XMLPUBFUN xmlChar * XMLCALL
570
+ xmlParseQuotedString (xmlParserCtxtPtr ctxt);
571
+ XMLPUBFUN void XMLCALL
572
+ xmlParseNamespace (xmlParserCtxtPtr ctxt);
573
+ XMLPUBFUN xmlChar * XMLCALL
574
+ xmlNamespaceParseNSDef (xmlParserCtxtPtr ctxt);
575
+ XMLPUBFUN xmlChar * XMLCALL
576
+ xmlScanName (xmlParserCtxtPtr ctxt);
577
+ XMLPUBFUN xmlChar * XMLCALL
578
+ xmlNamespaceParseNCName (xmlParserCtxtPtr ctxt);
579
+ XMLPUBFUN void XMLCALL xmlParserHandleReference(xmlParserCtxtPtr ctxt);
580
+ XMLPUBFUN xmlChar * XMLCALL
581
+ xmlNamespaceParseQName (xmlParserCtxtPtr ctxt,
582
+ xmlChar **prefix);
583
+ /**
584
+ * Entities
585
+ */
586
+ XMLPUBFUN xmlChar * XMLCALL
587
+ xmlDecodeEntities (xmlParserCtxtPtr ctxt,
588
+ int len,
589
+ int what,
590
+ xmlChar end,
591
+ xmlChar end2,
592
+ xmlChar end3);
593
+ XMLPUBFUN void XMLCALL
594
+ xmlHandleEntity (xmlParserCtxtPtr ctxt,
595
+ xmlEntityPtr entity);
596
+
597
+ #endif /* LIBXML_LEGACY_ENABLED */
598
+
599
+ #ifdef IN_LIBXML
600
+ /*
601
+ * internal only
602
+ */
603
+ XMLPUBFUN void XMLCALL
604
+ xmlErrMemory (xmlParserCtxtPtr ctxt,
605
+ const char *extra);
606
+ #endif
607
+
608
+ #ifdef __cplusplus
609
+ }
610
+ #endif
611
+ #endif /* __XML_PARSER_INTERNALS_H__ */
@@ -0,0 +1,100 @@
1
+ /*
2
+ * Summary: pattern expression handling
3
+ * Description: allows to compile and test pattern expressions for nodes
4
+ * either in a tree or based on a parser state.
5
+ *
6
+ * Copy: See Copyright for the status of this software.
7
+ *
8
+ * Author: Daniel Veillard
9
+ */
10
+
11
+ #ifndef __XML_PATTERN_H__
12
+ #define __XML_PATTERN_H__
13
+
14
+ #include <libxml/xmlversion.h>
15
+ #include <libxml/tree.h>
16
+ #include <libxml/dict.h>
17
+
18
+ #ifdef LIBXML_PATTERN_ENABLED
19
+
20
+ #ifdef __cplusplus
21
+ extern "C" {
22
+ #endif
23
+
24
+ /**
25
+ * xmlPattern:
26
+ *
27
+ * A compiled (XPath based) pattern to select nodes
28
+ */
29
+ typedef struct _xmlPattern xmlPattern;
30
+ typedef xmlPattern *xmlPatternPtr;
31
+
32
+ /**
33
+ * xmlPatternFlags:
34
+ *
35
+ * This is the set of options affecting the behaviour of pattern
36
+ * matching with this module
37
+ *
38
+ */
39
+ typedef enum {
40
+ XML_PATTERN_DEFAULT = 0, /* simple pattern match */
41
+ XML_PATTERN_XPATH = 1<<0, /* standard XPath pattern */
42
+ XML_PATTERN_XSSEL = 1<<1, /* XPath subset for schema selector */
43
+ XML_PATTERN_XSFIELD = 1<<2 /* XPath subset for schema field */
44
+ } xmlPatternFlags;
45
+
46
+ XMLPUBFUN void XMLCALL
47
+ xmlFreePattern (xmlPatternPtr comp);
48
+
49
+ XMLPUBFUN void XMLCALL
50
+ xmlFreePatternList (xmlPatternPtr comp);
51
+
52
+ XMLPUBFUN xmlPatternPtr XMLCALL
53
+ xmlPatterncompile (const xmlChar *pattern,
54
+ xmlDict *dict,
55
+ int flags,
56
+ const xmlChar **namespaces);
57
+ XMLPUBFUN int XMLCALL
58
+ xmlPatternMatch (xmlPatternPtr comp,
59
+ xmlNodePtr node);
60
+
61
+ /* streaming interfaces */
62
+ typedef struct _xmlStreamCtxt xmlStreamCtxt;
63
+ typedef xmlStreamCtxt *xmlStreamCtxtPtr;
64
+
65
+ XMLPUBFUN int XMLCALL
66
+ xmlPatternStreamable (xmlPatternPtr comp);
67
+ XMLPUBFUN int XMLCALL
68
+ xmlPatternMaxDepth (xmlPatternPtr comp);
69
+ XMLPUBFUN int XMLCALL
70
+ xmlPatternMinDepth (xmlPatternPtr comp);
71
+ XMLPUBFUN int XMLCALL
72
+ xmlPatternFromRoot (xmlPatternPtr comp);
73
+ XMLPUBFUN xmlStreamCtxtPtr XMLCALL
74
+ xmlPatternGetStreamCtxt (xmlPatternPtr comp);
75
+ XMLPUBFUN void XMLCALL
76
+ xmlFreeStreamCtxt (xmlStreamCtxtPtr stream);
77
+ XMLPUBFUN int XMLCALL
78
+ xmlStreamPushNode (xmlStreamCtxtPtr stream,
79
+ const xmlChar *name,
80
+ const xmlChar *ns,
81
+ int nodeType);
82
+ XMLPUBFUN int XMLCALL
83
+ xmlStreamPush (xmlStreamCtxtPtr stream,
84
+ const xmlChar *name,
85
+ const xmlChar *ns);
86
+ XMLPUBFUN int XMLCALL
87
+ xmlStreamPushAttr (xmlStreamCtxtPtr stream,
88
+ const xmlChar *name,
89
+ const xmlChar *ns);
90
+ XMLPUBFUN int XMLCALL
91
+ xmlStreamPop (xmlStreamCtxtPtr stream);
92
+ XMLPUBFUN int XMLCALL
93
+ xmlStreamWantsAnyNode (xmlStreamCtxtPtr stream);
94
+ #ifdef __cplusplus
95
+ }
96
+ #endif
97
+
98
+ #endif /* LIBXML_PATTERN_ENABLED */
99
+
100
+ #endif /* __XML_PATTERN_H__ */