gtksourceview3 1.2.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (562) hide show
  1. data/README +29 -0
  2. data/Rakefile +29 -0
  3. data/ext/gtksourceview3/depend +6 -0
  4. data/ext/gtksourceview3/extconf.rb +76 -0
  5. data/ext/gtksourceview3/gtksourceview3.def +2 -0
  6. data/ext/gtksourceview3/rbgtksource.c +53 -0
  7. data/ext/gtksourceview3/rbgtksourcebuffer.c +318 -0
  8. data/ext/gtksourceview3/rbgtksourcegutter.c +82 -0
  9. data/ext/gtksourceview3/rbgtksourcegutterrenderer.c +143 -0
  10. data/ext/gtksourceview3/rbgtksourcegutterrendererpixbuf.c +42 -0
  11. data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +64 -0
  12. data/ext/gtksourceview3/rbgtksourcelanguage.c +124 -0
  13. data/ext/gtksourceview3/rbgtksourcelanguagemanager.c +114 -0
  14. data/ext/gtksourceview3/rbgtksourcemark.c +85 -0
  15. data/ext/gtksourceview3/rbgtksourcemarkattributes.c +77 -0
  16. data/ext/gtksourceview3/rbgtksourceprintcompositor.c +171 -0
  17. data/ext/gtksourceview3/rbgtksourcestyle.c +42 -0
  18. data/ext/gtksourceview3/rbgtksourcestylescheme.c +72 -0
  19. data/ext/gtksourceview3/rbgtksourcestyleschememanager.c +140 -0
  20. data/ext/gtksourceview3/rbgtksourceundomanager.c +83 -0
  21. data/ext/gtksourceview3/rbgtksourceview.c +94 -0
  22. data/ext/gtksourceview3/rbgtksourceview3conversions.h +43 -0
  23. data/ext/gtksourceview3/rbgtksourceview3private.h +54 -0
  24. data/extconf.rb +49 -0
  25. data/lib/1.8/gtksourceview3.so +0 -0
  26. data/lib/1.9/gtksourceview3.so +0 -0
  27. data/lib/gtksourceview3.rb +20 -0
  28. data/lib/gtksourceview3/deprecated.rb +47 -0
  29. data/sample/sourcelanguagemanager.rb +21 -0
  30. data/sample/test.rb +32 -0
  31. data/test/run-test.rb +33 -0
  32. data/test/test_source_view.rb +17 -0
  33. data/vendor/local/bin/libgtksourceview-3.0-0.dll +0 -0
  34. data/vendor/local/bin/libxml2-2.dll +0 -0
  35. data/vendor/local/bin/xmlcatalog.exe +0 -0
  36. data/vendor/local/bin/xmllint.exe +0 -0
  37. data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +66 -0
  38. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +46 -0
  39. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +199 -0
  40. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +129 -0
  41. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +94 -0
  42. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +73 -0
  43. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +71 -0
  44. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +76 -0
  45. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +118 -0
  46. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +90 -0
  47. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +222 -0
  48. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +85 -0
  49. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderertext.h +83 -0
  50. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +87 -0
  51. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +85 -0
  52. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemark.h +71 -0
  53. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +99 -0
  54. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +176 -0
  55. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +41 -0
  56. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +93 -0
  57. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +89 -0
  58. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +62 -0
  59. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceundomanager.h +77 -0
  60. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +55 -0
  61. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +223 -0
  62. data/vendor/local/include/libxml2/libxml/DOCBparser.h +96 -0
  63. data/vendor/local/include/libxml2/libxml/HTMLparser.h +306 -0
  64. data/vendor/local/include/libxml2/libxml/HTMLtree.h +147 -0
  65. data/vendor/local/include/libxml2/libxml/SAX.h +173 -0
  66. data/vendor/local/include/libxml2/libxml/SAX2.h +176 -0
  67. data/vendor/local/include/libxml2/libxml/c14n.h +126 -0
  68. data/vendor/local/include/libxml2/libxml/catalog.h +182 -0
  69. data/vendor/local/include/libxml2/libxml/chvalid.h +230 -0
  70. data/vendor/local/include/libxml2/libxml/debugXML.h +217 -0
  71. data/vendor/local/include/libxml2/libxml/dict.h +80 -0
  72. data/vendor/local/include/libxml2/libxml/encoding.h +240 -0
  73. data/vendor/local/include/libxml2/libxml/entities.h +150 -0
  74. data/vendor/local/include/libxml2/libxml/globals.h +502 -0
  75. data/vendor/local/include/libxml2/libxml/hash.h +233 -0
  76. data/vendor/local/include/libxml2/libxml/list.h +137 -0
  77. data/vendor/local/include/libxml2/libxml/nanoftp.h +163 -0
  78. data/vendor/local/include/libxml2/libxml/nanohttp.h +81 -0
  79. data/vendor/local/include/libxml2/libxml/parser.h +1240 -0
  80. data/vendor/local/include/libxml2/libxml/parserInternals.h +644 -0
  81. data/vendor/local/include/libxml2/libxml/pattern.h +100 -0
  82. data/vendor/local/include/libxml2/libxml/relaxng.h +213 -0
  83. data/vendor/local/include/libxml2/libxml/schemasInternals.h +958 -0
  84. data/vendor/local/include/libxml2/libxml/schematron.h +142 -0
  85. data/vendor/local/include/libxml2/libxml/threads.h +84 -0
  86. data/vendor/local/include/libxml2/libxml/tree.h +1303 -0
  87. data/vendor/local/include/libxml2/libxml/uri.h +94 -0
  88. data/vendor/local/include/libxml2/libxml/valid.h +458 -0
  89. data/vendor/local/include/libxml2/libxml/xinclude.h +129 -0
  90. data/vendor/local/include/libxml2/libxml/xlink.h +189 -0
  91. data/vendor/local/include/libxml2/libxml/xmlIO.h +366 -0
  92. data/vendor/local/include/libxml2/libxml/xmlautomata.h +146 -0
  93. data/vendor/local/include/libxml2/libxml/xmlerror.h +944 -0
  94. data/vendor/local/include/libxml2/libxml/xmlexports.h +162 -0
  95. data/vendor/local/include/libxml2/libxml/xmlmemory.h +224 -0
  96. data/vendor/local/include/libxml2/libxml/xmlmodule.h +57 -0
  97. data/vendor/local/include/libxml2/libxml/xmlreader.h +428 -0
  98. data/vendor/local/include/libxml2/libxml/xmlregexp.h +222 -0
  99. data/vendor/local/include/libxml2/libxml/xmlsave.h +88 -0
  100. data/vendor/local/include/libxml2/libxml/xmlschemas.h +246 -0
  101. data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +151 -0
  102. data/vendor/local/include/libxml2/libxml/xmlstring.h +140 -0
  103. data/vendor/local/include/libxml2/libxml/xmlunicode.h +202 -0
  104. data/vendor/local/include/libxml2/libxml/xmlversion.h +480 -0
  105. data/vendor/local/include/libxml2/libxml/xmlwriter.h +488 -0
  106. data/vendor/local/include/libxml2/libxml/xpath.h +550 -0
  107. data/vendor/local/include/libxml2/libxml/xpathInternals.h +632 -0
  108. data/vendor/local/include/libxml2/libxml/xpointer.h +114 -0
  109. data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
  110. data/vendor/local/lib/libgtksourceview-3.0.la +41 -0
  111. data/vendor/local/lib/libxml2.def +1659 -0
  112. data/vendor/local/lib/libxml2.dll.a +0 -0
  113. data/vendor/local/lib/libxml2.lib +0 -0
  114. data/vendor/local/lib/locale/ar/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  115. data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  116. data/vendor/local/lib/locale/ast/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  117. data/vendor/local/lib/locale/az/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  118. data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  119. data/vendor/local/lib/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  120. data/vendor/local/lib/locale/bn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  121. data/vendor/local/lib/locale/bn_IN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  122. data/vendor/local/lib/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  123. data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  124. data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  125. data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  126. data/vendor/local/lib/locale/cy/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  127. data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  128. data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  129. data/vendor/local/lib/locale/dz/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  130. data/vendor/local/lib/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  131. data/vendor/local/lib/locale/en@shaw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  132. data/vendor/local/lib/locale/en_CA/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  133. data/vendor/local/lib/locale/en_GB/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  134. data/vendor/local/lib/locale/eo/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  135. data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  136. data/vendor/local/lib/locale/et/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  137. data/vendor/local/lib/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  138. data/vendor/local/lib/locale/fa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  139. data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  140. data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  141. data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  142. data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  143. data/vendor/local/lib/locale/gu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  144. data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  145. data/vendor/local/lib/locale/hi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  146. data/vendor/local/lib/locale/hr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  147. data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  148. data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  149. data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  150. data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  151. data/vendor/local/lib/locale/kn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  152. data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  153. data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  154. data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  155. data/vendor/local/lib/locale/mai/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  156. data/vendor/local/lib/locale/mg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  157. data/vendor/local/lib/locale/mk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  158. data/vendor/local/lib/locale/ml/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  159. data/vendor/local/lib/locale/mn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  160. data/vendor/local/lib/locale/mr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  161. data/vendor/local/lib/locale/ms/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  162. data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  163. data/vendor/local/lib/locale/ne/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  164. data/vendor/local/lib/locale/nl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  165. data/vendor/local/lib/locale/nn/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  166. data/vendor/local/lib/locale/oc/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  167. data/vendor/local/lib/locale/or/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  168. data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  169. data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  170. data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  171. data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  172. data/vendor/local/lib/locale/ro/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  173. data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  174. data/vendor/local/lib/locale/rw/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  175. data/vendor/local/lib/locale/si/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  176. data/vendor/local/lib/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  177. data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  178. data/vendor/local/lib/locale/sq/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  179. data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  180. data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  181. data/vendor/local/lib/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  182. data/vendor/local/lib/locale/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  183. data/vendor/local/lib/locale/te/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  184. data/vendor/local/lib/locale/th/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  185. data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  186. data/vendor/local/lib/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  187. data/vendor/local/lib/locale/uk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  188. data/vendor/local/lib/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  189. data/vendor/local/lib/locale/xh/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  190. data/vendor/local/lib/locale/zh_CN/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  191. data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  192. data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  193. data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +12 -0
  194. data/vendor/local/lib/pkgconfig/libxml-2.0.pc +13 -0
  195. data/vendor/local/manifest/libxml2-dev_2.9.0-1_win32.mft +268 -0
  196. data/vendor/local/manifest/libxml2_2.9.0-1_win32.mft +2 -0
  197. data/vendor/local/share/aclocal/libxml.m4 +188 -0
  198. data/vendor/local/share/doc/libxml2-2.9.0/Copyright +27 -0
  199. data/vendor/local/share/doc/libxml2-2.9.0/examples/testHTML.c +880 -0
  200. data/vendor/local/share/doc/libxml2-2.9.0/examples/testSAX.c +1198 -0
  201. data/vendor/local/share/doc/libxml2-2.9.0/examples/testXPath.c +229 -0
  202. data/vendor/local/share/doc/libxml2-2.9.0/examples/xmllint.c +3770 -0
  203. data/vendor/local/share/doc/libxml2-2.9.0/html/DOM.gif +0 -0
  204. data/vendor/local/share/doc/libxml2-2.9.0/html/FAQ.html +282 -0
  205. data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-180x168.gif +0 -0
  206. data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-90x34.gif +0 -0
  207. data/vendor/local/share/doc/libxml2-2.9.0/html/encoding.html +207 -0
  208. data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xml +751 -0
  209. data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xsl +174 -0
  210. data/vendor/local/share/doc/libxml2-2.9.0/html/html/book1.html +13 -0
  211. data/vendor/local/share/doc/libxml2-2.9.0/html/html/home.png +0 -0
  212. data/vendor/local/share/doc/libxml2-2.9.0/html/html/index.html +13 -0
  213. data/vendor/local/share/doc/libxml2-2.9.0/html/html/left.png +0 -0
  214. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-DOCBparser.html +51 -0
  215. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLparser.html +184 -0
  216. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLtree.html +73 -0
  217. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX.html +125 -0
  218. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX2.html +128 -0
  219. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-c14n.html +38 -0
  220. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-catalog.html +142 -0
  221. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-chvalid.html +72 -0
  222. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-debugXML.html +120 -0
  223. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-dict.html +58 -0
  224. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-encoding.html +124 -0
  225. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-entities.html +79 -0
  226. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-globals.html +152 -0
  227. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-hash.html +116 -0
  228. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-lib.html +13 -0
  229. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-list.html +120 -0
  230. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanoftp.html +94 -0
  231. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanohttp.html +65 -0
  232. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parser.html +559 -0
  233. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parserInternals.html +322 -0
  234. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-pattern.html +76 -0
  235. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-relaxng.html +162 -0
  236. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schemasInternals.html +373 -0
  237. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schematron.html +81 -0
  238. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-threads.html +72 -0
  239. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-tree.html +989 -0
  240. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-uri.html +73 -0
  241. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-valid.html +289 -0
  242. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xinclude.html +59 -0
  243. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xlink.html +82 -0
  244. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlIO.html +212 -0
  245. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlautomata.html +85 -0
  246. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlerror.html +864 -0
  247. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlexports.html +20 -0
  248. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmemory.html +107 -0
  249. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmodule.html +38 -0
  250. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlreader.html +330 -0
  251. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlregexp.html +143 -0
  252. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlsave.html +60 -0
  253. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemas.html +185 -0
  254. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemastypes.html +123 -0
  255. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlstring.html +108 -0
  256. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlunicode.html +512 -0
  257. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlversion.html +62 -0
  258. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlwriter.html +261 -0
  259. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpath.html +310 -0
  260. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpathInternals.html +394 -0
  261. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpointer.html +83 -0
  262. data/vendor/local/share/doc/libxml2-2.9.0/html/html/right.png +0 -0
  263. data/vendor/local/share/doc/libxml2-2.9.0/html/html/up.png +0 -0
  264. data/vendor/local/share/doc/libxml2-2.9.0/html/index.html +14 -0
  265. data/vendor/local/share/doc/libxml2-2.9.0/html/io1.c +166 -0
  266. data/vendor/local/share/doc/libxml2-2.9.0/html/io1.res +5 -0
  267. data/vendor/local/share/doc/libxml2-2.9.0/html/io2.c +58 -0
  268. data/vendor/local/share/doc/libxml2-2.9.0/html/io2.res +2 -0
  269. data/vendor/local/share/doc/libxml2-2.9.0/html/libxml.gif +0 -0
  270. data/vendor/local/share/doc/libxml2-2.9.0/html/parse1.c +56 -0
  271. data/vendor/local/share/doc/libxml2-2.9.0/html/parse2.c +72 -0
  272. data/vendor/local/share/doc/libxml2-2.9.0/html/parse3.c +60 -0
  273. data/vendor/local/share/doc/libxml2-2.9.0/html/parse4.c +143 -0
  274. data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.c +107 -0
  275. data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.res +14 -0
  276. data/vendor/local/share/doc/libxml2-2.9.0/html/reader2.c +122 -0
  277. data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.c +120 -0
  278. data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.res +13 -0
  279. data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.c +122 -0
  280. data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.res +3 -0
  281. data/vendor/local/share/doc/libxml2-2.9.0/html/redhat.gif +0 -0
  282. data/vendor/local/share/doc/libxml2-2.9.0/html/smallfootonly.gif +0 -0
  283. data/vendor/local/share/doc/libxml2-2.9.0/html/structure.gif +0 -0
  284. data/vendor/local/share/doc/libxml2-2.9.0/html/test1.xml +1 -0
  285. data/vendor/local/share/doc/libxml2-2.9.0/html/test2.xml +13 -0
  286. data/vendor/local/share/doc/libxml2-2.9.0/html/test3.xml +39 -0
  287. data/vendor/local/share/doc/libxml2-2.9.0/html/testWriter.c +1198 -0
  288. data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.c +94 -0
  289. data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.res +4 -0
  290. data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.c +118 -0
  291. data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.res +18 -0
  292. data/vendor/local/share/doc/libxml2-2.9.0/html/tst.xml +7 -0
  293. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apa.html +8 -0
  294. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apb.html +14 -0
  295. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apc.html +82 -0
  296. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apd.html +76 -0
  297. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ape.html +78 -0
  298. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apf.html +67 -0
  299. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apg.html +75 -0
  300. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/aph.html +76 -0
  301. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/api.html +4 -0
  302. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s02.html +14 -0
  303. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s03.html +47 -0
  304. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s04.html +54 -0
  305. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s05.html +55 -0
  306. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s06.html +35 -0
  307. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s07.html +30 -0
  308. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s08.html +38 -0
  309. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s09.html +63 -0
  310. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/blank.png +0 -0
  311. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/1.png +0 -0
  312. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/10.png +0 -0
  313. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/2.png +0 -0
  314. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/3.png +0 -0
  315. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/4.png +0 -0
  316. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/5.png +0 -0
  317. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/6.png +0 -0
  318. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/7.png +0 -0
  319. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/8.png +0 -0
  320. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/9.png +0 -0
  321. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/caution.png +0 -0
  322. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/draft.png +0 -0
  323. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/home.png +0 -0
  324. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/important.png +0 -0
  325. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/next.png +0 -0
  326. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/note.png +0 -0
  327. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/prev.png +0 -0
  328. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/tip.png +0 -0
  329. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-blank.png +0 -0
  330. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-minus.png +0 -0
  331. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-plus.png +0 -0
  332. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/up.png +0 -0
  333. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/warning.png +0 -0
  334. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddattribute.c +64 -0
  335. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddkeyword.c +75 -0
  336. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeconvert.c +73 -0
  337. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includegetattribute.c +72 -0
  338. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includekeyword.c +79 -0
  339. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includexpath.c +74 -0
  340. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/index.html +14 -0
  341. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ix01.html +1 -0
  342. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/xmltutorial.pdf +1336 -0
  343. data/vendor/local/share/doc/libxml2-2.9.0/html/w3c.png +0 -0
  344. data/vendor/local/share/doc/libxml2-2.9.0/html/writer.xml +2 -0
  345. data/vendor/local/share/doc/libxml2-2.9.0/html/xml.html +5715 -0
  346. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.c +250 -0
  347. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.res +5 -0
  348. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.c +190 -0
  349. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.res +30 -0
  350. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +1346 -0
  351. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +756 -0
  352. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +300 -0
  353. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +243 -0
  354. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +282 -0
  355. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +364 -0
  356. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +474 -0
  357. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +288 -0
  358. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +425 -0
  359. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +414 -0
  360. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +250 -0
  361. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +699 -0
  362. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +1822 -0
  363. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +228 -0
  364. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +296 -0
  365. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +357 -0
  366. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +346 -0
  367. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +1462 -0
  368. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +80 -0
  369. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +46 -0
  370. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +31 -0
  371. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +1538 -0
  372. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRenderer.html +956 -0
  373. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererPixbuf.html +199 -0
  374. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererText.html +137 -0
  375. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +445 -0
  376. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/home.png +0 -0
  377. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +117 -0
  378. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +578 -0
  379. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +771 -0
  380. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +651 -0
  381. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left.png +0 -0
  382. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right.png +0 -0
  383. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn01.html +101 -0
  384. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn02.html +53 -0
  385. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +252 -0
  386. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +266 -0
  387. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up.png +0 -0
  388. data/vendor/local/share/gtk-doc/html/libxml2/general.html +38 -0
  389. data/vendor/local/share/gtk-doc/html/libxml2/home.png +0 -0
  390. data/vendor/local/share/gtk-doc/html/libxml2/index.html +67 -0
  391. data/vendor/local/share/gtk-doc/html/libxml2/left.png +0 -0
  392. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +138 -0
  393. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +373 -0
  394. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +172 -0
  395. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +243 -0
  396. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +247 -0
  397. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +91 -0
  398. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +278 -0
  399. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +241 -0
  400. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +225 -0
  401. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +134 -0
  402. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +218 -0
  403. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +166 -0
  404. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +383 -0
  405. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +214 -0
  406. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +226 -0
  407. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +187 -0
  408. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +142 -0
  409. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +766 -0
  410. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +688 -0
  411. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +166 -0
  412. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +278 -0
  413. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +860 -0
  414. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +166 -0
  415. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +161 -0
  416. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +1596 -0
  417. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +154 -0
  418. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +528 -0
  419. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +169 -0
  420. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +160 -0
  421. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +347 -0
  422. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +176 -0
  423. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +952 -0
  424. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +87 -0
  425. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +186 -0
  426. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +97 -0
  427. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +565 -0
  428. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +280 -0
  429. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +133 -0
  430. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +314 -0
  431. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +237 -0
  432. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +217 -0
  433. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +887 -0
  434. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +287 -0
  435. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +479 -0
  436. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +532 -0
  437. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +787 -0
  438. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +171 -0
  439. data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +3569 -0
  440. data/vendor/local/share/gtk-doc/html/libxml2/right.png +0 -0
  441. data/vendor/local/share/gtk-doc/html/libxml2/style.css +66 -0
  442. data/vendor/local/share/gtk-doc/html/libxml2/up.png +0 -0
  443. data/vendor/local/share/gtksourceview-3.0/language-specs/R.lang +130 -0
  444. data/vendor/local/share/gtksourceview-3.0/language-specs/actionscript.lang +268 -0
  445. data/vendor/local/share/gtksourceview-3.0/language-specs/ada.lang +221 -0
  446. data/vendor/local/share/gtksourceview-3.0/language-specs/asp.lang +1097 -0
  447. data/vendor/local/share/gtksourceview-3.0/language-specs/automake.lang +329 -0
  448. data/vendor/local/share/gtksourceview-3.0/language-specs/awk.lang +138 -0
  449. data/vendor/local/share/gtksourceview-3.0/language-specs/bennugd.lang +267 -0
  450. data/vendor/local/share/gtksourceview-3.0/language-specs/bibtex.lang +93 -0
  451. data/vendor/local/share/gtksourceview-3.0/language-specs/boo.lang +257 -0
  452. data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +332 -0
  453. data/vendor/local/share/gtksourceview-3.0/language-specs/cg.lang +232 -0
  454. data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +92 -0
  455. data/vendor/local/share/gtksourceview-3.0/language-specs/chdr.lang +43 -0
  456. data/vendor/local/share/gtksourceview-3.0/language-specs/check-language.sh +32 -0
  457. data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +408 -0
  458. data/vendor/local/share/gtksourceview-3.0/language-specs/cobol.lang +456 -0
  459. data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +114 -0
  460. data/vendor/local/share/gtksourceview-3.0/language-specs/csharp.lang +282 -0
  461. data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +537 -0
  462. data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +292 -0
  463. data/vendor/local/share/gtksourceview-3.0/language-specs/d.lang +296 -0
  464. data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +252 -0
  465. data/vendor/local/share/gtksourceview-3.0/language-specs/desktop.lang +300 -0
  466. data/vendor/local/share/gtksourceview-3.0/language-specs/diff.lang +85 -0
  467. data/vendor/local/share/gtksourceview-3.0/language-specs/docbook.lang +476 -0
  468. data/vendor/local/share/gtksourceview-3.0/language-specs/dosbatch.lang +167 -0
  469. data/vendor/local/share/gtksourceview-3.0/language-specs/dot.lang +140 -0
  470. data/vendor/local/share/gtksourceview-3.0/language-specs/dpatch.lang +48 -0
  471. data/vendor/local/share/gtksourceview-3.0/language-specs/dtd.lang +140 -0
  472. data/vendor/local/share/gtksourceview-3.0/language-specs/eiffel.lang +239 -0
  473. data/vendor/local/share/gtksourceview-3.0/language-specs/erlang.lang +258 -0
  474. data/vendor/local/share/gtksourceview-3.0/language-specs/fcl.lang +115 -0
  475. data/vendor/local/share/gtksourceview-3.0/language-specs/forth.lang +235 -0
  476. data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +512 -0
  477. data/vendor/local/share/gtksourceview-3.0/language-specs/fsharp.lang +325 -0
  478. data/vendor/local/share/gtksourceview-3.0/language-specs/gap.lang +85 -0
  479. data/vendor/local/share/gtksourceview-3.0/language-specs/gdb-log.lang +152 -0
  480. data/vendor/local/share/gtksourceview-3.0/language-specs/glsl.lang +483 -0
  481. data/vendor/local/share/gtksourceview-3.0/language-specs/go.lang +275 -0
  482. data/vendor/local/share/gtksourceview-3.0/language-specs/gtk-doc.lang +91 -0
  483. data/vendor/local/share/gtksourceview-3.0/language-specs/gtkrc.lang +116 -0
  484. data/vendor/local/share/gtksourceview-3.0/language-specs/haddock.lang +162 -0
  485. data/vendor/local/share/gtksourceview-3.0/language-specs/haskell-literate.lang +59 -0
  486. data/vendor/local/share/gtksourceview-3.0/language-specs/haskell.lang +228 -0
  487. data/vendor/local/share/gtksourceview-3.0/language-specs/html.lang +180 -0
  488. data/vendor/local/share/gtksourceview-3.0/language-specs/idl.lang +154 -0
  489. data/vendor/local/share/gtksourceview-3.0/language-specs/imagej.lang +784 -0
  490. data/vendor/local/share/gtksourceview-3.0/language-specs/ini.lang +95 -0
  491. data/vendor/local/share/gtksourceview-3.0/language-specs/j.lang +240 -0
  492. data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +190 -0
  493. data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +338 -0
  494. data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +123 -0
  495. data/vendor/local/share/gtksourceview-3.0/language-specs/language.dtd +73 -0
  496. data/vendor/local/share/gtksourceview-3.0/language-specs/language.rng +373 -0
  497. data/vendor/local/share/gtksourceview-3.0/language-specs/language2.rng +482 -0
  498. data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +300 -0
  499. data/vendor/local/share/gtksourceview-3.0/language-specs/libtool.lang +56 -0
  500. data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +157 -0
  501. data/vendor/local/share/gtksourceview-3.0/language-specs/m4.lang +1375 -0
  502. data/vendor/local/share/gtksourceview-3.0/language-specs/makefile.lang +193 -0
  503. data/vendor/local/share/gtksourceview-3.0/language-specs/mallard.lang +124 -0
  504. data/vendor/local/share/gtksourceview-3.0/language-specs/markdown.lang +402 -0
  505. data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +171 -0
  506. data/vendor/local/share/gtksourceview-3.0/language-specs/mxml.lang +65 -0
  507. data/vendor/local/share/gtksourceview-3.0/language-specs/nemerle.lang +263 -0
  508. data/vendor/local/share/gtksourceview-3.0/language-specs/netrexx.lang +319 -0
  509. data/vendor/local/share/gtksourceview-3.0/language-specs/nsis.lang +88 -0
  510. data/vendor/local/share/gtksourceview-3.0/language-specs/objc.lang +120 -0
  511. data/vendor/local/share/gtksourceview-3.0/language-specs/objj.lang +128 -0
  512. data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +302 -0
  513. data/vendor/local/share/gtksourceview-3.0/language-specs/ocl.lang +139 -0
  514. data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +859 -0
  515. data/vendor/local/share/gtksourceview-3.0/language-specs/ooc.lang +265 -0
  516. data/vendor/local/share/gtksourceview-3.0/language-specs/opal.lang +343 -0
  517. data/vendor/local/share/gtksourceview-3.0/language-specs/opencl.lang +600 -0
  518. data/vendor/local/share/gtksourceview-3.0/language-specs/pascal.lang +268 -0
  519. data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1028 -0
  520. data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +361 -0
  521. data/vendor/local/share/gtksourceview-3.0/language-specs/pkgconfig.lang +62 -0
  522. data/vendor/local/share/gtksourceview-3.0/language-specs/po.lang +94 -0
  523. data/vendor/local/share/gtksourceview-3.0/language-specs/prolog.lang +249 -0
  524. data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +103 -0
  525. data/vendor/local/share/gtksourceview-3.0/language-specs/puppet.lang +697 -0
  526. data/vendor/local/share/gtksourceview-3.0/language-specs/python.lang +413 -0
  527. data/vendor/local/share/gtksourceview-3.0/language-specs/python3.lang +192 -0
  528. data/vendor/local/share/gtksourceview-3.0/language-specs/rpmspec.lang +210 -0
  529. data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +591 -0
  530. data/vendor/local/share/gtksourceview-3.0/language-specs/scheme.lang +302 -0
  531. data/vendor/local/share/gtksourceview-3.0/language-specs/scilab.lang +209 -0
  532. data/vendor/local/share/gtksourceview-3.0/language-specs/sh.lang +499 -0
  533. data/vendor/local/share/gtksourceview-3.0/language-specs/sml.lang +201 -0
  534. data/vendor/local/share/gtksourceview-3.0/language-specs/sparql.lang +448 -0
  535. data/vendor/local/share/gtksourceview-3.0/language-specs/sql.lang +618 -0
  536. data/vendor/local/share/gtksourceview-3.0/language-specs/systemverilog.lang +263 -0
  537. data/vendor/local/share/gtksourceview-3.0/language-specs/t2t.lang +150 -0
  538. data/vendor/local/share/gtksourceview-3.0/language-specs/tcl.lang +146 -0
  539. data/vendor/local/share/gtksourceview-3.0/language-specs/texinfo.lang +448 -0
  540. data/vendor/local/share/gtksourceview-3.0/language-specs/vala.lang +365 -0
  541. data/vendor/local/share/gtksourceview-3.0/language-specs/vbnet.lang +245 -0
  542. data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +464 -0
  543. data/vendor/local/share/gtksourceview-3.0/language-specs/vhdl.lang +248 -0
  544. data/vendor/local/share/gtksourceview-3.0/language-specs/xml.lang +220 -0
  545. data/vendor/local/share/gtksourceview-3.0/language-specs/xslt.lang +108 -0
  546. data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +177 -0
  547. data/vendor/local/share/gtksourceview-3.0/styles/check-style.sh +20 -0
  548. data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +107 -0
  549. data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +135 -0
  550. data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +161 -0
  551. data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +117 -0
  552. data/vendor/local/share/gtksourceview-3.0/styles/styles.rng +139 -0
  553. data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +117 -0
  554. data/vendor/local/share/license/gtksourceview/AUTHORS +12 -0
  555. data/vendor/local/share/license/gtksourceview/COPYING +340 -0
  556. data/vendor/local/share/man/man1/xml2-config.1 +30 -0
  557. data/vendor/local/share/man/man1/xmlcatalog.1 +340 -0
  558. data/vendor/local/share/man/man1/xmllint.1 +427 -0
  559. data/vendor/local/share/man/man3/libxml.3 +71 -0
  560. data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.log +867 -0
  561. data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.sh +68 -0
  562. metadata +642 -0
@@ -0,0 +1,280 @@
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>xmlregexp: regular expressions 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-xmlreader.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-xmlsave.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">xmlregexp</span>
40
+ </h2>
41
+ <p>xmlregexp - regular expressions handling</p>
42
+ <p>basic API for libxml regular expressions handling used for XML Schemas and validation. </p>
43
+ <p>Author(s): Daniel Veillard </p>
44
+ <div class="refsynopsisdiv">
45
+ <h2>Synopsis</h2>
46
+ <pre class="synopsis">typedef <a href="libxml2-xmlregexp.html#xmlRegExecCtxt">xmlRegExecCtxt</a> * <a href="#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a>;
47
+ typedef struct _xmlExpCtxt <a href="#xmlExpCtxt">xmlExpCtxt</a>;
48
+ typedef <a href="libxml2-xmlregexp.html#xmlExpNode">xmlExpNode</a> * <a href="#xmlExpNodePtr">xmlExpNodePtr</a>;
49
+ typedef <a href="libxml2-xmlregexp.html#xmlExpCtxt">xmlExpCtxt</a> * <a href="#xmlExpCtxtPtr">xmlExpCtxtPtr</a>;
50
+ typedef enum <a href="#xmlExpNodeType">xmlExpNodeType</a>;
51
+ typedef struct _xmlRegExecCtxt <a href="#xmlRegExecCtxt">xmlRegExecCtxt</a>;
52
+ typedef struct _xmlExpNode <a href="#xmlExpNode">xmlExpNode</a>;
53
+ typedef struct _xmlRegexp <a href="#xmlRegexp">xmlRegexp</a>;
54
+ typedef <a href="libxml2-xmlregexp.html#xmlRegexp">xmlRegexp</a> * <a href="#xmlRegexpPtr">xmlRegexpPtr</a>;
55
+ typedef void <a href="#xmlRegExecCallbacks">xmlRegExecCallbacks</a> (<a href="libxml2-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> exec, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token, <br/> void * transdata, <br/> void * inputdata);
56
+ <a href="libxml2-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> <a href="#xmlRegNewExecCtxt">xmlRegNewExecCtxt</a> (<a href="libxml2-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> comp, <br/> <a href="libxml2-xmlregexp.html#xmlRegExecCallbacks">xmlRegExecCallbacks</a> callback, <br/> void * data);
57
+ <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> <a href="#xmlExpNewOr">xmlExpNewOr</a> (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> left, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> right);
58
+ void <a href="#xmlRegFreeRegexp">xmlRegFreeRegexp</a> (<a href="libxml2-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> regexp);
59
+ void <a href="#xmlExpRef">xmlExpRef</a> (<a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> exp);
60
+ int <a href="#xmlRegexpIsDeterminist">xmlRegexpIsDeterminist</a> (<a href="libxml2-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> comp);
61
+ int <a href="#xmlRegExecErrInfo">xmlRegExecErrInfo</a> (<a href="libxml2-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> exec, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** string, <br/> int * nbval, <br/> int * nbneg, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** values, <br/> int * terminal);
62
+ void <a href="#xmlRegFreeExecCtxt">xmlRegFreeExecCtxt</a> (<a href="libxml2-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> exec);
63
+ int <a href="#xmlExpCtxtNbCons">xmlExpCtxtNbCons</a> (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt);
64
+ int <a href="#xmlExpSubsume">xmlExpSubsume</a> (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> exp, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> sub);
65
+ int <a href="#xmlRegExecPushString2">xmlRegExecPushString2</a> (<a href="libxml2-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> exec, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value2, <br/> void * data);
66
+ int <a href="#xmlRegExecNextValues">xmlRegExecNextValues</a> (<a href="libxml2-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> exec, <br/> int * nbval, <br/> int * nbneg, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** values, <br/> int * terminal);
67
+ <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> <a href="#xmlExpExpDerive">xmlExpExpDerive</a> (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> exp, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> sub);
68
+ int <a href="#xmlExpIsNillable">xmlExpIsNillable</a> (<a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> exp);
69
+ void <a href="#xmlExpFreeCtxt">xmlExpFreeCtxt</a> (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt);
70
+ void <a href="#xmlExpDump">xmlExpDump</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> expr);
71
+ <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> <a href="#xmlExpNewSeq">xmlExpNewSeq</a> (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> left, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> right);
72
+ void <a href="#xmlExpFree">xmlExpFree</a> (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> exp);
73
+ <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> <a href="#xmlExpNewRange">xmlExpNewRange</a> (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> subset, <br/> int min, <br/> int max);
74
+ <a href="libxml2-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> <a href="#xmlRegexpCompile">xmlRegexpCompile</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * regexp);
75
+ <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> <a href="#xmlExpNewAtom">xmlExpNewAtom</a> (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> int len);
76
+ int <a href="#xmlRegexpExec">xmlRegexpExec</a> (<a href="libxml2-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> comp, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content);
77
+ int <a href="#xmlRegExecPushString">xmlRegExecPushString</a> (<a href="libxml2-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> exec, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> void * data);
78
+ int <a href="#xmlExpGetStart">xmlExpGetStart</a> (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> exp, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** tokList, <br/> int len);
79
+ <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> <a href="#xmlExpParse">xmlExpParse</a> (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> const char * expr);
80
+ <a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> <a href="#xmlExpNewCtxt">xmlExpNewCtxt</a> (int maxNodes, <br/> <a href="libxml2-dict.html#xmlDictPtr">xmlDictPtr</a> dict);
81
+ int <a href="#xmlExpGetLanguage">xmlExpGetLanguage</a> (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> exp, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** langList, <br/> int len);
82
+ <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> <a href="#xmlExpStringDerive">xmlExpStringDerive</a> (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> exp, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br/> int len);
83
+ int <a href="#xmlExpCtxtNbNodes">xmlExpCtxtNbNodes</a> (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt);
84
+ int <a href="#xmlExpMaxToken">xmlExpMaxToken</a> (<a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> expr);
85
+ void <a href="#xmlRegexpPrint">xmlRegexpPrint</a> (FILE * output, <br/> <a href="libxml2-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> regexp);
86
+ </pre>
87
+ </div>
88
+ <div class="refsect1" lang="en">
89
+ <h2>Description</h2>
90
+ </div>
91
+ <div class="refsect1" lang="en">
92
+ <h2>Details</h2>
93
+ <div class="refsect2" lang="en">
94
+ <div class="refsect2" lang="en"><h3><a name="xmlExpCtxt">Structure </a>xmlExpCtxt</h3><pre class="programlisting">struct _xmlExpCtxt {
95
+ The content of this structure is not made public by the API.
96
+ } xmlExpCtxt;
97
+ </pre><p/>
98
+ </div>
99
+ <hr/>
100
+ <div class="refsect2" lang="en"><h3><a name="xmlExpCtxtPtr">Typedef </a>xmlExpCtxtPtr</h3><pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlExpCtxt">xmlExpCtxt</a> * xmlExpCtxtPtr;
101
+ </pre><p/>
102
+ </div>
103
+ <hr/>
104
+ <div class="refsect2" lang="en"><h3><a name="xmlExpNode">Structure </a>xmlExpNode</h3><pre class="programlisting">struct _xmlExpNode {
105
+ The content of this structure is not made public by the API.
106
+ } xmlExpNode;
107
+ </pre><p/>
108
+ </div>
109
+ <hr/>
110
+ <div class="refsect2" lang="en"><h3><a name="xmlExpNodePtr">Typedef </a>xmlExpNodePtr</h3><pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlExpNode">xmlExpNode</a> * xmlExpNodePtr;
111
+ </pre><p/>
112
+ </div>
113
+ <hr/>
114
+ <div class="refsect2" lang="en"><h3><a name="xmlExpNodeType">Enum </a>xmlExpNodeType</h3><pre class="programlisting">enum <a href="#xmlExpNodeType">xmlExpNodeType</a> {
115
+ <a name="XML_EXP_EMPTY">XML_EXP_EMPTY</a> = 0
116
+ <a name="XML_EXP_FORBID">XML_EXP_FORBID</a> = 1
117
+ <a name="XML_EXP_ATOM">XML_EXP_ATOM</a> = 2
118
+ <a name="XML_EXP_SEQ">XML_EXP_SEQ</a> = 3
119
+ <a name="XML_EXP_OR">XML_EXP_OR</a> = 4
120
+ <a name="XML_EXP_COUNT">XML_EXP_COUNT</a> = 5
121
+ };
122
+ </pre><p/>
123
+ </div>
124
+ <hr/>
125
+ <div class="refsect2" lang="en"><h3><a name="xmlRegExecCtxt">Structure </a>xmlRegExecCtxt</h3><pre class="programlisting">struct _xmlRegExecCtxt {
126
+ The content of this structure is not made public by the API.
127
+ } xmlRegExecCtxt;
128
+ </pre><p/>
129
+ </div>
130
+ <hr/>
131
+ <div class="refsect2" lang="en"><h3><a name="xmlRegExecCtxtPtr">Typedef </a>xmlRegExecCtxtPtr</h3><pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlRegExecCtxt">xmlRegExecCtxt</a> * xmlRegExecCtxtPtr;
132
+ </pre><p>A libxml progressive regular expression evaluation context</p>
133
+ </div>
134
+ <hr/>
135
+ <div class="refsect2" lang="en"><h3><a name="xmlRegexp">Structure </a>xmlRegexp</h3><pre class="programlisting">struct _xmlRegexp {
136
+ The content of this structure is not made public by the API.
137
+ } xmlRegexp;
138
+ </pre><p/>
139
+ </div>
140
+ <hr/>
141
+ <div class="refsect2" lang="en"><h3><a name="xmlRegexpPtr">Typedef </a>xmlRegexpPtr</h3><pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlRegexp">xmlRegexp</a> * xmlRegexpPtr;
142
+ </pre><p>A libxml regular expression, they can actually be far more complex thank the POSIX regex expressions.</p>
143
+ </div>
144
+ <hr/>
145
+ <div class="refsect2" lang="en"><h3><a name="xmlRegExecCallbacks"/>Function type xmlRegExecCallbacks</h3><pre class="programlisting">void xmlRegExecCallbacks (<a href="libxml2-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> exec, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * token, <br/> void * transdata, <br/> void * inputdata)<br/>
146
+ </pre><p>Callback function when doing a transition in the automata</p>
147
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>exec</tt></i>:</span></td><td>the regular expression context</td></tr><tr><td><span class="term"><i><tt>token</tt></i>:</span></td><td>the current token string</td></tr><tr><td><span class="term"><i><tt>transdata</tt></i>:</span></td><td>transition data</td></tr><tr><td><span class="term"><i><tt>inputdata</tt></i>:</span></td><td>input data</td></tr></tbody></table></div></div>
148
+ <hr/>
149
+ <div class="refsect2" lang="en"><h3><a name="emptyExp">Variable </a>emptyExp</h3><pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> emptyExp;
150
+ </pre><p/>
151
+ </div>
152
+ <hr/>
153
+ <div class="refsect2" lang="en"><h3><a name="forbiddenExp">Variable </a>forbiddenExp</h3><pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> forbiddenExp;
154
+ </pre><p/>
155
+ </div>
156
+ <hr/>
157
+ <div class="refsect2" lang="en"><h3><a name="xmlExpCtxtNbCons"/>xmlExpCtxtNbCons ()</h3><pre class="programlisting">int xmlExpCtxtNbCons (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt)<br/>
158
+ </pre><p>Debugging facility provides the number of allocated nodes over lifetime</p>
159
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an expression context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of nodes ever allocated or -1 in case of error</td></tr></tbody></table></div></div>
160
+ <hr/>
161
+ <div class="refsect2" lang="en"><h3><a name="xmlExpCtxtNbNodes"/>xmlExpCtxtNbNodes ()</h3><pre class="programlisting">int xmlExpCtxtNbNodes (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt)<br/>
162
+ </pre><p>Debugging facility provides the number of allocated nodes at a that point</p>
163
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an expression context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of nodes in use or -1 in case of error</td></tr></tbody></table></div></div>
164
+ <hr/>
165
+ <div class="refsect2" lang="en"><h3><a name="xmlExpDump"/>xmlExpDump ()</h3><pre class="programlisting">void xmlExpDump (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buf, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> expr)<br/>
166
+ </pre><p>Serialize the expression as compiled to the buffer</p>
167
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>buf</tt></i>:</span></td><td>a buffer to receive the output</td></tr><tr><td><span class="term"><i><tt>expr</tt></i>:</span></td><td>the compiled expression</td></tr></tbody></table></div></div>
168
+ <hr/>
169
+ <div class="refsect2" lang="en"><h3><a name="xmlExpExpDerive"/>xmlExpExpDerive ()</h3><pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> xmlExpExpDerive (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> exp, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> sub)<br/>
170
+ </pre><p>Evaluates the expression resulting from @exp consuming a sub expression @sub Based on algebraic derivation and sometimes direct Brzozowski derivation it usually tatkes less than linear time and can handle expressions generating infinite languages.</p>
171
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the expressions context</td></tr><tr><td><span class="term"><i><tt>exp</tt></i>:</span></td><td>the englobing expression</td></tr><tr><td><span class="term"><i><tt>sub</tt></i>:</span></td><td>the subexpression</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting expression or NULL in case of internal error, the result must be freed</td></tr></tbody></table></div></div>
172
+ <hr/>
173
+ <div class="refsect2" lang="en"><h3><a name="xmlExpFree"/>xmlExpFree ()</h3><pre class="programlisting">void xmlExpFree (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> exp)<br/>
174
+ </pre><p>Dereference the expression</p>
175
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the expression context</td></tr><tr><td><span class="term"><i><tt>exp</tt></i>:</span></td><td>the expression</td></tr></tbody></table></div></div>
176
+ <hr/>
177
+ <div class="refsect2" lang="en"><h3><a name="xmlExpFreeCtxt"/>xmlExpFreeCtxt ()</h3><pre class="programlisting">void xmlExpFreeCtxt (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt)<br/>
178
+ </pre><p>Free an expression context</p>
179
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>an expression context</td></tr></tbody></table></div></div>
180
+ <hr/>
181
+ <div class="refsect2" lang="en"><h3><a name="xmlExpGetLanguage"/>xmlExpGetLanguage ()</h3><pre class="programlisting">int xmlExpGetLanguage (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> exp, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** langList, <br/> int len)<br/>
182
+ </pre><p>Find all the strings used in @exp and store them in @list</p>
183
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the expression context</td></tr><tr><td><span class="term"><i><tt>exp</tt></i>:</span></td><td>the expression</td></tr><tr><td><span class="term"><i><tt>langList</tt></i>:</span></td><td>where to store the tokens</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the allocated lenght of @list</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of unique strings found, -1 in case of errors and -2 if there is more than @len strings</td></tr></tbody></table></div></div>
184
+ <hr/>
185
+ <div class="refsect2" lang="en"><h3><a name="xmlExpGetStart"/>xmlExpGetStart ()</h3><pre class="programlisting">int xmlExpGetStart (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> exp, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** tokList, <br/> int len)<br/>
186
+ </pre><p>Find all the strings that appears at the start of the languages accepted by @exp and store them in @list. E.g. for (a, b) | c it will return the list [a, c]</p>
187
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the expression context</td></tr><tr><td><span class="term"><i><tt>exp</tt></i>:</span></td><td>the expression</td></tr><tr><td><span class="term"><i><tt>tokList</tt></i>:</span></td><td>where to store the tokens</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the allocated lenght of @list</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of unique strings found, -1 in case of errors and -2 if there is more than @len strings</td></tr></tbody></table></div></div>
188
+ <hr/>
189
+ <div class="refsect2" lang="en"><h3><a name="xmlExpIsNillable"/>xmlExpIsNillable ()</h3><pre class="programlisting">int xmlExpIsNillable (<a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> exp)<br/>
190
+ </pre><p>Finds if the expression is nillable, i.e. if it accepts the empty sequqnce</p>
191
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>exp</tt></i>:</span></td><td>the expression</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if nillable, 0 if not and -1 in case of error</td></tr></tbody></table></div></div>
192
+ <hr/>
193
+ <div class="refsect2" lang="en"><h3><a name="xmlExpMaxToken"/>xmlExpMaxToken ()</h3><pre class="programlisting">int xmlExpMaxToken (<a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> expr)<br/>
194
+ </pre><p>Indicate the maximum number of input a expression can accept</p>
195
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>expr</tt></i>:</span></td><td>a compiled expression</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the maximum length or -1 in case of error</td></tr></tbody></table></div></div>
196
+ <hr/>
197
+ <div class="refsect2" lang="en"><h3><a name="xmlExpNewAtom"/>xmlExpNewAtom ()</h3><pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> xmlExpNewAtom (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> int len)<br/>
198
+ </pre><p>Get the atom associated to this name from that context</p>
199
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the expression context</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the atom name</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the atom name lenght in byte (or -1);</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the node or NULL in case of error</td></tr></tbody></table></div></div>
200
+ <hr/>
201
+ <div class="refsect2" lang="en"><h3><a name="xmlExpNewCtxt"/>xmlExpNewCtxt ()</h3><pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> xmlExpNewCtxt (int maxNodes, <br/> <a href="libxml2-dict.html#xmlDictPtr">xmlDictPtr</a> dict)<br/>
202
+ </pre><p>Creates a new context for manipulating expressions</p>
203
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>maxNodes</tt></i>:</span></td><td>the maximum number of nodes</td></tr><tr><td><span class="term"><i><tt>dict</tt></i>:</span></td><td>optional dictionnary to use internally</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the context or NULL in case of error</td></tr></tbody></table></div></div>
204
+ <hr/>
205
+ <div class="refsect2" lang="en"><h3><a name="xmlExpNewOr"/>xmlExpNewOr ()</h3><pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> xmlExpNewOr (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> left, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> right)<br/>
206
+ </pre><p>Get the atom associated to the choice @left | @right Note that @left and @right are consumed in the operation, to keep an handle on them use xmlExpRef() and use xmlExpFree() to release them, this is true even in case of failure (unless ctxt == NULL).</p>
207
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the expression context</td></tr><tr><td><span class="term"><i><tt>left</tt></i>:</span></td><td>left expression</td></tr><tr><td><span class="term"><i><tt>right</tt></i>:</span></td><td>right expression</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the node or NULL in case of error</td></tr></tbody></table></div></div>
208
+ <hr/>
209
+ <div class="refsect2" lang="en"><h3><a name="xmlExpNewRange"/>xmlExpNewRange ()</h3><pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> xmlExpNewRange (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> subset, <br/> int min, <br/> int max)<br/>
210
+ </pre><p>Get the atom associated to the range (@subset){@min, @max} Note that @subset is consumed in the operation, to keep an handle on it use xmlExpRef() and use xmlExpFree() to release it, this is true even in case of failure (unless ctxt == NULL).</p>
211
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the expression context</td></tr><tr><td><span class="term"><i><tt>subset</tt></i>:</span></td><td>the expression to be repeated</td></tr><tr><td><span class="term"><i><tt>min</tt></i>:</span></td><td>the lower bound for the repetition</td></tr><tr><td><span class="term"><i><tt>max</tt></i>:</span></td><td>the upper bound for the repetition, -1 means infinite</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the node or NULL in case of error</td></tr></tbody></table></div></div>
212
+ <hr/>
213
+ <div class="refsect2" lang="en"><h3><a name="xmlExpNewSeq"/>xmlExpNewSeq ()</h3><pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> xmlExpNewSeq (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> left, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> right)<br/>
214
+ </pre><p>Get the atom associated to the sequence @left , @right Note that @left and @right are consumed in the operation, to keep an handle on them use xmlExpRef() and use xmlExpFree() to release them, this is true even in case of failure (unless ctxt == NULL).</p>
215
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the expression context</td></tr><tr><td><span class="term"><i><tt>left</tt></i>:</span></td><td>left expression</td></tr><tr><td><span class="term"><i><tt>right</tt></i>:</span></td><td>right expression</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the node or NULL in case of error</td></tr></tbody></table></div></div>
216
+ <hr/>
217
+ <div class="refsect2" lang="en"><h3><a name="xmlExpParse"/>xmlExpParse ()</h3><pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> xmlExpParse (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> const char * expr)<br/>
218
+ </pre><p>Minimal parser for regexps, it understand the following constructs - string terminals - choice operator | - sequence operator , - subexpressions (...) - usual cardinality operators + * and ? - finite sequences { min, max } - infinite sequences { min, * } There is minimal checkings made especially no checking on strings values</p>
219
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the expressions context</td></tr><tr><td><span class="term"><i><tt>expr</tt></i>:</span></td><td>the 0 terminated string</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new expression or NULL in case of failure</td></tr></tbody></table></div></div>
220
+ <hr/>
221
+ <div class="refsect2" lang="en"><h3><a name="xmlExpRef"/>xmlExpRef ()</h3><pre class="programlisting">void xmlExpRef (<a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> exp)<br/>
222
+ </pre><p>Increase the <a href="libxml2-SAX.html#reference">reference</a> count of the expression</p>
223
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>exp</tt></i>:</span></td><td>the expression</td></tr></tbody></table></div></div>
224
+ <hr/>
225
+ <div class="refsect2" lang="en"><h3><a name="xmlExpStringDerive"/>xmlExpStringDerive ()</h3><pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> xmlExpStringDerive (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> exp, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br/> int len)<br/>
226
+ </pre><p>Do one step of Brzozowski derivation of the expression @exp with respect to the input string</p>
227
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the expression context</td></tr><tr><td><span class="term"><i><tt>exp</tt></i>:</span></td><td>the expression</td></tr><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>the string</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the string len in bytes if available</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the resulting expression or NULL in case of internal error</td></tr></tbody></table></div></div>
228
+ <hr/>
229
+ <div class="refsect2" lang="en"><h3><a name="xmlExpSubsume"/>xmlExpSubsume ()</h3><pre class="programlisting">int xmlExpSubsume (<a href="libxml2-xmlregexp.html#xmlExpCtxtPtr">xmlExpCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> exp, <br/> <a href="libxml2-xmlregexp.html#xmlExpNodePtr">xmlExpNodePtr</a> sub)<br/>
230
+ </pre><p>Check whether @exp accepts all the languages accexpted by @sub the input being a subexpression.</p>
231
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the expressions context</td></tr><tr><td><span class="term"><i><tt>exp</tt></i>:</span></td><td>the englobing expression</td></tr><tr><td><span class="term"><i><tt>sub</tt></i>:</span></td><td>the subexpression</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 failure.</td></tr></tbody></table></div></div>
232
+ <hr/>
233
+ <div class="refsect2" lang="en"><h3><a name="xmlRegExecErrInfo"/>xmlRegExecErrInfo ()</h3><pre class="programlisting">int xmlRegExecErrInfo (<a href="libxml2-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> exec, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** string, <br/> int * nbval, <br/> int * nbneg, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** values, <br/> int * terminal)<br/>
234
+ </pre><p>Extract error informations from the regexp execution, the parameter @string will be updated with the value pushed and not accepted, the parameter @values must point to an array of @nbval string pointers on return nbval will contain the number of possible strings in that state and the @values array will be updated with them. The string values</p>
235
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>exec</tt></i>:</span></td><td>a regexp execution context generating an error</td></tr><tr><td><span class="term"><i><tt>string</tt></i>:</span></td><td>return value for the error string</td></tr><tr><td><span class="term"><i><tt>nbval</tt></i>:</span></td><td>pointer to the number of accepted values IN/OUT</td></tr><tr><td><span class="term"><i><tt>nbneg</tt></i>:</span></td><td>return number of negative transitions</td></tr><tr><td><span class="term"><i><tt>values</tt></i>:</span></td><td>pointer to the array of acceptable values</td></tr><tr><td><span class="term"><i><tt>terminal</tt></i>:</span></td><td>return value if this was a terminal state</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>will be freed with the @exec context and don't need to be deallocated. Returns: 0 in case of success or -1 in case of error.</td></tr></tbody></table></div></div>
236
+ <hr/>
237
+ <div class="refsect2" lang="en"><h3><a name="xmlRegExecNextValues"/>xmlRegExecNextValues ()</h3><pre class="programlisting">int xmlRegExecNextValues (<a href="libxml2-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> exec, <br/> int * nbval, <br/> int * nbneg, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** values, <br/> int * terminal)<br/>
238
+ </pre><p>Extract informations from the regexp execution, the parameter @values must point to an array of @nbval string pointers on return nbval will contain the number of possible strings in that state and the @values array will be updated with them. The string values</p>
239
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>exec</tt></i>:</span></td><td>a regexp execution context</td></tr><tr><td><span class="term"><i><tt>nbval</tt></i>:</span></td><td>pointer to the number of accepted values IN/OUT</td></tr><tr><td><span class="term"><i><tt>nbneg</tt></i>:</span></td><td>return number of negative transitions</td></tr><tr><td><span class="term"><i><tt>values</tt></i>:</span></td><td>pointer to the array of acceptable values</td></tr><tr><td><span class="term"><i><tt>terminal</tt></i>:</span></td><td>return value if this was a terminal state</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>will be freed with the @exec context and don't need to be deallocated. Returns: 0 in case of success or -1 in case of error.</td></tr></tbody></table></div></div>
240
+ <hr/>
241
+ <div class="refsect2" lang="en"><h3><a name="xmlRegExecPushString"/>xmlRegExecPushString ()</h3><pre class="programlisting">int xmlRegExecPushString (<a href="libxml2-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> exec, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> void * data)<br/>
242
+ </pre><p>Push one input token in the execution context</p>
243
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>exec</tt></i>:</span></td><td>a regexp execution context or NULL to indicate the end</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>a string token input</td></tr><tr><td><span class="term"><i><tt>data</tt></i>:</span></td><td>data associated to the token to reuse in callbacks</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if the regexp reached a final state, 0 if non-final, and a negative value in case of error.</td></tr></tbody></table></div></div>
244
+ <hr/>
245
+ <div class="refsect2" lang="en"><h3><a name="xmlRegExecPushString2"/>xmlRegExecPushString2 ()</h3><pre class="programlisting">int xmlRegExecPushString2 (<a href="libxml2-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> exec, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value2, <br/> void * data)<br/>
246
+ </pre><p>Push one input token in the execution context</p>
247
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>exec</tt></i>:</span></td><td>a regexp execution context or NULL to indicate the end</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>the first string token input</td></tr><tr><td><span class="term"><i><tt>value2</tt></i>:</span></td><td>the second string token input</td></tr><tr><td><span class="term"><i><tt>data</tt></i>:</span></td><td>data associated to the token to reuse in callbacks</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if the regexp reached a final state, 0 if non-final, and a negative value in case of error.</td></tr></tbody></table></div></div>
248
+ <hr/>
249
+ <div class="refsect2" lang="en"><h3><a name="xmlRegFreeExecCtxt"/>xmlRegFreeExecCtxt ()</h3><pre class="programlisting">void xmlRegFreeExecCtxt (<a href="libxml2-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> exec)<br/>
250
+ </pre><p>Free the structures associated to a regular expression evaulation context.</p>
251
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>exec</tt></i>:</span></td><td>a regular expression evaulation context</td></tr></tbody></table></div></div>
252
+ <hr/>
253
+ <div class="refsect2" lang="en"><h3><a name="xmlRegFreeRegexp"/>xmlRegFreeRegexp ()</h3><pre class="programlisting">void xmlRegFreeRegexp (<a href="libxml2-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> regexp)<br/>
254
+ </pre><p>Free a regexp</p>
255
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>regexp</tt></i>:</span></td><td>the regexp</td></tr></tbody></table></div></div>
256
+ <hr/>
257
+ <div class="refsect2" lang="en"><h3><a name="xmlRegNewExecCtxt"/>xmlRegNewExecCtxt ()</h3><pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> xmlRegNewExecCtxt (<a href="libxml2-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> comp, <br/> <a href="libxml2-xmlregexp.html#xmlRegExecCallbacks">xmlRegExecCallbacks</a> callback, <br/> void * data)<br/>
258
+ </pre><p>Build a context used for progressive evaluation of a regexp.</p>
259
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>comp</tt></i>:</span></td><td>a precompiled regular expression</td></tr><tr><td><span class="term"><i><tt>callback</tt></i>:</span></td><td>a callback function used for handling progresses in the automata matching phase</td></tr><tr><td><span class="term"><i><tt>data</tt></i>:</span></td><td>the context data associated to the callback in this context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new context</td></tr></tbody></table></div></div>
260
+ <hr/>
261
+ <div class="refsect2" lang="en"><h3><a name="xmlRegexpCompile"/>xmlRegexpCompile ()</h3><pre class="programlisting"><a href="libxml2-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> xmlRegexpCompile (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * regexp)<br/>
262
+ </pre><p>Parses a regular expression conforming to XML Schemas Part 2 Datatype Appendix F and builds an automata suitable for testing strings against that regular expression</p>
263
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>regexp</tt></i>:</span></td><td>a regular expression string</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the compiled expression or NULL in case of error</td></tr></tbody></table></div></div>
264
+ <hr/>
265
+ <div class="refsect2" lang="en"><h3><a name="xmlRegexpExec"/>xmlRegexpExec ()</h3><pre class="programlisting">int xmlRegexpExec (<a href="libxml2-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> comp, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * content)<br/>
266
+ </pre><p>Check if the regular expression generates the value</p>
267
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>comp</tt></i>:</span></td><td>the compiled regular expression</td></tr><tr><td><span class="term"><i><tt>content</tt></i>:</span></td><td>the value to check against the regular expression</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if it matches, 0 if not and a negative value in case of error</td></tr></tbody></table></div></div>
268
+ <hr/>
269
+ <div class="refsect2" lang="en"><h3><a name="xmlRegexpIsDeterminist"/>xmlRegexpIsDeterminist ()</h3><pre class="programlisting">int xmlRegexpIsDeterminist (<a href="libxml2-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> comp)<br/>
270
+ </pre><p>Check if the regular expression is determinist</p>
271
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>comp</tt></i>:</span></td><td>the compiled regular expression</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if it yes, 0 if not and a negative value in case of error</td></tr></tbody></table></div></div>
272
+ <hr/>
273
+ <div class="refsect2" lang="en"><h3><a name="xmlRegexpPrint"/>xmlRegexpPrint ()</h3><pre class="programlisting">void xmlRegexpPrint (FILE * output, <br/> <a href="libxml2-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> regexp)<br/>
274
+ </pre><p>Print the content of the compiled regular expression</p>
275
+ <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 for the output debug</td></tr><tr><td><span class="term"><i><tt>regexp</tt></i>:</span></td><td>the compiled regexp</td></tr></tbody></table></div></div>
276
+ <hr/>
277
+ </div>
278
+ </div>
279
+ </body>
280
+ </html>
@@ -0,0 +1,133 @@
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>xmlsave: the XML document serializer</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-xmlregexp.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-xmlschemas.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">xmlsave</span>
40
+ </h2>
41
+ <p>xmlsave - the XML document serializer</p>
42
+ <p>API to save document or subtree of document </p>
43
+ <p>Author(s): Daniel Veillard </p>
44
+ <div class="refsynopsisdiv">
45
+ <h2>Synopsis</h2>
46
+ <pre class="synopsis">typedef enum <a href="#xmlSaveOption">xmlSaveOption</a>;
47
+ typedef struct _xmlSaveCtxt <a href="#xmlSaveCtxt">xmlSaveCtxt</a>;
48
+ typedef <a href="libxml2-xmlsave.html#xmlSaveCtxt">xmlSaveCtxt</a> * <a href="#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a>;
49
+ <a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> <a href="#xmlSaveToIO">xmlSaveToIO</a> (<a href="libxml2-xmlIO.html#xmlOutputWriteCallback">xmlOutputWriteCallback</a> iowrite, <br/> <a href="libxml2-xmlIO.html#xmlOutputCloseCallback">xmlOutputCloseCallback</a> ioclose, <br/> void * ioctx, <br/> const char * encoding, <br/> int options);
50
+ <a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> <a href="#xmlSaveToFd">xmlSaveToFd</a> (int fd, <br/> const char * encoding, <br/> int options);
51
+ int <a href="#xmlSaveClose">xmlSaveClose</a> (<a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> ctxt);
52
+ int <a href="#xmlSaveSetAttrEscape">xmlSaveSetAttrEscape</a> (<a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> ctxt, <br/> <a href="libxml2-encoding.html#xmlCharEncodingOutputFunc">xmlCharEncodingOutputFunc</a> escape);
53
+ <a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> <a href="#xmlSaveToBuffer">xmlSaveToBuffer</a> (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buffer, <br/> const char * encoding, <br/> int options);
54
+ <a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> <a href="#xmlSaveToFilename">xmlSaveToFilename</a> (const char * filename, <br/> const char * encoding, <br/> int options);
55
+ int <a href="#xmlSaveFlush">xmlSaveFlush</a> (<a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> ctxt);
56
+ long <a href="#xmlSaveDoc">xmlSaveDoc</a> (<a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc);
57
+ int <a href="#xmlSaveSetEscape">xmlSaveSetEscape</a> (<a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> ctxt, <br/> <a href="libxml2-encoding.html#xmlCharEncodingOutputFunc">xmlCharEncodingOutputFunc</a> escape);
58
+ long <a href="#xmlSaveTree">xmlSaveTree</a> (<a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node);
59
+ </pre>
60
+ </div>
61
+ <div class="refsect1" lang="en">
62
+ <h2>Description</h2>
63
+ </div>
64
+ <div class="refsect1" lang="en">
65
+ <h2>Details</h2>
66
+ <div class="refsect2" lang="en">
67
+ <div class="refsect2" lang="en"><h3><a name="xmlSaveCtxt">Structure </a>xmlSaveCtxt</h3><pre class="programlisting">struct _xmlSaveCtxt {
68
+ The content of this structure is not made public by the API.
69
+ } xmlSaveCtxt;
70
+ </pre><p/>
71
+ </div>
72
+ <hr/>
73
+ <div class="refsect2" lang="en"><h3><a name="xmlSaveCtxtPtr">Typedef </a>xmlSaveCtxtPtr</h3><pre class="programlisting"><a href="libxml2-xmlsave.html#xmlSaveCtxt">xmlSaveCtxt</a> * xmlSaveCtxtPtr;
74
+ </pre><p/>
75
+ </div>
76
+ <hr/>
77
+ <div class="refsect2" lang="en"><h3><a name="xmlSaveOption">Enum </a>xmlSaveOption</h3><pre class="programlisting">enum <a href="#xmlSaveOption">xmlSaveOption</a> {
78
+ <a name="XML_SAVE_FORMAT">XML_SAVE_FORMAT</a> = 1 /* format save output */
79
+ <a name="XML_SAVE_NO_DECL">XML_SAVE_NO_DECL</a> = 2 /* drop the xml declaration */
80
+ <a name="XML_SAVE_NO_EMPTY">XML_SAVE_NO_EMPTY</a> = 4 /* no empty tags */
81
+ <a name="XML_SAVE_NO_XHTML">XML_SAVE_NO_XHTML</a> = 8 /* disable XHTML1 specific rules */
82
+ <a name="XML_SAVE_XHTML">XML_SAVE_XHTML</a> = 16 /* force XHTML1 specific rules */
83
+ <a name="XML_SAVE_AS_XML">XML_SAVE_AS_XML</a> = 32 /* force XML serialization on HTML doc */
84
+ <a name="XML_SAVE_AS_HTML">XML_SAVE_AS_HTML</a> = 64 /* force HTML serialization on XML doc */
85
+ <a name="XML_SAVE_WSNONSIG">XML_SAVE_WSNONSIG</a> = 128 /* format with non-significant whitespace */
86
+ };
87
+ </pre><p/>
88
+ </div>
89
+ <hr/>
90
+ <div class="refsect2" lang="en"><h3><a name="xmlSaveClose"/>xmlSaveClose ()</h3><pre class="programlisting">int xmlSaveClose (<a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> ctxt)<br/>
91
+ </pre><p>Close a document saving context, i.e. make sure that all bytes have been output and free the associated data.</p>
92
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a document saving context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of byte written or -1 in case of error.</td></tr></tbody></table></div></div>
93
+ <hr/>
94
+ <div class="refsect2" lang="en"><h3><a name="xmlSaveDoc"/>xmlSaveDoc ()</h3><pre class="programlisting">long xmlSaveDoc (<a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br/>
95
+ </pre><p>Save a full document to a saving context TODO: The function is not fully implemented yet as it does not return the byte count but 0 instead</p>
96
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a document saving context</td></tr><tr><td><span class="term"><i><tt>doc</tt></i>:</span></td><td>a document</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of byte written or -1 in case of error</td></tr></tbody></table></div></div>
97
+ <hr/>
98
+ <div class="refsect2" lang="en"><h3><a name="xmlSaveFlush"/>xmlSaveFlush ()</h3><pre class="programlisting">int xmlSaveFlush (<a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> ctxt)<br/>
99
+ </pre><p>Flush a document saving context, i.e. make sure that all bytes have been output.</p>
100
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a document saving context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of byte written or -1 in case of error.</td></tr></tbody></table></div></div>
101
+ <hr/>
102
+ <div class="refsect2" lang="en"><h3><a name="xmlSaveSetAttrEscape"/>xmlSaveSetAttrEscape ()</h3><pre class="programlisting">int xmlSaveSetAttrEscape (<a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> ctxt, <br/> <a href="libxml2-encoding.html#xmlCharEncodingOutputFunc">xmlCharEncodingOutputFunc</a> escape)<br/>
103
+ </pre><p>Set a custom escaping function to be used for text in <a href="libxml2-SAX.html#attribute">attribute</a> content</p>
104
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a document saving context</td></tr><tr><td><span class="term"><i><tt>escape</tt></i>:</span></td><td>the escaping function</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if successful or -1 in case of error.</td></tr></tbody></table></div></div>
105
+ <hr/>
106
+ <div class="refsect2" lang="en"><h3><a name="xmlSaveSetEscape"/>xmlSaveSetEscape ()</h3><pre class="programlisting">int xmlSaveSetEscape (<a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> ctxt, <br/> <a href="libxml2-encoding.html#xmlCharEncodingOutputFunc">xmlCharEncodingOutputFunc</a> escape)<br/>
107
+ </pre><p>Set a custom escaping function to be used for text in element content</p>
108
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a document saving context</td></tr><tr><td><span class="term"><i><tt>escape</tt></i>:</span></td><td>the escaping function</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if successful or -1 in case of error.</td></tr></tbody></table></div></div>
109
+ <hr/>
110
+ <div class="refsect2" lang="en"><h3><a name="xmlSaveToBuffer"/>xmlSaveToBuffer ()</h3><pre class="programlisting"><a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> xmlSaveToBuffer (<a href="libxml2-tree.html#xmlBufferPtr">xmlBufferPtr</a> buffer, <br/> const char * encoding, <br/> int options)<br/>
111
+ </pre><p>Create a document saving context serializing to a buffer with the encoding and the options given</p>
112
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>buffer</tt></i>:</span></td><td>a buffer</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the encoding name to use or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a set of xmlSaveOptions</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new serialization context or NULL in case of error.</td></tr></tbody></table></div></div>
113
+ <hr/>
114
+ <div class="refsect2" lang="en"><h3><a name="xmlSaveToFd"/>xmlSaveToFd ()</h3><pre class="programlisting"><a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> xmlSaveToFd (int fd, <br/> const char * encoding, <br/> int options)<br/>
115
+ </pre><p>Create a document saving context serializing to a file descriptor with the encoding and the options given.</p>
116
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>fd</tt></i>:</span></td><td>a file descriptor number</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the encoding name to use or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a set of xmlSaveOptions</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new serialization context or NULL in case of error.</td></tr></tbody></table></div></div>
117
+ <hr/>
118
+ <div class="refsect2" lang="en"><h3><a name="xmlSaveToFilename"/>xmlSaveToFilename ()</h3><pre class="programlisting"><a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> xmlSaveToFilename (const char * filename, <br/> const char * encoding, <br/> int options)<br/>
119
+ </pre><p>Create a document saving context serializing to a filename or possibly to an URL (but this is less reliable) with the encoding and the options given.</p>
120
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>a file name or an URL</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the encoding name to use or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a set of xmlSaveOptions</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new serialization context or NULL in case of error.</td></tr></tbody></table></div></div>
121
+ <hr/>
122
+ <div class="refsect2" lang="en"><h3><a name="xmlSaveToIO"/>xmlSaveToIO ()</h3><pre class="programlisting"><a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> xmlSaveToIO (<a href="libxml2-xmlIO.html#xmlOutputWriteCallback">xmlOutputWriteCallback</a> iowrite, <br/> <a href="libxml2-xmlIO.html#xmlOutputCloseCallback">xmlOutputCloseCallback</a> ioclose, <br/> void * ioctx, <br/> const char * encoding, <br/> int options)<br/>
123
+ </pre><p>Create a document saving context serializing to a file descriptor with the encoding and the options given</p>
124
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>iowrite</tt></i>:</span></td><td>an I/O write function</td></tr><tr><td><span class="term"><i><tt>ioclose</tt></i>:</span></td><td>an I/O close function</td></tr><tr><td><span class="term"><i><tt>ioctx</tt></i>:</span></td><td>an I/O handler</td></tr><tr><td><span class="term"><i><tt>encoding</tt></i>:</span></td><td>the encoding name to use or NULL</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a set of xmlSaveOptions</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new serialization context or NULL in case of error.</td></tr></tbody></table></div></div>
125
+ <hr/>
126
+ <div class="refsect2" lang="en"><h3><a name="xmlSaveTree"/>xmlSaveTree ()</h3><pre class="programlisting">long xmlSaveTree (<a href="libxml2-xmlsave.html#xmlSaveCtxtPtr">xmlSaveCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br/>
127
+ </pre><p>Save a subtree starting at the node parameter to a saving context TODO: The function is not fully implemented yet as it does not return the byte count but 0 instead</p>
128
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a document saving context</td></tr><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td>the top node of the subtree to save</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of byte written or -1 in case of error</td></tr></tbody></table></div></div>
129
+ <hr/>
130
+ </div>
131
+ </div>
132
+ </body>
133
+ </html>
@@ -0,0 +1,314 @@
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>xmlschemas: incomplete XML Schemas structure implementation</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-xmlsave.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-xmlschemastypes.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">xmlschemas</span>
40
+ </h2>
41
+ <p>xmlschemas - incomplete XML Schemas structure implementation</p>
42
+ <p>interface to the XML Schemas handling and schema validity checking, it is incomplete right now. </p>
43
+ <p>Author(s): Daniel Veillard </p>
44
+ <div class="refsynopsisdiv">
45
+ <h2>Synopsis</h2>
46
+ <pre class="synopsis">typedef <a href="libxml2-xmlschemas.html#xmlSchema">xmlSchema</a> * <a href="#xmlSchemaPtr">xmlSchemaPtr</a>;
47
+ typedef struct _xmlSchemaParserCtxt <a href="#xmlSchemaParserCtxt">xmlSchemaParserCtxt</a>;
48
+ typedef enum <a href="#xmlSchemaValidOption">xmlSchemaValidOption</a>;
49
+ typedef <a href="libxml2-xmlschemas.html#xmlSchemaSAXPlugStruct">xmlSchemaSAXPlugStruct</a> * <a href="#xmlSchemaSAXPlugPtr">xmlSchemaSAXPlugPtr</a>;
50
+ typedef struct _xmlSchemaSAXPlug <a href="#xmlSchemaSAXPlugStruct">xmlSchemaSAXPlugStruct</a>;
51
+ typedef <a href="libxml2-xmlschemas.html#xmlSchemaValidCtxt">xmlSchemaValidCtxt</a> * <a href="#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a>;
52
+ typedef <a href="libxml2-xmlschemas.html#xmlSchemaParserCtxt">xmlSchemaParserCtxt</a> * <a href="#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a>;
53
+ typedef struct _xmlSchema <a href="#xmlSchema">xmlSchema</a>;
54
+ typedef enum <a href="#xmlSchemaValidError">xmlSchemaValidError</a>;
55
+ typedef struct _xmlSchemaValidCtxt <a href="#xmlSchemaValidCtxt">xmlSchemaValidCtxt</a>;
56
+ <a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> <a href="#xmlSchemaNewDocParserCtxt">xmlSchemaNewDocParserCtxt</a> (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc);
57
+ int <a href="#xmlSchemaSAXUnplug">xmlSchemaSAXUnplug</a> (<a href="libxml2-xmlschemas.html#xmlSchemaSAXPlugPtr">xmlSchemaSAXPlugPtr</a> plug);
58
+ <a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> <a href="#xmlSchemaParse">xmlSchemaParse</a> (<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> ctxt);
59
+ void <a href="#xmlSchemaFreeParserCtxt">xmlSchemaFreeParserCtxt</a> (<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> ctxt);
60
+ void <a href="#xmlSchemaValidateSetFilename">xmlSchemaValidateSetFilename</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> vctxt, <br/> const char * filename);
61
+ <a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> <a href="#xmlSchemaNewParserCtxt">xmlSchemaNewParserCtxt</a> (const char * URL);
62
+ int <a href="#xmlSchemaIsValid">xmlSchemaIsValid</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt);
63
+ typedef void <a href="#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> (void * ctx, <br/> const char * msg, <br/> ... ...);
64
+ <a href="libxml2-xmlschemas.html#xmlSchemaSAXPlugPtr">xmlSchemaSAXPlugPtr</a> <a href="#xmlSchemaSAXPlug">xmlSchemaSAXPlug</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlSAXHandlerPtr">xmlSAXHandlerPtr</a> * sax, <br/> void ** user_data);
65
+ int <a href="#xmlSchemaValidateStream">xmlSchemaValidateStream</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlParserInputBufferPtr">xmlParserInputBufferPtr</a> input, <br/> <a href="libxml2-encoding.html#xmlCharEncoding">xmlCharEncoding</a> enc, <br/> <a href="libxml2-tree.html#xmlSAXHandlerPtr">xmlSAXHandlerPtr</a> sax, <br/> void * user_data);
66
+ int <a href="#xmlSchemaGetParserErrors">xmlSchemaGetParserErrors</a> (<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> * err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> * warn, <br/> void ** ctx);
67
+ void <a href="#xmlSchemaValidateSetLocator">xmlSchemaValidateSetLocator</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> vctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityLocatorFunc">xmlSchemaValidityLocatorFunc</a> f, <br/> void * ctxt);
68
+ int <a href="#xmlSchemaValidateOneElement">xmlSchemaValidateOneElement</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem);
69
+ void <a href="#xmlSchemaSetValidStructuredErrors">xmlSchemaSetValidStructuredErrors</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a> serror, <br/> void * ctx);
70
+ void <a href="#xmlSchemaSetValidErrors">xmlSchemaSetValidErrors</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> warn, <br/> void * ctx);
71
+ int <a href="#xmlSchemaValidCtxtGetOptions">xmlSchemaValidCtxtGetOptions</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt);
72
+ int <a href="#xmlSchemaValidateFile">xmlSchemaValidateFile</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> const char * filename, <br/> int options);
73
+ int <a href="#xmlSchemaValidateDoc">xmlSchemaValidateDoc</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc);
74
+ void <a href="#xmlSchemaFree">xmlSchemaFree</a> (<a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> schema);
75
+ <a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> <a href="#xmlSchemaNewMemParserCtxt">xmlSchemaNewMemParserCtxt</a> (const char * buffer, <br/> int size);
76
+ typedef int <a href="#xmlSchemaValidityLocatorFunc">xmlSchemaValidityLocatorFunc</a> (void * ctx, <br/> const char ** file, <br/> unsigned long * line);
77
+ int <a href="#xmlSchemaGetValidErrors">xmlSchemaGetValidErrors</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> * err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> * warn, <br/> void ** ctx);
78
+ int <a href="#xmlSchemaSetValidOptions">xmlSchemaSetValidOptions</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> int options);
79
+ void <a href="#xmlSchemaSetParserErrors">xmlSchemaSetParserErrors</a> (<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> warn, <br/> void * ctx);
80
+ typedef void <a href="#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> (void * ctx, <br/> const char * msg, <br/> ... ...);
81
+ void <a href="#xmlSchemaDump">xmlSchemaDump</a> (FILE * output, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> schema);
82
+ void <a href="#xmlSchemaFreeValidCtxt">xmlSchemaFreeValidCtxt</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt);
83
+ <a href="libxml2-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> <a href="#xmlSchemaValidCtxtGetParserCtxt">xmlSchemaValidCtxtGetParserCtxt</a> (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt);
84
+ void <a href="#xmlSchemaSetParserStructuredErrors">xmlSchemaSetParserStructuredErrors</a> (<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a> serror, <br/> void * ctx);
85
+ <a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> <a href="#xmlSchemaNewValidCtxt">xmlSchemaNewValidCtxt</a> (<a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> schema);
86
+ </pre>
87
+ </div>
88
+ <div class="refsect1" lang="en">
89
+ <h2>Description</h2>
90
+ </div>
91
+ <div class="refsect1" lang="en">
92
+ <h2>Details</h2>
93
+ <div class="refsect2" lang="en">
94
+ <div class="refsect2" lang="en"><h3><a name="xmlSchema">Structure </a>xmlSchema</h3><pre class="programlisting">struct _xmlSchema {
95
+ const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name : schema name
96
+ const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * targetNamespace : the target namespace
97
+ const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * version
98
+ const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * id : Obsolete
99
+ <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc
100
+ <a href="libxml2-schemasInternals.html#xmlSchemaAnnotPtr">xmlSchemaAnnotPtr</a> annot
101
+ int flags
102
+ <a href="libxml2-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> typeDecl
103
+ <a href="libxml2-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> attrDecl
104
+ <a href="libxml2-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> attrgrpDecl
105
+ <a href="libxml2-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> elemDecl
106
+ <a href="libxml2-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> notaDecl
107
+ <a href="libxml2-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> schemasImports
108
+ void * _private : unused by the library for users or bindings
109
+ <a href="libxml2-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> groupDecl
110
+ <a href="libxml2-dict.html#xmlDictPtr">xmlDictPtr</a> dict
111
+ void * includes : the includes, this is opaque for now
112
+ int preserve : whether to free the document
113
+ int counter : used to give ononymous components unique names
114
+ <a href="libxml2-hash.html#xmlHashTablePtr">xmlHashTablePtr</a> idcDef : All identity-constraint defs.
115
+ void * volatiles : Obsolete
116
+ } xmlSchema;
117
+ </pre><p/>
118
+ </div>
119
+ <hr/>
120
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaParserCtxt">Structure </a>xmlSchemaParserCtxt</h3><pre class="programlisting">struct _xmlSchemaParserCtxt {
121
+ The content of this structure is not made public by the API.
122
+ } xmlSchemaParserCtxt;
123
+ </pre><p/>
124
+ </div>
125
+ <hr/>
126
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaParserCtxtPtr">Typedef </a>xmlSchemaParserCtxtPtr</h3><pre class="programlisting"><a href="libxml2-xmlschemas.html#xmlSchemaParserCtxt">xmlSchemaParserCtxt</a> * xmlSchemaParserCtxtPtr;
127
+ </pre><p/>
128
+ </div>
129
+ <hr/>
130
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaPtr">Typedef </a>xmlSchemaPtr</h3><pre class="programlisting"><a href="libxml2-xmlschemas.html#xmlSchema">xmlSchema</a> * xmlSchemaPtr;
131
+ </pre><p/>
132
+ </div>
133
+ <hr/>
134
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaSAXPlugPtr">Typedef </a>xmlSchemaSAXPlugPtr</h3><pre class="programlisting"><a href="libxml2-xmlschemas.html#xmlSchemaSAXPlugStruct">xmlSchemaSAXPlugStruct</a> * xmlSchemaSAXPlugPtr;
135
+ </pre><p/>
136
+ </div>
137
+ <hr/>
138
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaSAXPlugStruct">Structure </a>xmlSchemaSAXPlugStruct</h3><pre class="programlisting">struct _xmlSchemaSAXPlug {
139
+ The content of this structure is not made public by the API.
140
+ } xmlSchemaSAXPlugStruct;
141
+ </pre><p/>
142
+ </div>
143
+ <hr/>
144
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidCtxt">Structure </a>xmlSchemaValidCtxt</h3><pre class="programlisting">struct _xmlSchemaValidCtxt {
145
+ The content of this structure is not made public by the API.
146
+ } xmlSchemaValidCtxt;
147
+ </pre><p/>
148
+ </div>
149
+ <hr/>
150
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidCtxtPtr">Typedef </a>xmlSchemaValidCtxtPtr</h3><pre class="programlisting"><a href="libxml2-xmlschemas.html#xmlSchemaValidCtxt">xmlSchemaValidCtxt</a> * xmlSchemaValidCtxtPtr;
151
+ </pre><p/>
152
+ </div>
153
+ <hr/>
154
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidError">Enum </a>xmlSchemaValidError</h3><pre class="programlisting">enum <a href="#xmlSchemaValidError">xmlSchemaValidError</a> {
155
+ <a name="XML_SCHEMAS_ERR_OK">XML_SCHEMAS_ERR_OK</a> = 0
156
+ <a name="XML_SCHEMAS_ERR_NOROOT">XML_SCHEMAS_ERR_NOROOT</a> = 1
157
+ <a name="XML_SCHEMAS_ERR_UNDECLAREDELEM">XML_SCHEMAS_ERR_UNDECLAREDELEM</a> = 2
158
+ <a name="XML_SCHEMAS_ERR_NOTTOPLEVEL">XML_SCHEMAS_ERR_NOTTOPLEVEL</a> = 3
159
+ <a name="XML_SCHEMAS_ERR_MISSING">XML_SCHEMAS_ERR_MISSING</a> = 4
160
+ <a name="XML_SCHEMAS_ERR_WRONGELEM">XML_SCHEMAS_ERR_WRONGELEM</a> = 5
161
+ <a name="XML_SCHEMAS_ERR_NOTYPE">XML_SCHEMAS_ERR_NOTYPE</a> = 6
162
+ <a name="XML_SCHEMAS_ERR_NOROLLBACK">XML_SCHEMAS_ERR_NOROLLBACK</a> = 7
163
+ <a name="XML_SCHEMAS_ERR_ISABSTRACT">XML_SCHEMAS_ERR_ISABSTRACT</a> = 8
164
+ <a name="XML_SCHEMAS_ERR_NOTEMPTY">XML_SCHEMAS_ERR_NOTEMPTY</a> = 9
165
+ <a name="XML_SCHEMAS_ERR_ELEMCONT">XML_SCHEMAS_ERR_ELEMCONT</a> = 10
166
+ <a name="XML_SCHEMAS_ERR_HAVEDEFAULT">XML_SCHEMAS_ERR_HAVEDEFAULT</a> = 11
167
+ <a name="XML_SCHEMAS_ERR_NOTNILLABLE">XML_SCHEMAS_ERR_NOTNILLABLE</a> = 12
168
+ <a name="XML_SCHEMAS_ERR_EXTRACONTENT">XML_SCHEMAS_ERR_EXTRACONTENT</a> = 13
169
+ <a name="XML_SCHEMAS_ERR_INVALIDATTR">XML_SCHEMAS_ERR_INVALIDATTR</a> = 14
170
+ <a name="XML_SCHEMAS_ERR_INVALIDELEM">XML_SCHEMAS_ERR_INVALIDELEM</a> = 15
171
+ <a name="XML_SCHEMAS_ERR_NOTDETERMINIST">XML_SCHEMAS_ERR_NOTDETERMINIST</a> = 16
172
+ <a name="XML_SCHEMAS_ERR_CONSTRUCT">XML_SCHEMAS_ERR_CONSTRUCT</a> = 17
173
+ <a name="XML_SCHEMAS_ERR_INTERNAL">XML_SCHEMAS_ERR_INTERNAL</a> = 18
174
+ <a name="XML_SCHEMAS_ERR_NOTSIMPLE">XML_SCHEMAS_ERR_NOTSIMPLE</a> = 19
175
+ <a name="XML_SCHEMAS_ERR_ATTRUNKNOWN">XML_SCHEMAS_ERR_ATTRUNKNOWN</a> = 20
176
+ <a name="XML_SCHEMAS_ERR_ATTRINVALID">XML_SCHEMAS_ERR_ATTRINVALID</a> = 21
177
+ <a name="XML_SCHEMAS_ERR_VALUE">XML_SCHEMAS_ERR_VALUE</a> = 22
178
+ <a name="XML_SCHEMAS_ERR_FACET">XML_SCHEMAS_ERR_FACET</a> = 23
179
+ <a name="XML_SCHEMAS_ERR_">XML_SCHEMAS_ERR_</a> = 24
180
+ <a name="XML_SCHEMAS_ERR_XXX">XML_SCHEMAS_ERR_XXX</a> = 25
181
+ };
182
+ </pre><p/>
183
+ </div>
184
+ <hr/>
185
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidOption">Enum </a>xmlSchemaValidOption</h3><pre class="programlisting">enum <a href="#xmlSchemaValidOption">xmlSchemaValidOption</a> {
186
+ <a name="XML_SCHEMA_VAL_VC_I_CREATE">XML_SCHEMA_VAL_VC_I_CREATE</a> = 1 /* Default/fixed: create an attribute node * or an element's text node on the instance. * */
187
+ };
188
+ </pre><p/>
189
+ </div>
190
+ <hr/>
191
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidityErrorFunc"/>Function type xmlSchemaValidityErrorFunc</h3><pre class="programlisting">void xmlSchemaValidityErrorFunc (void * ctx, <br/> const char * msg, <br/> ... ...)<br/>
192
+ </pre><p>Signature of an error callback from an XSD validation</p>
193
+ <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>
194
+ <hr/>
195
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidityLocatorFunc"/>Function type xmlSchemaValidityLocatorFunc</h3><pre class="programlisting">int xmlSchemaValidityLocatorFunc (void * ctx, <br/> const char ** file, <br/> unsigned long * line)<br/>
196
+ </pre><p>A schemas validation locator, a callback called by the validator. This is used when file or node informations are not available to find out what file and line number are affected</p>
197
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctx</tt></i>:</span></td><td>user provided context</td></tr><tr><td><span class="term"><i><tt>file</tt></i>:</span></td><td>returned file information</td></tr><tr><td><span class="term"><i><tt>line</tt></i>:</span></td><td>returned line information</td></tr><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>
198
+ <hr/>
199
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidityWarningFunc"/>Function type xmlSchemaValidityWarningFunc</h3><pre class="programlisting">void xmlSchemaValidityWarningFunc (void * ctx, <br/> const char * msg, <br/> ... ...)<br/>
200
+ </pre><p>Signature of a warning callback from an XSD validation</p>
201
+ <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>
202
+ <hr/>
203
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaDump"/>xmlSchemaDump ()</h3><pre class="programlisting">void xmlSchemaDump (FILE * output, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> schema)<br/>
204
+ </pre><p>Dump a Schema structure.</p>
205
+ <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>
206
+ <hr/>
207
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaFree"/>xmlSchemaFree ()</h3><pre class="programlisting">void xmlSchemaFree (<a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> schema)<br/>
208
+ </pre><p>Deallocate a Schema structure.</p>
209
+ <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>
210
+ <hr/>
211
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaFreeParserCtxt"/>xmlSchemaFreeParserCtxt ()</h3><pre class="programlisting">void xmlSchemaFreeParserCtxt (<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> ctxt)<br/>
212
+ </pre><p>Free the resources associated to the schema parser context</p>
213
+ <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>
214
+ <hr/>
215
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaFreeValidCtxt"/>xmlSchemaFreeValidCtxt ()</h3><pre class="programlisting">void xmlSchemaFreeValidCtxt (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt)<br/>
216
+ </pre><p>Free the resources associated to the schema validation context</p>
217
+ <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>
218
+ <hr/>
219
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaGetParserErrors"/>xmlSchemaGetParserErrors ()</h3><pre class="programlisting">int xmlSchemaGetParserErrors (<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> * err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> * warn, <br/> void ** ctx)<br/>
220
+ </pre><p>Get the callback information used to handle errors for a parser context</p>
221
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a XMl-Schema parser 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>
222
+ <hr/>
223
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaGetValidErrors"/>xmlSchemaGetValidErrors ()</h3><pre class="programlisting">int xmlSchemaGetValidErrors (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> * err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> * warn, <br/> void ** ctx)<br/>
224
+ </pre><p>Get the error and warning callback informations</p>
225
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a XML-Schema 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>
226
+ <hr/>
227
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaIsValid"/>xmlSchemaIsValid ()</h3><pre class="programlisting">int xmlSchemaIsValid (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt)<br/>
228
+ </pre><p>Check if any error was detected during validation.</p>
229
+ <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><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if valid so far, 0 if errors were detected, and -1 in case of internal error.</td></tr></tbody></table></div></div>
230
+ <hr/>
231
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaNewDocParserCtxt"/>xmlSchemaNewDocParserCtxt ()</h3><pre class="programlisting"><a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> xmlSchemaNewDocParserCtxt (<a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br/>
232
+ </pre><p>Create an XML Schemas parse context for that document. NB. The document may be modified during the parsing process.</p>
233
+ <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>
234
+ <hr/>
235
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaNewMemParserCtxt"/>xmlSchemaNewMemParserCtxt ()</h3><pre class="programlisting"><a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> xmlSchemaNewMemParserCtxt (const char * buffer, <br/> int size)<br/>
236
+ </pre><p>Create an XML Schemas parse context for that memory buffer expected to contain an XML Schemas file.</p>
237
+ <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>
238
+ <hr/>
239
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaNewParserCtxt"/>xmlSchemaNewParserCtxt ()</h3><pre class="programlisting"><a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> xmlSchemaNewParserCtxt (const char * URL)<br/>
240
+ </pre><p>Create an XML Schemas parse context for that file/resource expected to contain an XML Schemas file.</p>
241
+ <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>
242
+ <hr/>
243
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaNewValidCtxt"/>xmlSchemaNewValidCtxt ()</h3><pre class="programlisting"><a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> xmlSchemaNewValidCtxt (<a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> schema)<br/>
244
+ </pre><p>Create an XML Schemas validation context based on the given schema.</p>
245
+ <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 Schemas</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>
246
+ <hr/>
247
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaParse"/>xmlSchemaParse ()</h3><pre class="programlisting"><a href="libxml2-xmlschemas.html#xmlSchemaPtr">xmlSchemaPtr</a> xmlSchemaParse (<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> ctxt)<br/>
248
+ </pre><p>parse a schema definition resource and build an internal XML Shema struture which can be used to validate instances.</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 schema validation context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the internal XML Schema structure built from the resource or NULL in case of error</td></tr></tbody></table></div></div>
250
+ <hr/>
251
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaSAXPlug"/>xmlSchemaSAXPlug ()</h3><pre class="programlisting"><a href="libxml2-xmlschemas.html#xmlSchemaSAXPlugPtr">xmlSchemaSAXPlugPtr</a> xmlSchemaSAXPlug (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlSAXHandlerPtr">xmlSAXHandlerPtr</a> * sax, <br/> void ** user_data)<br/>
252
+ </pre><p>Plug a SAX based validation layer in a SAX parsing event flow. The original @saxptr and @dataptr data are replaced by new pointers but the calls to the original will be maintained.</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 schema validation context</td></tr><tr><td><span class="term"><i><tt>sax</tt></i>:</span></td><td>a pointer to the original <a href="libxml2-tree.html#xmlSAXHandlerPtr">xmlSAXHandlerPtr</a></td></tr><tr><td><span class="term"><i><tt>user_data</tt></i>:</span></td><td>a pointer to the original SAX user data pointer</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to a data structure needed to unplug the validation layer or NULL in case of errors.</td></tr></tbody></table></div></div>
254
+ <hr/>
255
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaSAXUnplug"/>xmlSchemaSAXUnplug ()</h3><pre class="programlisting">int xmlSchemaSAXUnplug (<a href="libxml2-xmlschemas.html#xmlSchemaSAXPlugPtr">xmlSchemaSAXPlugPtr</a> plug)<br/>
256
+ </pre><p>Unplug a SAX based validation layer in a SAX parsing event flow. The original pointers used in the call are restored.</p>
257
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>plug</tt></i>:</span></td><td>a data structure returned by <a href="libxml2-xmlschemas.html#xmlSchemaSAXPlug">xmlSchemaSAXPlug</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success and -1 in case of failure.</td></tr></tbody></table></div></div>
258
+ <hr/>
259
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaSetParserErrors"/>xmlSchemaSetParserErrors ()</h3><pre class="programlisting">void xmlSchemaSetParserErrors (<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> warn, <br/> void * ctx)<br/>
260
+ </pre><p>Set the callback functions used to handle errors for a validation context</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>a schema 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>
262
+ <hr/>
263
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaSetParserStructuredErrors"/>xmlSchemaSetParserStructuredErrors ()</h3><pre class="programlisting">void xmlSchemaSetParserStructuredErrors (<a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a> serror, <br/> void * ctx)<br/>
264
+ </pre><p>Set the structured error callback</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>a schema parser 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>
266
+ <hr/>
267
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaSetValidErrors"/>xmlSchemaSetValidErrors ()</h3><pre class="programlisting">void xmlSchemaSetValidErrors (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityErrorFunc">xmlSchemaValidityErrorFunc</a> err, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityWarningFunc">xmlSchemaValidityWarningFunc</a> warn, <br/> void * ctx)<br/>
268
+ </pre><p>Set the error and warning callback informations</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>a schema 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>
270
+ <hr/>
271
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaSetValidOptions"/>xmlSchemaSetValidOptions ()</h3><pre class="programlisting">int xmlSchemaSetValidOptions (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> int options)<br/>
272
+ </pre><p>Sets the options to be used during the validation.</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 schema validation context</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a combination of <a href="libxml2-xmlschemas.html#xmlSchemaValidOption">xmlSchemaValidOption</a></td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 in case of success, -1 in case of an API error.</td></tr></tbody></table></div></div>
274
+ <hr/>
275
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaSetValidStructuredErrors"/>xmlSchemaSetValidStructuredErrors ()</h3><pre class="programlisting">void xmlSchemaSetValidStructuredErrors (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-xmlerror.html#xmlStructuredErrorFunc">xmlStructuredErrorFunc</a> serror, <br/> void * ctx)<br/>
276
+ </pre><p>Set the structured error callback</p>
277
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema 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>
278
+ <hr/>
279
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidCtxtGetOptions"/>xmlSchemaValidCtxtGetOptions ()</h3><pre class="programlisting">int xmlSchemaValidCtxtGetOptions (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt)<br/>
280
+ </pre><p>Get the validation context options.</p>
281
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema validation context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the option combination or -1 on error.</td></tr></tbody></table></div></div>
282
+ <hr/>
283
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidCtxtGetParserCtxt"/>xmlSchemaValidCtxtGetParserCtxt ()</h3><pre class="programlisting"><a href="libxml2-tree.html#xmlParserCtxtPtr">xmlParserCtxtPtr</a> xmlSchemaValidCtxtGetParserCtxt (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt)<br/>
284
+ </pre><p>allow access to the parser context of the schema validation context</p>
285
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema validation context</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the parser context of the schema validation context or NULL in case of error.</td></tr></tbody></table></div></div>
286
+ <hr/>
287
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateDoc"/>xmlSchemaValidateDoc ()</h3><pre class="programlisting">int xmlSchemaValidateDoc (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlDocPtr">xmlDocPtr</a> doc)<br/>
288
+ </pre><p>Validate a document tree in memory.</p>
289
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema 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 schemas valid, a positive error code number otherwise and -1 in case of internal or API error.</td></tr></tbody></table></div></div>
290
+ <hr/>
291
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateFile"/>xmlSchemaValidateFile ()</h3><pre class="programlisting">int xmlSchemaValidateFile (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> const char * filename, <br/> int options)<br/>
292
+ </pre><p>Do a schemas validation of the given resource, it will use the SAX streamable validation internally.</p>
293
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema validation context</td></tr><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>the URI of the instance</td></tr><tr><td><span class="term"><i><tt>options</tt></i>:</span></td><td>a future set of options, currently unused</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 an internal or API error.</td></tr></tbody></table></div></div>
294
+ <hr/>
295
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateOneElement"/>xmlSchemaValidateOneElement ()</h3><pre class="programlisting">int xmlSchemaValidateOneElement (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> elem)<br/>
296
+ </pre><p>Validate a branch of a tree, starting with the given @elem.</p>
297
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema validation context</td></tr><tr><td><span class="term"><i><tt>elem</tt></i>:</span></td><td>an element node</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if the element and its subtree is valid, a positive error code number otherwise and -1 in case of an internal or API error.</td></tr></tbody></table></div></div>
298
+ <hr/>
299
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateSetFilename"/>xmlSchemaValidateSetFilename ()</h3><pre class="programlisting">void xmlSchemaValidateSetFilename (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> vctxt, <br/> const char * filename)<br/>
300
+ </pre><p>Workaround to provide file error reporting information when this is not provided by current APIs</p>
301
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>vctxt</tt></i>:</span></td><td>the schema validation context</td></tr><tr><td><span class="term"><i><tt>filename</tt></i>:</span></td><td>the file name</td></tr></tbody></table></div></div>
302
+ <hr/>
303
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateSetLocator"/>xmlSchemaValidateSetLocator ()</h3><pre class="programlisting">void xmlSchemaValidateSetLocator (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> vctxt, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaValidityLocatorFunc">xmlSchemaValidityLocatorFunc</a> f, <br/> void * ctxt)<br/>
304
+ </pre><p>Allows to set a locator function to the validation context, which will be used to provide file and line information since those are not provided as part of the SAX validation flow Setting @f to NULL disable the locator.</p>
305
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>vctxt</tt></i>:</span></td><td>a schema validation context</td></tr><tr><td><span class="term"><i><tt>f</tt></i>:</span></td><td>the locator function pointer</td></tr><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>the locator context</td></tr></tbody></table></div></div>
306
+ <hr/>
307
+ <div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateStream"/>xmlSchemaValidateStream ()</h3><pre class="programlisting">int xmlSchemaValidateStream (<a href="libxml2-xmlschemas.html#xmlSchemaValidCtxtPtr">xmlSchemaValidCtxtPtr</a> ctxt, <br/> <a href="libxml2-tree.html#xmlParserInputBufferPtr">xmlParserInputBufferPtr</a> input, <br/> <a href="libxml2-encoding.html#xmlCharEncoding">xmlCharEncoding</a> enc, <br/> <a href="libxml2-tree.html#xmlSAXHandlerPtr">xmlSAXHandlerPtr</a> sax, <br/> void * user_data)<br/>
308
+ </pre><p>Validate an input based on a flow of SAX event from the parser and forward the events to the @sax handler with the provided @user_data the user provided @sax handler must be a SAX2 one.</p>
309
+ <div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>ctxt</tt></i>:</span></td><td>a schema validation context</td></tr><tr><td><span class="term"><i><tt>input</tt></i>:</span></td><td>the input to use for reading the data</td></tr><tr><td><span class="term"><i><tt>enc</tt></i>:</span></td><td>an optional encoding information</td></tr><tr><td><span class="term"><i><tt>sax</tt></i>:</span></td><td>a SAX handler for the resulting events</td></tr><tr><td><span class="term"><i><tt>user_data</tt></i>:</span></td><td>the context to provide to the SAX handler.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if the document is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.</td></tr></tbody></table></div></div>
310
+ <hr/>
311
+ </div>
312
+ </div>
313
+ </body>
314
+ </html>