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,166 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
5
+ <title>pattern: pattern expression handling</title>
6
+ <meta name="generator" content="Libxml2 devhelp stylesheet"/>
7
+ <link rel="start" href="index.html" title="libxml2 Reference Manual"/>
8
+ <link rel="up" href="general.html" title="API"/>
9
+ <link rel="stylesheet" href="style.css" type="text/css"/>
10
+ <link rel="chapter" href="general.html" title="API"/>
11
+ </head>
12
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13
+ <table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
14
+ <tr valign="middle">
15
+ <td>
16
+ <a accesskey="p" href="libxml2-parserInternals.html">
17
+ <img src="left.png" width="24" height="24" border="0" alt="Prev"/>
18
+ </a>
19
+ </td>
20
+ <td>
21
+ <a accesskey="u" href="general.html">
22
+ <img src="up.png" width="24" height="24" border="0" alt="Up"/>
23
+ </a>
24
+ </td>
25
+ <td>
26
+ <a accesskey="h" href="index.html">
27
+ <img src="home.png" width="24" height="24" border="0" alt="Home"/>
28
+ </a>
29
+ </td>
30
+ <td>
31
+ <a accesskey="n" href="libxml2-relaxng.html">
32
+ <img src="right.png" width="24" height="24" border="0" alt="Next"/>
33
+ </a>
34
+ </td>
35
+ <th width="100%" align="center">libxml2 Reference Manual</th>
36
+ </tr>
37
+ </table>
38
+ <h2>
39
+ <span class="refentrytitle">pattern</span>
40
+ </h2>
41
+ <p>pattern - pattern expression handling</p>
42
+ <p>allows to compile and test pattern expressions for nodes either in a tree or based on a parser state. </p>
43
+ <p>Author(s): Daniel Veillard </p>
44
+ <div class="refsynopsisdiv">
45
+ <h2>Synopsis</h2>
46
+ <pre class="synopsis">typedef <a href="libxml2-pattern.html#xmlStreamCtxt">xmlStreamCtxt</a> * <a href="#xmlStreamCtxtPtr">xmlStreamCtxtPtr</a>;
47
+ typedef enum <a href="#xmlPatternFlags">xmlPatternFlags</a>;
48
+ typedef struct _xmlStreamCtxt <a href="#xmlStreamCtxt">xmlStreamCtxt</a>;
49
+ typedef struct _xmlPattern <a href="#xmlPattern">xmlPattern</a>;
50
+ typedef <a href="libxml2-pattern.html#xmlPattern">xmlPattern</a> * <a href="#xmlPatternPtr">xmlPatternPtr</a>;
51
+ int <a href="#xmlPatternMinDepth">xmlPatternMinDepth</a> (<a href="libxml2-pattern.html#xmlPatternPtr">xmlPatternPtr</a> comp);
52
+ <a href="libxml2-pattern.html#xmlStreamCtxtPtr">xmlStreamCtxtPtr</a> <a href="#xmlPatternGetStreamCtxt">xmlPatternGetStreamCtxt</a> (<a href="libxml2-pattern.html#xmlPatternPtr">xmlPatternPtr</a> comp);
53
+ int <a href="#xmlPatternFromRoot">xmlPatternFromRoot</a> (<a href="libxml2-pattern.html#xmlPatternPtr">xmlPatternPtr</a> comp);
54
+ void <a href="#xmlFreePatternList">xmlFreePatternList</a> (<a href="libxml2-pattern.html#xmlPatternPtr">xmlPatternPtr</a> comp);
55
+ int <a href="#xmlPatternStreamable">xmlPatternStreamable</a> (<a href="libxml2-pattern.html#xmlPatternPtr">xmlPatternPtr</a> comp);
56
+ int <a href="#xmlStreamPushAttr">xmlStreamPushAttr</a> (<a href="libxml2-pattern.html#xmlStreamCtxtPtr">xmlStreamCtxtPtr</a> stream, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns);
57
+ int <a href="#xmlPatternMatch">xmlPatternMatch</a> (<a href="libxml2-pattern.html#xmlPatternPtr">xmlPatternPtr</a> comp, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node);
58
+ int <a href="#xmlStreamWantsAnyNode">xmlStreamWantsAnyNode</a> (<a href="libxml2-pattern.html#xmlStreamCtxtPtr">xmlStreamCtxtPtr</a> streamCtxt);
59
+ int <a href="#xmlStreamPop">xmlStreamPop</a> (<a href="libxml2-pattern.html#xmlStreamCtxtPtr">xmlStreamCtxtPtr</a> stream);
60
+ void <a href="#xmlFreePattern">xmlFreePattern</a> (<a href="libxml2-pattern.html#xmlPatternPtr">xmlPatternPtr</a> comp);
61
+ int <a href="#xmlStreamPush">xmlStreamPush</a> (<a href="libxml2-pattern.html#xmlStreamCtxtPtr">xmlStreamCtxtPtr</a> stream, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns);
62
+ int <a href="#xmlPatternMaxDepth">xmlPatternMaxDepth</a> (<a href="libxml2-pattern.html#xmlPatternPtr">xmlPatternPtr</a> comp);
63
+ <a href="libxml2-pattern.html#xmlPatternPtr">xmlPatternPtr</a> <a href="#xmlPatterncompile">xmlPatterncompile</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * pattern, <br/> <a href="libxml2-dict.html#xmlDict">xmlDict</a> * dict, <br/> int flags, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** namespaces);
64
+ int <a href="#xmlStreamPushNode">xmlStreamPushNode</a> (<a href="libxml2-pattern.html#xmlStreamCtxtPtr">xmlStreamCtxtPtr</a> stream, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns, <br/> int nodeType);
65
+ void <a href="#xmlFreeStreamCtxt">xmlFreeStreamCtxt</a> (<a href="libxml2-pattern.html#xmlStreamCtxtPtr">xmlStreamCtxtPtr</a> stream);
66
+ </pre>
67
+ </div>
68
+ <div class="refsect1" lang="en">
69
+ <h2>Description</h2>
70
+ </div>
71
+ <div class="refsect1" lang="en">
72
+ <h2>Details</h2>
73
+ <div class="refsect2" lang="en">
74
+ <div class="refsect2" lang="en"><h3><a name="xmlPattern">Structure </a>xmlPattern</h3><pre class="programlisting">struct _xmlPattern {
75
+ The content of this structure is not made public by the API.
76
+ } xmlPattern;
77
+ </pre><p/>
78
+ </div>
79
+ <hr/>
80
+ <div class="refsect2" lang="en"><h3><a name="xmlPatternFlags">Enum </a>xmlPatternFlags</h3><pre class="programlisting">enum <a href="#xmlPatternFlags">xmlPatternFlags</a> {
81
+ <a name="XML_PATTERN_DEFAULT">XML_PATTERN_DEFAULT</a> = 0 /* simple pattern match */
82
+ <a name="XML_PATTERN_XPATH">XML_PATTERN_XPATH</a> = 1 /* standard XPath pattern */
83
+ <a name="XML_PATTERN_XSSEL">XML_PATTERN_XSSEL</a> = 2 /* XPath subset for schema selector */
84
+ <a name="XML_PATTERN_XSFIELD">XML_PATTERN_XSFIELD</a> = 4 /* XPath subset for schema field */
85
+ };
86
+ </pre><p/>
87
+ </div>
88
+ <hr/>
89
+ <div class="refsect2" lang="en"><h3><a name="xmlPatternPtr">Typedef </a>xmlPatternPtr</h3><pre class="programlisting"><a href="libxml2-pattern.html#xmlPattern">xmlPattern</a> * xmlPatternPtr;
90
+ </pre><p/>
91
+ </div>
92
+ <hr/>
93
+ <div class="refsect2" lang="en"><h3><a name="xmlStreamCtxt">Structure </a>xmlStreamCtxt</h3><pre class="programlisting">struct _xmlStreamCtxt {
94
+ The content of this structure is not made public by the API.
95
+ } xmlStreamCtxt;
96
+ </pre><p/>
97
+ </div>
98
+ <hr/>
99
+ <div class="refsect2" lang="en"><h3><a name="xmlStreamCtxtPtr">Typedef </a>xmlStreamCtxtPtr</h3><pre class="programlisting"><a href="libxml2-pattern.html#xmlStreamCtxt">xmlStreamCtxt</a> * xmlStreamCtxtPtr;
100
+ </pre><p/>
101
+ </div>
102
+ <hr/>
103
+ <div class="refsect2" lang="en"><h3><a name="xmlFreePattern"/>xmlFreePattern ()</h3><pre class="programlisting">void xmlFreePattern (<a href="libxml2-pattern.html#xmlPatternPtr">xmlPatternPtr</a> comp)<br/>
104
+ </pre><p>Free up the memory allocated by @comp</p>
105
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>comp</tt></i>:</span></td><td>an XSLT comp</td></tr></tbody></table></div></div>
106
+ <hr/>
107
+ <div class="refsect2" lang="en"><h3><a name="xmlFreePatternList"/>xmlFreePatternList ()</h3><pre class="programlisting">void xmlFreePatternList (<a href="libxml2-pattern.html#xmlPatternPtr">xmlPatternPtr</a> comp)<br/>
108
+ </pre><p>Free up the memory allocated by all the elements of @comp</p>
109
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>comp</tt></i>:</span></td><td>an XSLT comp list</td></tr></tbody></table></div></div>
110
+ <hr/>
111
+ <div class="refsect2" lang="en"><h3><a name="xmlFreeStreamCtxt"/>xmlFreeStreamCtxt ()</h3><pre class="programlisting">void xmlFreeStreamCtxt (<a href="libxml2-pattern.html#xmlStreamCtxtPtr">xmlStreamCtxtPtr</a> stream)<br/>
112
+ </pre><p>Free the stream context</p>
113
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>stream</tt></i>:</span></td><td>the stream context</td></tr></tbody></table></div></div>
114
+ <hr/>
115
+ <div class="refsect2" lang="en"><h3><a name="xmlPatternFromRoot"/>xmlPatternFromRoot ()</h3><pre class="programlisting">int xmlPatternFromRoot (<a href="libxml2-pattern.html#xmlPatternPtr">xmlPatternPtr</a> comp)<br/>
116
+ </pre><p>Check if the pattern must be looked at from the root.</p>
117
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>comp</tt></i>:</span></td><td>the precompiled pattern</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if true, 0 if false and -1 in case of error</td></tr></tbody></table></div></div>
118
+ <hr/>
119
+ <div class="refsect2" lang="en"><h3><a name="xmlPatternGetStreamCtxt"/>xmlPatternGetStreamCtxt ()</h3><pre class="programlisting"><a href="libxml2-pattern.html#xmlStreamCtxtPtr">xmlStreamCtxtPtr</a> xmlPatternGetStreamCtxt (<a href="libxml2-pattern.html#xmlPatternPtr">xmlPatternPtr</a> comp)<br/>
120
+ </pre><p>Get a streaming context for that pattern Use <a href="libxml2-pattern.html#xmlFreeStreamCtxt">xmlFreeStreamCtxt</a> to free the context.</p>
121
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>comp</tt></i>:</span></td><td>the precompiled pattern</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the context or NULL in case of failure</td></tr></tbody></table></div></div>
122
+ <hr/>
123
+ <div class="refsect2" lang="en"><h3><a name="xmlPatternMatch"/>xmlPatternMatch ()</h3><pre class="programlisting">int xmlPatternMatch (<a href="libxml2-pattern.html#xmlPatternPtr">xmlPatternPtr</a> comp, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br/>
124
+ </pre><p>Test whether the node matches the pattern</p>
125
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>comp</tt></i>:</span></td><td>the precompiled pattern</td></tr><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td>a node</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if it matches, 0 if it doesn't and -1 in case of failure</td></tr></tbody></table></div></div>
126
+ <hr/>
127
+ <div class="refsect2" lang="en"><h3><a name="xmlPatternMaxDepth"/>xmlPatternMaxDepth ()</h3><pre class="programlisting">int xmlPatternMaxDepth (<a href="libxml2-pattern.html#xmlPatternPtr">xmlPatternPtr</a> comp)<br/>
128
+ </pre><p>Check the maximum depth reachable by a pattern</p>
129
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>comp</tt></i>:</span></td><td>the precompiled pattern</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-2 if no limit (using //), otherwise the depth, and -1 in case of error</td></tr></tbody></table></div></div>
130
+ <hr/>
131
+ <div class="refsect2" lang="en"><h3><a name="xmlPatternMinDepth"/>xmlPatternMinDepth ()</h3><pre class="programlisting">int xmlPatternMinDepth (<a href="libxml2-pattern.html#xmlPatternPtr">xmlPatternPtr</a> comp)<br/>
132
+ </pre><p>Check the minimum depth reachable by a pattern, 0 mean the / or . are part of the set.</p>
133
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>comp</tt></i>:</span></td><td>the precompiled pattern</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-1 in case of error otherwise the depth,</td></tr></tbody></table></div></div>
134
+ <hr/>
135
+ <div class="refsect2" lang="en"><h3><a name="xmlPatternStreamable"/>xmlPatternStreamable ()</h3><pre class="programlisting">int xmlPatternStreamable (<a href="libxml2-pattern.html#xmlPatternPtr">xmlPatternPtr</a> comp)<br/>
136
+ </pre><p>Check if the pattern is streamable i.e. xmlPatternGetStreamCtxt() should work.</p>
137
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>comp</tt></i>:</span></td><td>the precompiled pattern</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if streamable, 0 if not and -1 in case of error.</td></tr></tbody></table></div></div>
138
+ <hr/>
139
+ <div class="refsect2" lang="en"><h3><a name="xmlPatterncompile"/>xmlPatterncompile ()</h3><pre class="programlisting"><a href="libxml2-pattern.html#xmlPatternPtr">xmlPatternPtr</a> xmlPatterncompile (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * pattern, <br/> <a href="libxml2-dict.html#xmlDict">xmlDict</a> * dict, <br/> int flags, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** namespaces)<br/>
140
+ </pre><p>Compile a pattern.</p>
141
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>pattern</tt></i>:</span></td><td>the pattern to compile</td></tr><tr><td><span class="term"><i><tt>dict</tt></i>:</span></td><td>an optional dictionary for interned strings</td></tr><tr><td><span class="term"><i><tt>flags</tt></i>:</span></td><td>compilation flags, see <a href="libxml2-pattern.html#xmlPatternFlags">xmlPatternFlags</a></td></tr><tr><td><span class="term"><i><tt>namespaces</tt></i>:</span></td><td>the prefix definitions, array of [URI, prefix] or NULL</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the compiled form of the pattern or NULL in case of error</td></tr></tbody></table></div></div>
142
+ <hr/>
143
+ <div class="refsect2" lang="en"><h3><a name="xmlStreamPop"/>xmlStreamPop ()</h3><pre class="programlisting">int xmlStreamPop (<a href="libxml2-pattern.html#xmlStreamCtxtPtr">xmlStreamCtxtPtr</a> stream)<br/>
144
+ </pre><p>push one level from the stream.</p>
145
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>stream</tt></i>:</span></td><td>the stream context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-1 in case of error, 0 otherwise.</td></tr></tbody></table></div></div>
146
+ <hr/>
147
+ <div class="refsect2" lang="en"><h3><a name="xmlStreamPush"/>xmlStreamPush ()</h3><pre class="programlisting">int xmlStreamPush (<a href="libxml2-pattern.html#xmlStreamCtxtPtr">xmlStreamCtxtPtr</a> stream, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns)<br/>
148
+ </pre><p>Push new data onto the stream. NOTE: if the call xmlPatterncompile() indicated a dictionary, then strings for name and ns will be expected to come from the dictionary. Both @name and @ns being NULL means the / i.e. the root of the document. This can also act as a reset. Otherwise the function will act as if it has been given an element-node.</p>
149
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>stream</tt></i>:</span></td><td>the stream context</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the current name</td></tr><tr><td><span class="term"><i><tt>ns</tt></i>:</span></td><td>the namespace name</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-1 in case of error, 1 if the current state in the stream is a match and 0 otherwise.</td></tr></tbody></table></div></div>
150
+ <hr/>
151
+ <div class="refsect2" lang="en"><h3><a name="xmlStreamPushAttr"/>xmlStreamPushAttr ()</h3><pre class="programlisting">int xmlStreamPushAttr (<a href="libxml2-pattern.html#xmlStreamCtxtPtr">xmlStreamCtxtPtr</a> stream, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns)<br/>
152
+ </pre><p>Push new <a href="libxml2-SAX.html#attribute">attribute</a> data onto the stream. NOTE: if the call xmlPatterncompile() indicated a dictionary, then strings for name and ns will be expected to come from the dictionary. Both @name and @ns being NULL means the / i.e. the root of the document. This can also act as a reset. Otherwise the function will act as if it has been given an attribute-node.</p>
153
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>stream</tt></i>:</span></td><td>the stream context</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the current name</td></tr><tr><td><span class="term"><i><tt>ns</tt></i>:</span></td><td>the namespace name</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-1 in case of error, 1 if the current state in the stream is a match and 0 otherwise.</td></tr></tbody></table></div></div>
154
+ <hr/>
155
+ <div class="refsect2" lang="en"><h3><a name="xmlStreamPushNode"/>xmlStreamPushNode ()</h3><pre class="programlisting">int xmlStreamPushNode (<a href="libxml2-pattern.html#xmlStreamCtxtPtr">xmlStreamCtxtPtr</a> stream, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns, <br/> int nodeType)<br/>
156
+ </pre><p>Push new data onto the stream. NOTE: if the call xmlPatterncompile() indicated a dictionary, then strings for name and ns will be expected to come from the dictionary. Both @name and @ns being NULL means the / i.e. the root of the document. This can also act as a reset. Different from xmlStreamPush() this function can be fed with nodes of type: element-, attribute-, text-, cdata-section-, comment- and processing-instruction-node.</p>
157
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>stream</tt></i>:</span></td><td>the stream context</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the current name</td></tr><tr><td><span class="term"><i><tt>ns</tt></i>:</span></td><td>the namespace name</td></tr><tr><td><span class="term"><i><tt>nodeType</tt></i>:</span></td><td>the type of the node being pushed</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-1 in case of error, 1 if the current state in the stream is a match and 0 otherwise.</td></tr></tbody></table></div></div>
158
+ <hr/>
159
+ <div class="refsect2" lang="en"><h3><a name="xmlStreamWantsAnyNode"/>xmlStreamWantsAnyNode ()</h3><pre class="programlisting">int xmlStreamWantsAnyNode (<a href="libxml2-pattern.html#xmlStreamCtxtPtr">xmlStreamCtxtPtr</a> streamCtxt)<br/>
160
+ </pre><p>Query if the streaming pattern additionally needs to be fed with text-, cdata-section-, comment- and processing-instruction-nodes. If the result is 0 then only element-nodes and attribute-nodes need to be pushed.</p>
161
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>streamCtxt</tt></i>:</span></td><td>the stream context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 in case of need of nodes of the above described types, 0 otherwise. -1 on API errors.</td></tr></tbody></table></div></div>
162
+ <hr/>
163
+ </div>
164
+ </div>
165
+ </body>
166
+ </html>
@@ -0,0 +1,278 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
5
+ <title>relaxng: implementation of the Relax-NG validation</title>
6
+ <meta name="generator" content="Libxml2 devhelp stylesheet"/>
7
+ <link rel="start" href="index.html" title="libxml2 Reference Manual"/>
8
+ <link rel="up" href="general.html" title="API"/>
9
+ <link rel="stylesheet" href="style.css" type="text/css"/>
10
+ <link rel="chapter" href="general.html" title="API"/>
11
+ </head>
12
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13
+ <table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
14
+ <tr valign="middle">
15
+ <td>
16
+ <a accesskey="p" href="libxml2-pattern.html">
17
+ <img src="left.png" width="24" height="24" border="0" alt="Prev"/>
18
+ </a>
19
+ </td>
20
+ <td>
21
+ <a accesskey="u" href="general.html">
22
+ <img src="up.png" width="24" height="24" border="0" alt="Up"/>
23
+ </a>
24
+ </td>
25
+ <td>
26
+ <a accesskey="h" href="index.html">
27
+ <img src="home.png" width="24" height="24" border="0" alt="Home"/>
28
+ </a>
29
+ </td>
30
+ <td>
31
+ <a accesskey="n" href="libxml2-schemasInternals.html">
32
+ <img src="right.png" width="24" height="24" border="0" alt="Next"/>
33
+ </a>
34
+ </td>
35
+ <th width="100%" align="center">libxml2 Reference Manual</th>
36
+ </tr>
37
+ </table>
38
+ <h2>
39
+ <span class="refentrytitle">relaxng</span>
40
+ </h2>
41
+ <p>relaxng - implementation of the Relax-NG validation</p>
42
+ <p>implementation of the Relax-NG validation </p>
43
+ <p>Author(s): Daniel Veillard </p>
44
+ <div class="refsynopsisdiv">
45
+ <h2>Synopsis</h2>
46
+ <pre class="synopsis">typedef struct _xmlRelaxNG <a href="#xmlRelaxNG">xmlRelaxNG</a>;
47
+ typedef <a href="libxml2-relaxng.html#xmlRelaxNG">xmlRelaxNG</a> * <a href="#xmlRelaxNGPtr">xmlRelaxNGPtr</a>;
48
+ typedef enum <a href="#xmlRelaxNGValidErr">xmlRelaxNGValidErr</a>;
49
+ typedef struct _xmlRelaxNGParserCtxt <a href="#xmlRelaxNGParserCtxt">xmlRelaxNGParserCtxt</a>;
50
+ typedef <a href="libxml2-relaxng.html#xmlRelaxNGParserCtxt">xmlRelaxNGParserCtxt</a> * <a href="#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a>;
51
+ typedef enum <a href="#xmlRelaxNGParserFlag">xmlRelaxNGParserFlag</a>;
52
+ typedef struct _xmlRelaxNGValidCtxt <a href="#xmlRelaxNGValidCtxt">xmlRelaxNGValidCtxt</a>;
53
+ typedef <a href="libxml2-relaxng.html#xmlRelaxNGValidCtxt">xmlRelaxNGValidCtxt</a> * <a href="#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a>;
54
+ void <a href="#xmlRelaxNGFreeValidCtxt">xmlRelaxNGFreeValidCtxt</a> (<a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt);
55
+ <a href="libxml2-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> <a href="#xmlRelaxNGNewDocParserCtxt">xmlRelaxNGNewDocParserCtxt</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc);
56
+ void <a href="#xmlRelaxNGSetValidErrors">xmlRelaxNGSetValidErrors</a> (<a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGValidityErrorFunc">xmlRelaxNGValidityErrorFunc</a> err, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGValidityWarningFunc">xmlRelaxNGValidityWarningFunc</a> warn, <br/> void * ctx);
57
+ <a href="libxml2-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> <a href="#xmlRelaxNGNewParserCtxt">xmlRelaxNGNewParserCtxt</a> (const char * URL);
58
+ int <a href="#xmlRelaxNGGetParserErrors">xmlRelaxNGGetParserErrors</a> (<a href="libxml2-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGValidityErrorFunc">xmlRelaxNGValidityErrorFunc</a> * err, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGValidityWarningFunc">xmlRelaxNGValidityWarningFunc</a> * warn, <br/> void ** ctx);
59
+ int <a href="#xmlRelaxNGValidatePopElement">xmlRelaxNGValidatePopElement</a> (<a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem);
60
+ <a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> <a href="#xmlRelaxNGNewValidCtxt">xmlRelaxNGNewValidCtxt</a> (<a href="libxml2-relaxng.html#xmlRelaxNGPtr">xmlRelaxNGPtr</a> schema);
61
+ <a href="libxml2-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> <a href="#xmlRelaxNGNewMemParserCtxt">xmlRelaxNGNewMemParserCtxt</a> (const char * buffer, <br/> int size);
62
+ void <a href="#xmlRelaxNGDump">xmlRelaxNGDump</a> (FILE * output, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGPtr">xmlRelaxNGPtr</a> schema);
63
+ void <a href="#xmlRelaxNGSetParserErrors">xmlRelaxNGSetParserErrors</a> (<a href="libxml2-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGValidityErrorFunc">xmlRelaxNGValidityErrorFunc</a> err, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGValidityWarningFunc">xmlRelaxNGValidityWarningFunc</a> warn, <br/> void * ctx);
64
+ <a href="libxml2-relaxng.html#xmlRelaxNGPtr">xmlRelaxNGPtr</a> <a href="#xmlRelaxNGParse">xmlRelaxNGParse</a> (<a href="libxml2-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> ctxt);
65
+ void <a href="#xmlRelaxNGSetParserStructuredErrors">xmlRelaxNGSetParserStructuredErrors</a> (<a href="libxml2-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a> serror, <br/> void * ctx);
66
+ int <a href="#xmlRelaxNGValidateFullElement">xmlRelaxNGValidateFullElement</a> (<a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem);
67
+ typedef void <a href="#xmlRelaxNGValidityErrorFunc">xmlRelaxNGValidityErrorFunc</a> (void * ctx, <br/> const char * msg, <br/> ... ...);
68
+ int <a href="#xmlRelaxNGValidatePushElement">xmlRelaxNGValidatePushElement</a> (<a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem);
69
+ void <a href="#xmlRelaxNGFree">xmlRelaxNGFree</a> (<a href="libxml2-relaxng.html#xmlRelaxNGPtr">xmlRelaxNGPtr</a> schema);
70
+ int <a href="#xmlRelaxNGValidateDoc">xmlRelaxNGValidateDoc</a> (<a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc);
71
+ void <a href="#xmlRelaxNGSetValidStructuredErrors">xmlRelaxNGSetValidStructuredErrors</a> (<a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a> serror, <br/> void * ctx);
72
+ void <a href="#xmlRelaxNGFreeParserCtxt">xmlRelaxNGFreeParserCtxt</a> (<a href="libxml2-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> ctxt);
73
+ int <a href="#xmlRelaxNGGetValidErrors">xmlRelaxNGGetValidErrors</a> (<a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGValidityErrorFunc">xmlRelaxNGValidityErrorFunc</a> * err, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGValidityWarningFunc">xmlRelaxNGValidityWarningFunc</a> * warn, <br/> void ** ctx);
74
+ int <a href="#xmlRelaxNGInitTypes">xmlRelaxNGInitTypes</a> (void);
75
+ void <a href="#xmlRelaxNGDumpTree">xmlRelaxNGDumpTree</a> (FILE * output, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGPtr">xmlRelaxNGPtr</a> schema);
76
+ void <a href="#xmlRelaxNGCleanupTypes">xmlRelaxNGCleanupTypes</a> (void);
77
+ int <a href="#xmlRelaxNGValidatePushCData">xmlRelaxNGValidatePushCData</a> (<a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * data, <br/> int len);
78
+ int <a href="#xmlRelaxParserSetFlag">xmlRelaxParserSetFlag</a> (<a href="libxml2-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> ctxt, <br/> int flags);
79
+ typedef void <a href="#xmlRelaxNGValidityWarningFunc">xmlRelaxNGValidityWarningFunc</a> (void * ctx, <br/> const char * msg, <br/> ... ...);
80
+ </pre>
81
+ </div>
82
+ <div class="refsect1" lang="en">
83
+ <h2>Description</h2>
84
+ </div>
85
+ <div class="refsect1" lang="en">
86
+ <h2>Details</h2>
87
+ <div class="refsect2" lang="en">
88
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNG">Structure </a>xmlRelaxNG</h3><pre class="programlisting">struct _xmlRelaxNG {
89
+ The content of this structure is not made public by the API.
90
+ } xmlRelaxNG;
91
+ </pre><p/>
92
+ </div>
93
+ <hr/>
94
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGParserCtxt">Structure </a>xmlRelaxNGParserCtxt</h3><pre class="programlisting">struct _xmlRelaxNGParserCtxt {
95
+ The content of this structure is not made public by the API.
96
+ } xmlRelaxNGParserCtxt;
97
+ </pre><p/>
98
+ </div>
99
+ <hr/>
100
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGParserCtxtPtr">Typedef </a>xmlRelaxNGParserCtxtPtr</h3><pre class="programlisting"><a href="libxml2-relaxng.html#xmlRelaxNGParserCtxt">xmlRelaxNGParserCtxt</a> * xmlRelaxNGParserCtxtPtr;
101
+ </pre><p/>
102
+ </div>
103
+ <hr/>
104
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGParserFlag">Enum </a>xmlRelaxNGParserFlag</h3><pre class="programlisting">enum <a href="#xmlRelaxNGParserFlag">xmlRelaxNGParserFlag</a> {
105
+ <a name="XML_RELAXNGP_NONE">XML_RELAXNGP_NONE</a> = 0
106
+ <a name="XML_RELAXNGP_FREE_DOC">XML_RELAXNGP_FREE_DOC</a> = 1
107
+ <a name="XML_RELAXNGP_CRNG">XML_RELAXNGP_CRNG</a> = 2
108
+ };
109
+ </pre><p/>
110
+ </div>
111
+ <hr/>
112
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGPtr">Typedef </a>xmlRelaxNGPtr</h3><pre class="programlisting"><a href="libxml2-relaxng.html#xmlRelaxNG">xmlRelaxNG</a> * xmlRelaxNGPtr;
113
+ </pre><p/>
114
+ </div>
115
+ <hr/>
116
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGValidCtxt">Structure </a>xmlRelaxNGValidCtxt</h3><pre class="programlisting">struct _xmlRelaxNGValidCtxt {
117
+ The content of this structure is not made public by the API.
118
+ } xmlRelaxNGValidCtxt;
119
+ </pre><p/>
120
+ </div>
121
+ <hr/>
122
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGValidCtxtPtr">Typedef </a>xmlRelaxNGValidCtxtPtr</h3><pre class="programlisting"><a href="libxml2-relaxng.html#xmlRelaxNGValidCtxt">xmlRelaxNGValidCtxt</a> * xmlRelaxNGValidCtxtPtr;
123
+ </pre><p/>
124
+ </div>
125
+ <hr/>
126
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGValidErr">Enum </a>xmlRelaxNGValidErr</h3><pre class="programlisting">enum <a href="#xmlRelaxNGValidErr">xmlRelaxNGValidErr</a> {
127
+ <a name="XML_RELAXNG_OK">XML_RELAXNG_OK</a> = 0
128
+ <a name="XML_RELAXNG_ERR_MEMORY">XML_RELAXNG_ERR_MEMORY</a> = 1
129
+ <a name="XML_RELAXNG_ERR_TYPE">XML_RELAXNG_ERR_TYPE</a> = 2
130
+ <a name="XML_RELAXNG_ERR_TYPEVAL">XML_RELAXNG_ERR_TYPEVAL</a> = 3
131
+ <a name="XML_RELAXNG_ERR_DUPID">XML_RELAXNG_ERR_DUPID</a> = 4
132
+ <a name="XML_RELAXNG_ERR_TYPECMP">XML_RELAXNG_ERR_TYPECMP</a> = 5
133
+ <a name="XML_RELAXNG_ERR_NOSTATE">XML_RELAXNG_ERR_NOSTATE</a> = 6
134
+ <a name="XML_RELAXNG_ERR_NODEFINE">XML_RELAXNG_ERR_NODEFINE</a> = 7
135
+ <a name="XML_RELAXNG_ERR_LISTEXTRA">XML_RELAXNG_ERR_LISTEXTRA</a> = 8
136
+ <a name="XML_RELAXNG_ERR_LISTEMPTY">XML_RELAXNG_ERR_LISTEMPTY</a> = 9
137
+ <a name="XML_RELAXNG_ERR_INTERNODATA">XML_RELAXNG_ERR_INTERNODATA</a> = 10
138
+ <a name="XML_RELAXNG_ERR_INTERSEQ">XML_RELAXNG_ERR_INTERSEQ</a> = 11
139
+ <a name="XML_RELAXNG_ERR_INTEREXTRA">XML_RELAXNG_ERR_INTEREXTRA</a> = 12
140
+ <a name="XML_RELAXNG_ERR_ELEMNAME">XML_RELAXNG_ERR_ELEMNAME</a> = 13
141
+ <a name="XML_RELAXNG_ERR_ATTRNAME">XML_RELAXNG_ERR_ATTRNAME</a> = 14
142
+ <a name="XML_RELAXNG_ERR_ELEMNONS">XML_RELAXNG_ERR_ELEMNONS</a> = 15
143
+ <a name="XML_RELAXNG_ERR_ATTRNONS">XML_RELAXNG_ERR_ATTRNONS</a> = 16
144
+ <a name="XML_RELAXNG_ERR_ELEMWRONGNS">XML_RELAXNG_ERR_ELEMWRONGNS</a> = 17
145
+ <a name="XML_RELAXNG_ERR_ATTRWRONGNS">XML_RELAXNG_ERR_ATTRWRONGNS</a> = 18
146
+ <a name="XML_RELAXNG_ERR_ELEMEXTRANS">XML_RELAXNG_ERR_ELEMEXTRANS</a> = 19
147
+ <a name="XML_RELAXNG_ERR_ATTREXTRANS">XML_RELAXNG_ERR_ATTREXTRANS</a> = 20
148
+ <a name="XML_RELAXNG_ERR_ELEMNOTEMPTY">XML_RELAXNG_ERR_ELEMNOTEMPTY</a> = 21
149
+ <a name="XML_RELAXNG_ERR_NOELEM">XML_RELAXNG_ERR_NOELEM</a> = 22
150
+ <a name="XML_RELAXNG_ERR_NOTELEM">XML_RELAXNG_ERR_NOTELEM</a> = 23
151
+ <a name="XML_RELAXNG_ERR_ATTRVALID">XML_RELAXNG_ERR_ATTRVALID</a> = 24
152
+ <a name="XML_RELAXNG_ERR_CONTENTVALID">XML_RELAXNG_ERR_CONTENTVALID</a> = 25
153
+ <a name="XML_RELAXNG_ERR_EXTRACONTENT">XML_RELAXNG_ERR_EXTRACONTENT</a> = 26
154
+ <a name="XML_RELAXNG_ERR_INVALIDATTR">XML_RELAXNG_ERR_INVALIDATTR</a> = 27
155
+ <a name="XML_RELAXNG_ERR_DATAELEM">XML_RELAXNG_ERR_DATAELEM</a> = 28
156
+ <a name="XML_RELAXNG_ERR_VALELEM">XML_RELAXNG_ERR_VALELEM</a> = 29
157
+ <a name="XML_RELAXNG_ERR_LISTELEM">XML_RELAXNG_ERR_LISTELEM</a> = 30
158
+ <a name="XML_RELAXNG_ERR_DATATYPE">XML_RELAXNG_ERR_DATATYPE</a> = 31
159
+ <a name="XML_RELAXNG_ERR_VALUE">XML_RELAXNG_ERR_VALUE</a> = 32
160
+ <a name="XML_RELAXNG_ERR_LIST">XML_RELAXNG_ERR_LIST</a> = 33
161
+ <a name="XML_RELAXNG_ERR_NOGRAMMAR">XML_RELAXNG_ERR_NOGRAMMAR</a> = 34
162
+ <a name="XML_RELAXNG_ERR_EXTRADATA">XML_RELAXNG_ERR_EXTRADATA</a> = 35
163
+ <a name="XML_RELAXNG_ERR_LACKDATA">XML_RELAXNG_ERR_LACKDATA</a> = 36
164
+ <a name="XML_RELAXNG_ERR_INTERNAL">XML_RELAXNG_ERR_INTERNAL</a> = 37
165
+ <a name="XML_RELAXNG_ERR_ELEMWRONG">XML_RELAXNG_ERR_ELEMWRONG</a> = 38
166
+ <a name="XML_RELAXNG_ERR_TEXTWRONG">XML_RELAXNG_ERR_TEXTWRONG</a> = 39
167
+ };
168
+ </pre><p/>
169
+ </div>
170
+ <hr/>
171
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGValidityErrorFunc"/>Function type xmlRelaxNGValidityErrorFunc</h3><pre class="programlisting">void xmlRelaxNGValidityErrorFunc (void * ctx, <br/> const char * msg, <br/> ... ...)<br/>
172
+ </pre><p>Signature of an error callback from a Relax-NG validation</p>
173
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td>the message</td></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td>extra arguments</td></tr></tbody></table></div></div>
174
+ <hr/>
175
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGValidityWarningFunc"/>Function type xmlRelaxNGValidityWarningFunc</h3><pre class="programlisting">void xmlRelaxNGValidityWarningFunc (void * ctx, <br/> const char * msg, <br/> ... ...)<br/>
176
+ </pre><p>Signature of a warning callback from a Relax-NG validation</p>
177
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td>the message</td></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td>extra arguments</td></tr></tbody></table></div></div>
178
+ <hr/>
179
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGCleanupTypes"/>xmlRelaxNGCleanupTypes ()</h3><pre class="programlisting">void xmlRelaxNGCleanupTypes (void)<br/>
180
+ </pre><p>Cleanup the default Schemas type library associated to RelaxNG</p>
181
+ </div>
182
+ <hr/>
183
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGDump"/>xmlRelaxNGDump ()</h3><pre class="programlisting">void xmlRelaxNGDump (FILE * output, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGPtr">xmlRelaxNGPtr</a> schema)<br/>
184
+ </pre><p>Dump a RelaxNG structure back</p>
185
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>output</tt></i>:</span></td><td>the file output</td></tr><tr><td><span class="term"><i><tt>schema</tt></i>:</span></td><td>a schema structure</td></tr></tbody></table></div></div>
186
+ <hr/>
187
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGDumpTree"/>xmlRelaxNGDumpTree ()</h3><pre class="programlisting">void xmlRelaxNGDumpTree (FILE * output, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGPtr">xmlRelaxNGPtr</a> schema)<br/>
188
+ </pre><p>Dump the transformed RelaxNG tree.</p>
189
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>output</tt></i>:</span></td><td>the file output</td></tr><tr><td><span class="term"><i><tt>schema</tt></i>:</span></td><td>a schema structure</td></tr></tbody></table></div></div>
190
+ <hr/>
191
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGFree"/>xmlRelaxNGFree ()</h3><pre class="programlisting">void xmlRelaxNGFree (<a href="libxml2-relaxng.html#xmlRelaxNGPtr">xmlRelaxNGPtr</a> schema)<br/>
192
+ </pre><p>Deallocate a RelaxNG structure.</p>
193
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>schema</tt></i>:</span></td><td>a schema structure</td></tr></tbody></table></div></div>
194
+ <hr/>
195
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGFreeParserCtxt"/>xmlRelaxNGFreeParserCtxt ()</h3><pre class="programlisting">void xmlRelaxNGFreeParserCtxt (<a href="libxml2-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> ctxt)<br/>
196
+ </pre><p>Free the resources associated to the schema parser context</p>
197
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the schema parser context</td></tr></tbody></table></div></div>
198
+ <hr/>
199
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGFreeValidCtxt"/>xmlRelaxNGFreeValidCtxt ()</h3><pre class="programlisting">void xmlRelaxNGFreeValidCtxt (<a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt)<br/>
200
+ </pre><p>Free the resources associated to the schema validation context</p>
201
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the schema validation context</td></tr></tbody></table></div></div>
202
+ <hr/>
203
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGGetParserErrors"/>xmlRelaxNGGetParserErrors ()</h3><pre class="programlisting">int xmlRelaxNGGetParserErrors (<a href="libxml2-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGValidityErrorFunc">xmlRelaxNGValidityErrorFunc</a> * err, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGValidityWarningFunc">xmlRelaxNGValidityWarningFunc</a> * warn, <br/> void ** ctx)<br/>
204
+ </pre><p>Get the callback information used to handle errors for a validation context</p>
205
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a Relax-NG validation context</td></tr><tr><td><span class="term"><i><tt>err</tt></i>:</span></td><td>the error callback result</td></tr><tr><td><span class="term"><i><tt>warn</tt></i>:</span></td><td>the warning callback result</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>contextual data for the callbacks result</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-1 in case of failure, 0 otherwise.</td></tr></tbody></table></div></div>
206
+ <hr/>
207
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGGetValidErrors"/>xmlRelaxNGGetValidErrors ()</h3><pre class="programlisting">int xmlRelaxNGGetValidErrors (<a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGValidityErrorFunc">xmlRelaxNGValidityErrorFunc</a> * err, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGValidityWarningFunc">xmlRelaxNGValidityWarningFunc</a> * warn, <br/> void ** ctx)<br/>
208
+ </pre><p>Get the error and warning callback informations</p>
209
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a Relax-NG validation context</td></tr><tr><td><span class="term"><i><tt>err</tt></i>:</span></td><td>the error function result</td></tr><tr><td><span class="term"><i><tt>warn</tt></i>:</span></td><td>the warning function result</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the functions context result</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-1 in case of error and 0 otherwise</td></tr></tbody></table></div></div>
210
+ <hr/>
211
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGInitTypes"/>xmlRelaxNGInitTypes ()</h3><pre class="programlisting">int xmlRelaxNGInitTypes (void)<br/>
212
+ </pre><p>Initilize the default type libraries.</p>
213
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success and -1 in case of error.</td></tr></tbody></table></div></div>
214
+ <hr/>
215
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGNewDocParserCtxt"/>xmlRelaxNGNewDocParserCtxt ()</h3><pre class="programlisting"><a href="libxml2-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> xmlRelaxNGNewDocParserCtxt (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br/>
216
+ </pre><p>Create an XML RelaxNGs parser context for that document. Note: since the process of compiling a RelaxNG schemas modifies the document, the @doc parameter is duplicated internally.</p>
217
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a preparsed document tree</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the parser context or NULL in case of error</td></tr></tbody></table></div></div>
218
+ <hr/>
219
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGNewMemParserCtxt"/>xmlRelaxNGNewMemParserCtxt ()</h3><pre class="programlisting"><a href="libxml2-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> xmlRelaxNGNewMemParserCtxt (const char * buffer, <br/> int size)<br/>
220
+ </pre><p>Create an XML RelaxNGs parse context for that memory buffer expected to contain an XML RelaxNGs file.</p>
221
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>buffer</tt></i>:</span></td><td>a pointer to a char array containing the schemas</td></tr><tr><td><span class="term"><i><tt>size</tt></i>:</span></td><td>the size of the array</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the parser context or NULL in case of error</td></tr></tbody></table></div></div>
222
+ <hr/>
223
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGNewParserCtxt"/>xmlRelaxNGNewParserCtxt ()</h3><pre class="programlisting"><a href="libxml2-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> xmlRelaxNGNewParserCtxt (const char * URL)<br/>
224
+ </pre><p>Create an XML RelaxNGs parse context for that file/resource expected to contain an XML RelaxNGs file.</p>
225
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>URL</tt></i>:</span></td><td>the location of the schema</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the parser context or NULL in case of error</td></tr></tbody></table></div></div>
226
+ <hr/>
227
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGNewValidCtxt"/>xmlRelaxNGNewValidCtxt ()</h3><pre class="programlisting"><a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> xmlRelaxNGNewValidCtxt (<a href="libxml2-relaxng.html#xmlRelaxNGPtr">xmlRelaxNGPtr</a> schema)<br/>
228
+ </pre><p>Create an XML RelaxNGs validation context based on the given schema</p>
229
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>schema</tt></i>:</span></td><td>a precompiled XML RelaxNGs</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the validation context or NULL in case of error</td></tr></tbody></table></div></div>
230
+ <hr/>
231
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGParse"/>xmlRelaxNGParse ()</h3><pre class="programlisting"><a href="libxml2-relaxng.html#xmlRelaxNGPtr">xmlRelaxNGPtr</a> xmlRelaxNGParse (<a href="libxml2-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> ctxt)<br/>
232
+ </pre><p>parse a schema definition resource and build an internal XML Shema struture which can be used to validate instances.</p>
233
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a Relax-NG parser context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the internal XML RelaxNG structure built from the resource or NULL in case of error</td></tr></tbody></table></div></div>
234
+ <hr/>
235
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGSetParserErrors"/>xmlRelaxNGSetParserErrors ()</h3><pre class="programlisting">void xmlRelaxNGSetParserErrors (<a href="libxml2-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGValidityErrorFunc">xmlRelaxNGValidityErrorFunc</a> err, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGValidityWarningFunc">xmlRelaxNGValidityWarningFunc</a> warn, <br/> void * ctx)<br/>
236
+ </pre><p>Set the callback functions used to handle errors for a validation context</p>
237
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a Relax-NG validation context</td></tr><tr><td><span class="term"><i><tt>err</tt></i>:</span></td><td>the error callback</td></tr><tr><td><span class="term"><i><tt>warn</tt></i>:</span></td><td>the warning callback</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>contextual data for the callbacks</td></tr></tbody></table></div></div>
238
+ <hr/>
239
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGSetParserStructuredErrors"/>xmlRelaxNGSetParserStructuredErrors ()</h3><pre class="programlisting">void xmlRelaxNGSetParserStructuredErrors (<a href="libxml2-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a> serror, <br/> void * ctx)<br/>
240
+ </pre><p>Set the callback functions used to handle errors for a parsing context</p>
241
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a Relax-NG parser context</td></tr><tr><td><span class="term"><i><tt>serror</tt></i>:</span></td><td>the error callback</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>contextual data for the callbacks</td></tr></tbody></table></div></div>
242
+ <hr/>
243
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGSetValidErrors"/>xmlRelaxNGSetValidErrors ()</h3><pre class="programlisting">void xmlRelaxNGSetValidErrors (<a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGValidityErrorFunc">xmlRelaxNGValidityErrorFunc</a> err, <br/> <a href="libxml2-relaxng.html#xmlRelaxNGValidityWarningFunc">xmlRelaxNGValidityWarningFunc</a> warn, <br/> void * ctx)<br/>
244
+ </pre><p>Set the error and warning callback informations</p>
245
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a Relax-NG validation context</td></tr><tr><td><span class="term"><i><tt>err</tt></i>:</span></td><td>the error function</td></tr><tr><td><span class="term"><i><tt>warn</tt></i>:</span></td><td>the warning function</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the functions context</td></tr></tbody></table></div></div>
246
+ <hr/>
247
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGSetValidStructuredErrors"/>xmlRelaxNGSetValidStructuredErrors ()</h3><pre class="programlisting">void xmlRelaxNGSetValidStructuredErrors (<a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a> serror, <br/> void * ctx)<br/>
248
+ </pre><p>Set the structured error callback</p>
249
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a Relax-NG validation context</td></tr><tr><td><span class="term"><i><tt>serror</tt></i>:</span></td><td>the structured error function</td></tr><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>the functions context</td></tr></tbody></table></div></div>
250
+ <hr/>
251
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGValidateDoc"/>xmlRelaxNGValidateDoc ()</h3><pre class="programlisting">int xmlRelaxNGValidateDoc (<a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br/>
252
+ </pre><p>Validate a document tree in memory.</p>
253
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a Relax-NG validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a parsed document tree</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if the document is valid, a positive error code number otherwise and -1 in case of internal or API error.</td></tr></tbody></table></div></div>
254
+ <hr/>
255
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGValidateFullElement"/>xmlRelaxNGValidateFullElement ()</h3><pre class="programlisting">int xmlRelaxNGValidateFullElement (<a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem)<br/>
256
+ </pre><p>Validate a full subtree when xmlRelaxNGValidatePushElement() returned 0 and the content of the node has been expanded.</p>
257
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a document instance</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>an element instance</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if no validation problem was found or -1 in case of error.</td></tr></tbody></table></div></div>
258
+ <hr/>
259
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGValidatePopElement"/>xmlRelaxNGValidatePopElement ()</h3><pre class="programlisting">int xmlRelaxNGValidatePopElement (<a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem)<br/>
260
+ </pre><p>Pop the element end from the RelaxNG validation stack.</p>
261
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the RelaxNG validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a document instance</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>an element instance</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if no validation problem was found or 0 otherwise</td></tr></tbody></table></div></div>
262
+ <hr/>
263
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGValidatePushCData"/>xmlRelaxNGValidatePushCData ()</h3><pre class="programlisting">int xmlRelaxNGValidatePushCData (<a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * data, <br/> int len)<br/>
264
+ </pre><p>check the CData parsed for validation in the current stack</p>
265
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the RelaxNG validation context</td></tr><tr><td><span class="term"><i><tt>data</tt></i>:</span></td><td>some character data read</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the lenght of the data</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if no validation problem was found or -1 otherwise</td></tr></tbody></table></div></div>
266
+ <hr/>
267
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxNGValidatePushElement"/>xmlRelaxNGValidatePushElement ()</h3><pre class="programlisting">int xmlRelaxNGValidatePushElement (<a href="libxml2-relaxng.html#xmlRelaxNGValidCtxtPtr">xmlRelaxNGValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem)<br/>
268
+ </pre><p>Push a new element start on the RelaxNG validation stack.</p>
269
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the validation context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a document instance</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>an element instance</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if no validation problem was found or 0 if validating the element requires a full node, and -1 in case of error.</td></tr></tbody></table></div></div>
270
+ <hr/>
271
+ <div class="refsect2" lang="en"><h3><a name="xmlRelaxParserSetFlag"/>xmlRelaxParserSetFlag ()</h3><pre class="programlisting">int xmlRelaxParserSetFlag (<a href="libxml2-relaxng.html#xmlRelaxNGParserCtxtPtr">xmlRelaxNGParserCtxtPtr</a> ctxt, <br/> int flags)<br/>
272
+ </pre><p>Semi private function used to pass informations to a parser context which are a combination of <a href="libxml2-relaxng.html#xmlRelaxNGParserFlag">xmlRelaxNGParserFlag</a> .</p>
273
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a RelaxNG parser context</td></tr><tr><td><span class="term"><i><tt>flags</tt></i>:</span></td><td>a set of flags values</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if success and -1 in case of error</td></tr></tbody></table></div></div>
274
+ <hr/>
275
+ </div>
276
+ </div>
277
+ </body>
278
+ </html>