gtksourceview3 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (399) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +15 -2
  3. data/ext/gtksourceview3/extconf.rb +7 -2
  4. data/lib/1.9/gtksourceview3.so +0 -0
  5. data/lib/2.0/gtksourceview3.so +0 -0
  6. data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
  7. data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +4 -4
  8. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +4 -0
  9. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +80 -90
  10. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +4 -0
  11. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +2 -2
  12. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +9 -0
  13. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +2 -0
  14. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +3 -0
  15. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +133 -0
  16. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +85 -0
  17. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +8 -4
  18. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +52 -35
  19. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +2 -6
  20. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +2 -0
  21. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +34 -0
  22. data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +6 -6
  23. data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
  24. data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
  25. data/vendor/local/lib/libgtksourceview-3.0.la +5 -5
  26. data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  27. data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  28. data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  29. data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  30. data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  31. data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  32. data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  33. data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  34. data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  35. data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  36. data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  37. data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  38. data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  39. data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  40. data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  41. data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  42. data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  43. data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  44. data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  45. data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  46. data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  47. data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  48. data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  49. data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  50. data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  51. data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  52. data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  53. data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  54. data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  55. data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  56. data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
  57. data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +2 -2
  58. data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +9479 -0
  59. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +311 -252
  60. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +13 -16
  61. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +26 -15
  62. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +24 -22
  63. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +16 -15
  64. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +12 -15
  65. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +22 -20
  66. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +24 -16
  67. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +14 -17
  68. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +25 -21
  69. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +118 -18
  70. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +14 -17
  71. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +13 -16
  72. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +14 -17
  73. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +19 -23
  74. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +27 -18
  75. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +22 -25
  76. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +895 -0
  77. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +465 -0
  78. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +13 -16
  79. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +16 -19
  80. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +15 -15
  81. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +13 -16
  82. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +15 -18
  83. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +43 -40
  84. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +11 -14
  85. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +195 -0
  86. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +35 -0
  87. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +42 -13
  88. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +182 -13
  89. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +26 -17
  90. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +10 -10
  91. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +140 -0
  92. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +155 -105
  93. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/home.png +0 -0
  94. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +23 -12
  95. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +213 -150
  96. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +18 -10
  97. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +202 -196
  98. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left-insensitive.png +0 -0
  99. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left.png +0 -0
  100. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +11 -9
  101. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right-insensitive.png +0 -0
  102. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right.png +0 -0
  103. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +11 -11
  104. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +71 -16
  105. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up-insensitive.png +0 -0
  106. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up.png +0 -0
  107. data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +1 -0
  108. data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +6 -0
  109. data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +1 -0
  110. data/vendor/local/share/gtksourceview-3.0/language-specs/julia.lang +378 -0
  111. data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +323 -0
  112. data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1 -1
  113. data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +384 -0
  114. data/vendor/local/share/gtksourceview-3.0/language-specs/xml.lang +2 -2
  115. data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +1 -1
  116. data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +2 -1
  117. data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +1 -1
  118. data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +2 -2
  119. data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +2 -2
  120. metadata +26 -293
  121. data/README +0 -29
  122. data/vendor/local/bin/libgtksourceview-3.0-0.dll +0 -0
  123. data/vendor/local/bin/libxml2-2.dll +0 -0
  124. data/vendor/local/bin/xmlcatalog.exe +0 -0
  125. data/vendor/local/bin/xmllint.exe +0 -0
  126. data/vendor/local/include/libxml2/libxml/DOCBparser.h +0 -96
  127. data/vendor/local/include/libxml2/libxml/HTMLparser.h +0 -306
  128. data/vendor/local/include/libxml2/libxml/HTMLtree.h +0 -147
  129. data/vendor/local/include/libxml2/libxml/SAX.h +0 -173
  130. data/vendor/local/include/libxml2/libxml/SAX2.h +0 -176
  131. data/vendor/local/include/libxml2/libxml/c14n.h +0 -126
  132. data/vendor/local/include/libxml2/libxml/catalog.h +0 -182
  133. data/vendor/local/include/libxml2/libxml/chvalid.h +0 -230
  134. data/vendor/local/include/libxml2/libxml/debugXML.h +0 -217
  135. data/vendor/local/include/libxml2/libxml/dict.h +0 -80
  136. data/vendor/local/include/libxml2/libxml/encoding.h +0 -240
  137. data/vendor/local/include/libxml2/libxml/entities.h +0 -150
  138. data/vendor/local/include/libxml2/libxml/globals.h +0 -502
  139. data/vendor/local/include/libxml2/libxml/hash.h +0 -233
  140. data/vendor/local/include/libxml2/libxml/list.h +0 -137
  141. data/vendor/local/include/libxml2/libxml/nanoftp.h +0 -163
  142. data/vendor/local/include/libxml2/libxml/nanohttp.h +0 -81
  143. data/vendor/local/include/libxml2/libxml/parser.h +0 -1240
  144. data/vendor/local/include/libxml2/libxml/parserInternals.h +0 -644
  145. data/vendor/local/include/libxml2/libxml/pattern.h +0 -100
  146. data/vendor/local/include/libxml2/libxml/relaxng.h +0 -213
  147. data/vendor/local/include/libxml2/libxml/schemasInternals.h +0 -958
  148. data/vendor/local/include/libxml2/libxml/schematron.h +0 -142
  149. data/vendor/local/include/libxml2/libxml/threads.h +0 -84
  150. data/vendor/local/include/libxml2/libxml/tree.h +0 -1303
  151. data/vendor/local/include/libxml2/libxml/uri.h +0 -94
  152. data/vendor/local/include/libxml2/libxml/valid.h +0 -458
  153. data/vendor/local/include/libxml2/libxml/xinclude.h +0 -129
  154. data/vendor/local/include/libxml2/libxml/xlink.h +0 -189
  155. data/vendor/local/include/libxml2/libxml/xmlIO.h +0 -366
  156. data/vendor/local/include/libxml2/libxml/xmlautomata.h +0 -146
  157. data/vendor/local/include/libxml2/libxml/xmlerror.h +0 -944
  158. data/vendor/local/include/libxml2/libxml/xmlexports.h +0 -162
  159. data/vendor/local/include/libxml2/libxml/xmlmemory.h +0 -224
  160. data/vendor/local/include/libxml2/libxml/xmlmodule.h +0 -57
  161. data/vendor/local/include/libxml2/libxml/xmlreader.h +0 -428
  162. data/vendor/local/include/libxml2/libxml/xmlregexp.h +0 -222
  163. data/vendor/local/include/libxml2/libxml/xmlsave.h +0 -88
  164. data/vendor/local/include/libxml2/libxml/xmlschemas.h +0 -246
  165. data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +0 -151
  166. data/vendor/local/include/libxml2/libxml/xmlstring.h +0 -140
  167. data/vendor/local/include/libxml2/libxml/xmlunicode.h +0 -202
  168. data/vendor/local/include/libxml2/libxml/xmlversion.h +0 -480
  169. data/vendor/local/include/libxml2/libxml/xmlwriter.h +0 -488
  170. data/vendor/local/include/libxml2/libxml/xpath.h +0 -550
  171. data/vendor/local/include/libxml2/libxml/xpathInternals.h +0 -632
  172. data/vendor/local/include/libxml2/libxml/xpointer.h +0 -114
  173. data/vendor/local/lib/libxml2.def +0 -1659
  174. data/vendor/local/lib/libxml2.dll.a +0 -0
  175. data/vendor/local/lib/libxml2.lib +0 -0
  176. data/vendor/local/lib/pkgconfig/libxml-2.0.pc +0 -13
  177. data/vendor/local/manifest/libxml2-dev_2.9.0-1_win32.mft +0 -268
  178. data/vendor/local/manifest/libxml2_2.9.0-1_win32.mft +0 -2
  179. data/vendor/local/share/aclocal/libxml.m4 +0 -188
  180. data/vendor/local/share/doc/libxml2-2.9.0/Copyright +0 -27
  181. data/vendor/local/share/doc/libxml2-2.9.0/examples/testHTML.c +0 -880
  182. data/vendor/local/share/doc/libxml2-2.9.0/examples/testSAX.c +0 -1198
  183. data/vendor/local/share/doc/libxml2-2.9.0/examples/testXPath.c +0 -229
  184. data/vendor/local/share/doc/libxml2-2.9.0/examples/xmllint.c +0 -3770
  185. data/vendor/local/share/doc/libxml2-2.9.0/html/DOM.gif +0 -0
  186. data/vendor/local/share/doc/libxml2-2.9.0/html/FAQ.html +0 -282
  187. data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-180x168.gif +0 -0
  188. data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-90x34.gif +0 -0
  189. data/vendor/local/share/doc/libxml2-2.9.0/html/encoding.html +0 -207
  190. data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xml +0 -751
  191. data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xsl +0 -174
  192. data/vendor/local/share/doc/libxml2-2.9.0/html/html/book1.html +0 -13
  193. data/vendor/local/share/doc/libxml2-2.9.0/html/html/home.png +0 -0
  194. data/vendor/local/share/doc/libxml2-2.9.0/html/html/index.html +0 -13
  195. data/vendor/local/share/doc/libxml2-2.9.0/html/html/left.png +0 -0
  196. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-DOCBparser.html +0 -51
  197. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLparser.html +0 -184
  198. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLtree.html +0 -73
  199. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX.html +0 -125
  200. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX2.html +0 -128
  201. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-c14n.html +0 -38
  202. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-catalog.html +0 -142
  203. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-chvalid.html +0 -72
  204. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-debugXML.html +0 -120
  205. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-dict.html +0 -58
  206. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-encoding.html +0 -124
  207. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-entities.html +0 -79
  208. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-globals.html +0 -152
  209. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-hash.html +0 -116
  210. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-lib.html +0 -13
  211. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-list.html +0 -120
  212. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanoftp.html +0 -94
  213. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanohttp.html +0 -65
  214. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parser.html +0 -559
  215. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parserInternals.html +0 -322
  216. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-pattern.html +0 -76
  217. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-relaxng.html +0 -162
  218. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schemasInternals.html +0 -373
  219. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schematron.html +0 -81
  220. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-threads.html +0 -72
  221. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-tree.html +0 -989
  222. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-uri.html +0 -73
  223. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-valid.html +0 -289
  224. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xinclude.html +0 -59
  225. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xlink.html +0 -82
  226. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlIO.html +0 -212
  227. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlautomata.html +0 -85
  228. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlerror.html +0 -864
  229. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlexports.html +0 -20
  230. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmemory.html +0 -107
  231. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmodule.html +0 -38
  232. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlreader.html +0 -330
  233. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlregexp.html +0 -143
  234. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlsave.html +0 -60
  235. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemas.html +0 -185
  236. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemastypes.html +0 -123
  237. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlstring.html +0 -108
  238. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlunicode.html +0 -512
  239. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlversion.html +0 -62
  240. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlwriter.html +0 -261
  241. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpath.html +0 -310
  242. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpathInternals.html +0 -394
  243. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpointer.html +0 -83
  244. data/vendor/local/share/doc/libxml2-2.9.0/html/html/right.png +0 -0
  245. data/vendor/local/share/doc/libxml2-2.9.0/html/html/up.png +0 -0
  246. data/vendor/local/share/doc/libxml2-2.9.0/html/index.html +0 -14
  247. data/vendor/local/share/doc/libxml2-2.9.0/html/io1.c +0 -166
  248. data/vendor/local/share/doc/libxml2-2.9.0/html/io1.res +0 -5
  249. data/vendor/local/share/doc/libxml2-2.9.0/html/io2.c +0 -58
  250. data/vendor/local/share/doc/libxml2-2.9.0/html/io2.res +0 -2
  251. data/vendor/local/share/doc/libxml2-2.9.0/html/libxml.gif +0 -0
  252. data/vendor/local/share/doc/libxml2-2.9.0/html/parse1.c +0 -56
  253. data/vendor/local/share/doc/libxml2-2.9.0/html/parse2.c +0 -72
  254. data/vendor/local/share/doc/libxml2-2.9.0/html/parse3.c +0 -60
  255. data/vendor/local/share/doc/libxml2-2.9.0/html/parse4.c +0 -143
  256. data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.c +0 -107
  257. data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.res +0 -14
  258. data/vendor/local/share/doc/libxml2-2.9.0/html/reader2.c +0 -122
  259. data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.c +0 -120
  260. data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.res +0 -13
  261. data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.c +0 -122
  262. data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.res +0 -3
  263. data/vendor/local/share/doc/libxml2-2.9.0/html/redhat.gif +0 -0
  264. data/vendor/local/share/doc/libxml2-2.9.0/html/smallfootonly.gif +0 -0
  265. data/vendor/local/share/doc/libxml2-2.9.0/html/structure.gif +0 -0
  266. data/vendor/local/share/doc/libxml2-2.9.0/html/test1.xml +0 -1
  267. data/vendor/local/share/doc/libxml2-2.9.0/html/test2.xml +0 -13
  268. data/vendor/local/share/doc/libxml2-2.9.0/html/test3.xml +0 -39
  269. data/vendor/local/share/doc/libxml2-2.9.0/html/testWriter.c +0 -1198
  270. data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.c +0 -94
  271. data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.res +0 -4
  272. data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.c +0 -118
  273. data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.res +0 -18
  274. data/vendor/local/share/doc/libxml2-2.9.0/html/tst.xml +0 -7
  275. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apa.html +0 -8
  276. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apb.html +0 -14
  277. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apc.html +0 -82
  278. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apd.html +0 -76
  279. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ape.html +0 -78
  280. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apf.html +0 -67
  281. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apg.html +0 -75
  282. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/aph.html +0 -76
  283. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/api.html +0 -4
  284. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s02.html +0 -14
  285. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s03.html +0 -47
  286. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s04.html +0 -54
  287. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s05.html +0 -55
  288. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s06.html +0 -35
  289. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s07.html +0 -30
  290. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s08.html +0 -38
  291. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s09.html +0 -63
  292. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/blank.png +0 -0
  293. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/1.png +0 -0
  294. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/10.png +0 -0
  295. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/2.png +0 -0
  296. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/3.png +0 -0
  297. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/4.png +0 -0
  298. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/5.png +0 -0
  299. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/6.png +0 -0
  300. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/7.png +0 -0
  301. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/8.png +0 -0
  302. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/9.png +0 -0
  303. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/caution.png +0 -0
  304. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/draft.png +0 -0
  305. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/home.png +0 -0
  306. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/important.png +0 -0
  307. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/next.png +0 -0
  308. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/note.png +0 -0
  309. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/prev.png +0 -0
  310. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/tip.png +0 -0
  311. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-blank.png +0 -0
  312. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-minus.png +0 -0
  313. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-plus.png +0 -0
  314. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/up.png +0 -0
  315. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/warning.png +0 -0
  316. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddattribute.c +0 -64
  317. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddkeyword.c +0 -75
  318. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeconvert.c +0 -73
  319. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includegetattribute.c +0 -72
  320. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includekeyword.c +0 -79
  321. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includexpath.c +0 -74
  322. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/index.html +0 -14
  323. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ix01.html +0 -1
  324. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/xmltutorial.pdf +0 -1336
  325. data/vendor/local/share/doc/libxml2-2.9.0/html/w3c.png +0 -0
  326. data/vendor/local/share/doc/libxml2-2.9.0/html/writer.xml +0 -2
  327. data/vendor/local/share/doc/libxml2-2.9.0/html/xml.html +0 -5715
  328. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.c +0 -250
  329. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.res +0 -5
  330. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.c +0 -190
  331. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.res +0 -30
  332. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRenderer.html +0 -956
  333. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererPixbuf.html +0 -199
  334. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererText.html +0 -137
  335. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn01.html +0 -101
  336. data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn02.html +0 -53
  337. data/vendor/local/share/gtk-doc/html/libxml2/general.html +0 -38
  338. data/vendor/local/share/gtk-doc/html/libxml2/home.png +0 -0
  339. data/vendor/local/share/gtk-doc/html/libxml2/index.html +0 -67
  340. data/vendor/local/share/gtk-doc/html/libxml2/left.png +0 -0
  341. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +0 -138
  342. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +0 -373
  343. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +0 -172
  344. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +0 -243
  345. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +0 -247
  346. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +0 -91
  347. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +0 -278
  348. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +0 -241
  349. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +0 -225
  350. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +0 -134
  351. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +0 -218
  352. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +0 -166
  353. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +0 -383
  354. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +0 -214
  355. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +0 -226
  356. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +0 -187
  357. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +0 -142
  358. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +0 -766
  359. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +0 -688
  360. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +0 -166
  361. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +0 -278
  362. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +0 -860
  363. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +0 -166
  364. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +0 -161
  365. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +0 -1596
  366. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +0 -154
  367. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +0 -528
  368. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +0 -169
  369. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +0 -160
  370. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +0 -347
  371. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +0 -176
  372. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +0 -952
  373. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +0 -87
  374. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +0 -186
  375. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +0 -97
  376. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +0 -565
  377. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +0 -280
  378. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +0 -133
  379. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +0 -314
  380. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +0 -237
  381. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +0 -217
  382. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +0 -887
  383. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +0 -287
  384. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +0 -479
  385. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +0 -532
  386. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +0 -787
  387. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +0 -171
  388. data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +0 -3569
  389. data/vendor/local/share/gtk-doc/html/libxml2/right.png +0 -0
  390. data/vendor/local/share/gtk-doc/html/libxml2/style.css +0 -66
  391. data/vendor/local/share/gtk-doc/html/libxml2/up.png +0 -0
  392. data/vendor/local/share/gtksourceview-3.0/language-specs/check-language.sh +0 -32
  393. data/vendor/local/share/gtksourceview-3.0/styles/check-style.sh +0 -20
  394. data/vendor/local/share/man/man1/xml2-config.1 +0 -30
  395. data/vendor/local/share/man/man1/xmlcatalog.1 +0 -340
  396. data/vendor/local/share/man/man1/xmllint.1 +0 -427
  397. data/vendor/local/share/man/man3/libxml.3 +0 -71
  398. data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.log +0 -867
  399. data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.sh +0 -68
@@ -1,100 +0,0 @@
1
- /*
2
- * Summary: pattern expression handling
3
- * Description: allows to compile and test pattern expressions for nodes
4
- * either in a tree or based on a parser state.
5
- *
6
- * Copy: See Copyright for the status of this software.
7
- *
8
- * Author: Daniel Veillard
9
- */
10
-
11
- #ifndef __XML_PATTERN_H__
12
- #define __XML_PATTERN_H__
13
-
14
- #include <libxml/xmlversion.h>
15
- #include <libxml/tree.h>
16
- #include <libxml/dict.h>
17
-
18
- #ifdef LIBXML_PATTERN_ENABLED
19
-
20
- #ifdef __cplusplus
21
- extern "C" {
22
- #endif
23
-
24
- /**
25
- * xmlPattern:
26
- *
27
- * A compiled (XPath based) pattern to select nodes
28
- */
29
- typedef struct _xmlPattern xmlPattern;
30
- typedef xmlPattern *xmlPatternPtr;
31
-
32
- /**
33
- * xmlPatternFlags:
34
- *
35
- * This is the set of options affecting the behaviour of pattern
36
- * matching with this module
37
- *
38
- */
39
- typedef enum {
40
- XML_PATTERN_DEFAULT = 0, /* simple pattern match */
41
- XML_PATTERN_XPATH = 1<<0, /* standard XPath pattern */
42
- XML_PATTERN_XSSEL = 1<<1, /* XPath subset for schema selector */
43
- XML_PATTERN_XSFIELD = 1<<2 /* XPath subset for schema field */
44
- } xmlPatternFlags;
45
-
46
- XMLPUBFUN void XMLCALL
47
- xmlFreePattern (xmlPatternPtr comp);
48
-
49
- XMLPUBFUN void XMLCALL
50
- xmlFreePatternList (xmlPatternPtr comp);
51
-
52
- XMLPUBFUN xmlPatternPtr XMLCALL
53
- xmlPatterncompile (const xmlChar *pattern,
54
- xmlDict *dict,
55
- int flags,
56
- const xmlChar **namespaces);
57
- XMLPUBFUN int XMLCALL
58
- xmlPatternMatch (xmlPatternPtr comp,
59
- xmlNodePtr node);
60
-
61
- /* streaming interfaces */
62
- typedef struct _xmlStreamCtxt xmlStreamCtxt;
63
- typedef xmlStreamCtxt *xmlStreamCtxtPtr;
64
-
65
- XMLPUBFUN int XMLCALL
66
- xmlPatternStreamable (xmlPatternPtr comp);
67
- XMLPUBFUN int XMLCALL
68
- xmlPatternMaxDepth (xmlPatternPtr comp);
69
- XMLPUBFUN int XMLCALL
70
- xmlPatternMinDepth (xmlPatternPtr comp);
71
- XMLPUBFUN int XMLCALL
72
- xmlPatternFromRoot (xmlPatternPtr comp);
73
- XMLPUBFUN xmlStreamCtxtPtr XMLCALL
74
- xmlPatternGetStreamCtxt (xmlPatternPtr comp);
75
- XMLPUBFUN void XMLCALL
76
- xmlFreeStreamCtxt (xmlStreamCtxtPtr stream);
77
- XMLPUBFUN int XMLCALL
78
- xmlStreamPushNode (xmlStreamCtxtPtr stream,
79
- const xmlChar *name,
80
- const xmlChar *ns,
81
- int nodeType);
82
- XMLPUBFUN int XMLCALL
83
- xmlStreamPush (xmlStreamCtxtPtr stream,
84
- const xmlChar *name,
85
- const xmlChar *ns);
86
- XMLPUBFUN int XMLCALL
87
- xmlStreamPushAttr (xmlStreamCtxtPtr stream,
88
- const xmlChar *name,
89
- const xmlChar *ns);
90
- XMLPUBFUN int XMLCALL
91
- xmlStreamPop (xmlStreamCtxtPtr stream);
92
- XMLPUBFUN int XMLCALL
93
- xmlStreamWantsAnyNode (xmlStreamCtxtPtr stream);
94
- #ifdef __cplusplus
95
- }
96
- #endif
97
-
98
- #endif /* LIBXML_PATTERN_ENABLED */
99
-
100
- #endif /* __XML_PATTERN_H__ */
@@ -1,213 +0,0 @@
1
- /*
2
- * Summary: implementation of the Relax-NG validation
3
- * Description: implementation of the Relax-NG validation
4
- *
5
- * Copy: See Copyright for the status of this software.
6
- *
7
- * Author: Daniel Veillard
8
- */
9
-
10
- #ifndef __XML_RELAX_NG__
11
- #define __XML_RELAX_NG__
12
-
13
- #include <libxml/xmlversion.h>
14
- #include <libxml/hash.h>
15
- #include <libxml/xmlstring.h>
16
-
17
- #ifdef LIBXML_SCHEMAS_ENABLED
18
-
19
- #ifdef __cplusplus
20
- extern "C" {
21
- #endif
22
-
23
- typedef struct _xmlRelaxNG xmlRelaxNG;
24
- typedef xmlRelaxNG *xmlRelaxNGPtr;
25
-
26
-
27
- /**
28
- * xmlRelaxNGValidityErrorFunc:
29
- * @ctx: the validation context
30
- * @msg: the message
31
- * @...: extra arguments
32
- *
33
- * Signature of an error callback from a Relax-NG validation
34
- */
35
- typedef void (XMLCDECL *xmlRelaxNGValidityErrorFunc) (void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
36
-
37
- /**
38
- * xmlRelaxNGValidityWarningFunc:
39
- * @ctx: the validation context
40
- * @msg: the message
41
- * @...: extra arguments
42
- *
43
- * Signature of a warning callback from a Relax-NG validation
44
- */
45
- typedef void (XMLCDECL *xmlRelaxNGValidityWarningFunc) (void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
46
-
47
- /**
48
- * A schemas validation context
49
- */
50
- typedef struct _xmlRelaxNGParserCtxt xmlRelaxNGParserCtxt;
51
- typedef xmlRelaxNGParserCtxt *xmlRelaxNGParserCtxtPtr;
52
-
53
- typedef struct _xmlRelaxNGValidCtxt xmlRelaxNGValidCtxt;
54
- typedef xmlRelaxNGValidCtxt *xmlRelaxNGValidCtxtPtr;
55
-
56
- /*
57
- * xmlRelaxNGValidErr:
58
- *
59
- * List of possible Relax NG validation errors
60
- */
61
- typedef enum {
62
- XML_RELAXNG_OK = 0,
63
- XML_RELAXNG_ERR_MEMORY,
64
- XML_RELAXNG_ERR_TYPE,
65
- XML_RELAXNG_ERR_TYPEVAL,
66
- XML_RELAXNG_ERR_DUPID,
67
- XML_RELAXNG_ERR_TYPECMP,
68
- XML_RELAXNG_ERR_NOSTATE,
69
- XML_RELAXNG_ERR_NODEFINE,
70
- XML_RELAXNG_ERR_LISTEXTRA,
71
- XML_RELAXNG_ERR_LISTEMPTY,
72
- XML_RELAXNG_ERR_INTERNODATA,
73
- XML_RELAXNG_ERR_INTERSEQ,
74
- XML_RELAXNG_ERR_INTEREXTRA,
75
- XML_RELAXNG_ERR_ELEMNAME,
76
- XML_RELAXNG_ERR_ATTRNAME,
77
- XML_RELAXNG_ERR_ELEMNONS,
78
- XML_RELAXNG_ERR_ATTRNONS,
79
- XML_RELAXNG_ERR_ELEMWRONGNS,
80
- XML_RELAXNG_ERR_ATTRWRONGNS,
81
- XML_RELAXNG_ERR_ELEMEXTRANS,
82
- XML_RELAXNG_ERR_ATTREXTRANS,
83
- XML_RELAXNG_ERR_ELEMNOTEMPTY,
84
- XML_RELAXNG_ERR_NOELEM,
85
- XML_RELAXNG_ERR_NOTELEM,
86
- XML_RELAXNG_ERR_ATTRVALID,
87
- XML_RELAXNG_ERR_CONTENTVALID,
88
- XML_RELAXNG_ERR_EXTRACONTENT,
89
- XML_RELAXNG_ERR_INVALIDATTR,
90
- XML_RELAXNG_ERR_DATAELEM,
91
- XML_RELAXNG_ERR_VALELEM,
92
- XML_RELAXNG_ERR_LISTELEM,
93
- XML_RELAXNG_ERR_DATATYPE,
94
- XML_RELAXNG_ERR_VALUE,
95
- XML_RELAXNG_ERR_LIST,
96
- XML_RELAXNG_ERR_NOGRAMMAR,
97
- XML_RELAXNG_ERR_EXTRADATA,
98
- XML_RELAXNG_ERR_LACKDATA,
99
- XML_RELAXNG_ERR_INTERNAL,
100
- XML_RELAXNG_ERR_ELEMWRONG,
101
- XML_RELAXNG_ERR_TEXTWRONG
102
- } xmlRelaxNGValidErr;
103
-
104
- /*
105
- * xmlRelaxNGParserFlags:
106
- *
107
- * List of possible Relax NG Parser flags
108
- */
109
- typedef enum {
110
- XML_RELAXNGP_NONE = 0,
111
- XML_RELAXNGP_FREE_DOC = 1,
112
- XML_RELAXNGP_CRNG = 2
113
- } xmlRelaxNGParserFlag;
114
-
115
- XMLPUBFUN int XMLCALL
116
- xmlRelaxNGInitTypes (void);
117
- XMLPUBFUN void XMLCALL
118
- xmlRelaxNGCleanupTypes (void);
119
-
120
- /*
121
- * Interfaces for parsing.
122
- */
123
- XMLPUBFUN xmlRelaxNGParserCtxtPtr XMLCALL
124
- xmlRelaxNGNewParserCtxt (const char *URL);
125
- XMLPUBFUN xmlRelaxNGParserCtxtPtr XMLCALL
126
- xmlRelaxNGNewMemParserCtxt (const char *buffer,
127
- int size);
128
- XMLPUBFUN xmlRelaxNGParserCtxtPtr XMLCALL
129
- xmlRelaxNGNewDocParserCtxt (xmlDocPtr doc);
130
-
131
- XMLPUBFUN int XMLCALL
132
- xmlRelaxParserSetFlag (xmlRelaxNGParserCtxtPtr ctxt,
133
- int flag);
134
-
135
- XMLPUBFUN void XMLCALL
136
- xmlRelaxNGFreeParserCtxt (xmlRelaxNGParserCtxtPtr ctxt);
137
- XMLPUBFUN void XMLCALL
138
- xmlRelaxNGSetParserErrors(xmlRelaxNGParserCtxtPtr ctxt,
139
- xmlRelaxNGValidityErrorFunc err,
140
- xmlRelaxNGValidityWarningFunc warn,
141
- void *ctx);
142
- XMLPUBFUN int XMLCALL
143
- xmlRelaxNGGetParserErrors(xmlRelaxNGParserCtxtPtr ctxt,
144
- xmlRelaxNGValidityErrorFunc *err,
145
- xmlRelaxNGValidityWarningFunc *warn,
146
- void **ctx);
147
- XMLPUBFUN void XMLCALL
148
- xmlRelaxNGSetParserStructuredErrors(
149
- xmlRelaxNGParserCtxtPtr ctxt,
150
- xmlStructuredErrorFunc serror,
151
- void *ctx);
152
- XMLPUBFUN xmlRelaxNGPtr XMLCALL
153
- xmlRelaxNGParse (xmlRelaxNGParserCtxtPtr ctxt);
154
- XMLPUBFUN void XMLCALL
155
- xmlRelaxNGFree (xmlRelaxNGPtr schema);
156
- #ifdef LIBXML_OUTPUT_ENABLED
157
- XMLPUBFUN void XMLCALL
158
- xmlRelaxNGDump (FILE *output,
159
- xmlRelaxNGPtr schema);
160
- XMLPUBFUN void XMLCALL
161
- xmlRelaxNGDumpTree (FILE * output,
162
- xmlRelaxNGPtr schema);
163
- #endif /* LIBXML_OUTPUT_ENABLED */
164
- /*
165
- * Interfaces for validating
166
- */
167
- XMLPUBFUN void XMLCALL
168
- xmlRelaxNGSetValidErrors(xmlRelaxNGValidCtxtPtr ctxt,
169
- xmlRelaxNGValidityErrorFunc err,
170
- xmlRelaxNGValidityWarningFunc warn,
171
- void *ctx);
172
- XMLPUBFUN int XMLCALL
173
- xmlRelaxNGGetValidErrors(xmlRelaxNGValidCtxtPtr ctxt,
174
- xmlRelaxNGValidityErrorFunc *err,
175
- xmlRelaxNGValidityWarningFunc *warn,
176
- void **ctx);
177
- XMLPUBFUN void XMLCALL
178
- xmlRelaxNGSetValidStructuredErrors(xmlRelaxNGValidCtxtPtr ctxt,
179
- xmlStructuredErrorFunc serror, void *ctx);
180
- XMLPUBFUN xmlRelaxNGValidCtxtPtr XMLCALL
181
- xmlRelaxNGNewValidCtxt (xmlRelaxNGPtr schema);
182
- XMLPUBFUN void XMLCALL
183
- xmlRelaxNGFreeValidCtxt (xmlRelaxNGValidCtxtPtr ctxt);
184
- XMLPUBFUN int XMLCALL
185
- xmlRelaxNGValidateDoc (xmlRelaxNGValidCtxtPtr ctxt,
186
- xmlDocPtr doc);
187
- /*
188
- * Interfaces for progressive validation when possible
189
- */
190
- XMLPUBFUN int XMLCALL
191
- xmlRelaxNGValidatePushElement (xmlRelaxNGValidCtxtPtr ctxt,
192
- xmlDocPtr doc,
193
- xmlNodePtr elem);
194
- XMLPUBFUN int XMLCALL
195
- xmlRelaxNGValidatePushCData (xmlRelaxNGValidCtxtPtr ctxt,
196
- const xmlChar *data,
197
- int len);
198
- XMLPUBFUN int XMLCALL
199
- xmlRelaxNGValidatePopElement (xmlRelaxNGValidCtxtPtr ctxt,
200
- xmlDocPtr doc,
201
- xmlNodePtr elem);
202
- XMLPUBFUN int XMLCALL
203
- xmlRelaxNGValidateFullElement (xmlRelaxNGValidCtxtPtr ctxt,
204
- xmlDocPtr doc,
205
- xmlNodePtr elem);
206
-
207
- #ifdef __cplusplus
208
- }
209
- #endif
210
-
211
- #endif /* LIBXML_SCHEMAS_ENABLED */
212
-
213
- #endif /* __XML_RELAX_NG__ */
@@ -1,958 +0,0 @@
1
- /*
2
- * Summary: internal interfaces for XML Schemas
3
- * Description: internal interfaces for the XML Schemas handling
4
- * and schema validity checking
5
- * The Schemas development is a Work In Progress.
6
- * Some of those interfaces are not garanteed to be API or ABI stable !
7
- *
8
- * Copy: See Copyright for the status of this software.
9
- *
10
- * Author: Daniel Veillard
11
- */
12
-
13
-
14
- #ifndef __XML_SCHEMA_INTERNALS_H__
15
- #define __XML_SCHEMA_INTERNALS_H__
16
-
17
- #include <libxml/xmlversion.h>
18
-
19
- #ifdef LIBXML_SCHEMAS_ENABLED
20
-
21
- #include <libxml/xmlregexp.h>
22
- #include <libxml/hash.h>
23
- #include <libxml/dict.h>
24
-
25
- #ifdef __cplusplus
26
- extern "C" {
27
- #endif
28
-
29
- typedef enum {
30
- XML_SCHEMAS_UNKNOWN = 0,
31
- XML_SCHEMAS_STRING,
32
- XML_SCHEMAS_NORMSTRING,
33
- XML_SCHEMAS_DECIMAL,
34
- XML_SCHEMAS_TIME,
35
- XML_SCHEMAS_GDAY,
36
- XML_SCHEMAS_GMONTH,
37
- XML_SCHEMAS_GMONTHDAY,
38
- XML_SCHEMAS_GYEAR,
39
- XML_SCHEMAS_GYEARMONTH,
40
- XML_SCHEMAS_DATE,
41
- XML_SCHEMAS_DATETIME,
42
- XML_SCHEMAS_DURATION,
43
- XML_SCHEMAS_FLOAT,
44
- XML_SCHEMAS_DOUBLE,
45
- XML_SCHEMAS_BOOLEAN,
46
- XML_SCHEMAS_TOKEN,
47
- XML_SCHEMAS_LANGUAGE,
48
- XML_SCHEMAS_NMTOKEN,
49
- XML_SCHEMAS_NMTOKENS,
50
- XML_SCHEMAS_NAME,
51
- XML_SCHEMAS_QNAME,
52
- XML_SCHEMAS_NCNAME,
53
- XML_SCHEMAS_ID,
54
- XML_SCHEMAS_IDREF,
55
- XML_SCHEMAS_IDREFS,
56
- XML_SCHEMAS_ENTITY,
57
- XML_SCHEMAS_ENTITIES,
58
- XML_SCHEMAS_NOTATION,
59
- XML_SCHEMAS_ANYURI,
60
- XML_SCHEMAS_INTEGER,
61
- XML_SCHEMAS_NPINTEGER,
62
- XML_SCHEMAS_NINTEGER,
63
- XML_SCHEMAS_NNINTEGER,
64
- XML_SCHEMAS_PINTEGER,
65
- XML_SCHEMAS_INT,
66
- XML_SCHEMAS_UINT,
67
- XML_SCHEMAS_LONG,
68
- XML_SCHEMAS_ULONG,
69
- XML_SCHEMAS_SHORT,
70
- XML_SCHEMAS_USHORT,
71
- XML_SCHEMAS_BYTE,
72
- XML_SCHEMAS_UBYTE,
73
- XML_SCHEMAS_HEXBINARY,
74
- XML_SCHEMAS_BASE64BINARY,
75
- XML_SCHEMAS_ANYTYPE,
76
- XML_SCHEMAS_ANYSIMPLETYPE
77
- } xmlSchemaValType;
78
-
79
- /*
80
- * XML Schemas defines multiple type of types.
81
- */
82
- typedef enum {
83
- XML_SCHEMA_TYPE_BASIC = 1, /* A built-in datatype */
84
- XML_SCHEMA_TYPE_ANY,
85
- XML_SCHEMA_TYPE_FACET,
86
- XML_SCHEMA_TYPE_SIMPLE,
87
- XML_SCHEMA_TYPE_COMPLEX,
88
- XML_SCHEMA_TYPE_SEQUENCE = 6,
89
- XML_SCHEMA_TYPE_CHOICE,
90
- XML_SCHEMA_TYPE_ALL,
91
- XML_SCHEMA_TYPE_SIMPLE_CONTENT,
92
- XML_SCHEMA_TYPE_COMPLEX_CONTENT,
93
- XML_SCHEMA_TYPE_UR,
94
- XML_SCHEMA_TYPE_RESTRICTION,
95
- XML_SCHEMA_TYPE_EXTENSION,
96
- XML_SCHEMA_TYPE_ELEMENT,
97
- XML_SCHEMA_TYPE_ATTRIBUTE,
98
- XML_SCHEMA_TYPE_ATTRIBUTEGROUP,
99
- XML_SCHEMA_TYPE_GROUP,
100
- XML_SCHEMA_TYPE_NOTATION,
101
- XML_SCHEMA_TYPE_LIST,
102
- XML_SCHEMA_TYPE_UNION,
103
- XML_SCHEMA_TYPE_ANY_ATTRIBUTE,
104
- XML_SCHEMA_TYPE_IDC_UNIQUE,
105
- XML_SCHEMA_TYPE_IDC_KEY,
106
- XML_SCHEMA_TYPE_IDC_KEYREF,
107
- XML_SCHEMA_TYPE_PARTICLE = 25,
108
- XML_SCHEMA_TYPE_ATTRIBUTE_USE,
109
- XML_SCHEMA_FACET_MININCLUSIVE = 1000,
110
- XML_SCHEMA_FACET_MINEXCLUSIVE,
111
- XML_SCHEMA_FACET_MAXINCLUSIVE,
112
- XML_SCHEMA_FACET_MAXEXCLUSIVE,
113
- XML_SCHEMA_FACET_TOTALDIGITS,
114
- XML_SCHEMA_FACET_FRACTIONDIGITS,
115
- XML_SCHEMA_FACET_PATTERN,
116
- XML_SCHEMA_FACET_ENUMERATION,
117
- XML_SCHEMA_FACET_WHITESPACE,
118
- XML_SCHEMA_FACET_LENGTH,
119
- XML_SCHEMA_FACET_MAXLENGTH,
120
- XML_SCHEMA_FACET_MINLENGTH,
121
- XML_SCHEMA_EXTRA_QNAMEREF = 2000,
122
- XML_SCHEMA_EXTRA_ATTR_USE_PROHIB
123
- } xmlSchemaTypeType;
124
-
125
- typedef enum {
126
- XML_SCHEMA_CONTENT_UNKNOWN = 0,
127
- XML_SCHEMA_CONTENT_EMPTY = 1,
128
- XML_SCHEMA_CONTENT_ELEMENTS,
129
- XML_SCHEMA_CONTENT_MIXED,
130
- XML_SCHEMA_CONTENT_SIMPLE,
131
- XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS, /* Obsolete */
132
- XML_SCHEMA_CONTENT_BASIC,
133
- XML_SCHEMA_CONTENT_ANY
134
- } xmlSchemaContentType;
135
-
136
- typedef struct _xmlSchemaVal xmlSchemaVal;
137
- typedef xmlSchemaVal *xmlSchemaValPtr;
138
-
139
- typedef struct _xmlSchemaType xmlSchemaType;
140
- typedef xmlSchemaType *xmlSchemaTypePtr;
141
-
142
- typedef struct _xmlSchemaFacet xmlSchemaFacet;
143
- typedef xmlSchemaFacet *xmlSchemaFacetPtr;
144
-
145
- /**
146
- * Annotation
147
- */
148
- typedef struct _xmlSchemaAnnot xmlSchemaAnnot;
149
- typedef xmlSchemaAnnot *xmlSchemaAnnotPtr;
150
- struct _xmlSchemaAnnot {
151
- struct _xmlSchemaAnnot *next;
152
- xmlNodePtr content; /* the annotation */
153
- };
154
-
155
- /**
156
- * XML_SCHEMAS_ANYATTR_SKIP:
157
- *
158
- * Skip unknown attribute from validation
159
- * Obsolete, not used anymore.
160
- */
161
- #define XML_SCHEMAS_ANYATTR_SKIP 1
162
- /**
163
- * XML_SCHEMAS_ANYATTR_LAX:
164
- *
165
- * Ignore validation non definition on attributes
166
- * Obsolete, not used anymore.
167
- */
168
- #define XML_SCHEMAS_ANYATTR_LAX 2
169
- /**
170
- * XML_SCHEMAS_ANYATTR_STRICT:
171
- *
172
- * Apply strict validation rules on attributes
173
- * Obsolete, not used anymore.
174
- */
175
- #define XML_SCHEMAS_ANYATTR_STRICT 3
176
- /**
177
- * XML_SCHEMAS_ANY_SKIP:
178
- *
179
- * Skip unknown attribute from validation
180
- */
181
- #define XML_SCHEMAS_ANY_SKIP 1
182
- /**
183
- * XML_SCHEMAS_ANY_LAX:
184
- *
185
- * Used by wildcards.
186
- * Validate if type found, don't worry if not found
187
- */
188
- #define XML_SCHEMAS_ANY_LAX 2
189
- /**
190
- * XML_SCHEMAS_ANY_STRICT:
191
- *
192
- * Used by wildcards.
193
- * Apply strict validation rules
194
- */
195
- #define XML_SCHEMAS_ANY_STRICT 3
196
- /**
197
- * XML_SCHEMAS_ATTR_USE_PROHIBITED:
198
- *
199
- * Used by wildcards.
200
- * The attribute is prohibited.
201
- */
202
- #define XML_SCHEMAS_ATTR_USE_PROHIBITED 0
203
- /**
204
- * XML_SCHEMAS_ATTR_USE_REQUIRED:
205
- *
206
- * The attribute is required.
207
- */
208
- #define XML_SCHEMAS_ATTR_USE_REQUIRED 1
209
- /**
210
- * XML_SCHEMAS_ATTR_USE_OPTIONAL:
211
- *
212
- * The attribute is optional.
213
- */
214
- #define XML_SCHEMAS_ATTR_USE_OPTIONAL 2
215
- /**
216
- * XML_SCHEMAS_ATTR_GLOBAL:
217
- *
218
- * allow elements in no namespace
219
- */
220
- #define XML_SCHEMAS_ATTR_GLOBAL 1 << 0
221
- /**
222
- * XML_SCHEMAS_ATTR_NSDEFAULT:
223
- *
224
- * allow elements in no namespace
225
- */
226
- #define XML_SCHEMAS_ATTR_NSDEFAULT 1 << 7
227
- /**
228
- * XML_SCHEMAS_ATTR_INTERNAL_RESOLVED:
229
- *
230
- * this is set when the "type" and "ref" references
231
- * have been resolved.
232
- */
233
- #define XML_SCHEMAS_ATTR_INTERNAL_RESOLVED 1 << 8
234
- /**
235
- * XML_SCHEMAS_ATTR_FIXED:
236
- *
237
- * the attribute has a fixed value
238
- */
239
- #define XML_SCHEMAS_ATTR_FIXED 1 << 9
240
-
241
- /**
242
- * xmlSchemaAttribute:
243
- * An attribute definition.
244
- */
245
-
246
- typedef struct _xmlSchemaAttribute xmlSchemaAttribute;
247
- typedef xmlSchemaAttribute *xmlSchemaAttributePtr;
248
- struct _xmlSchemaAttribute {
249
- xmlSchemaTypeType type;
250
- struct _xmlSchemaAttribute *next; /* the next attribute (not used?) */
251
- const xmlChar *name; /* the name of the declaration */
252
- const xmlChar *id; /* Deprecated; not used */
253
- const xmlChar *ref; /* Deprecated; not used */
254
- const xmlChar *refNs; /* Deprecated; not used */
255
- const xmlChar *typeName; /* the local name of the type definition */
256
- const xmlChar *typeNs; /* the ns URI of the type definition */
257
- xmlSchemaAnnotPtr annot;
258
-
259
- xmlSchemaTypePtr base; /* Deprecated; not used */
260
- int occurs; /* Deprecated; not used */
261
- const xmlChar *defValue; /* The initial value of the value constraint */
262
- xmlSchemaTypePtr subtypes; /* the type definition */
263
- xmlNodePtr node;
264
- const xmlChar *targetNamespace;
265
- int flags;
266
- const xmlChar *refPrefix; /* Deprecated; not used */
267
- xmlSchemaValPtr defVal; /* The compiled value constraint */
268
- xmlSchemaAttributePtr refDecl; /* Deprecated; not used */
269
- };
270
-
271
- /**
272
- * xmlSchemaAttributeLink:
273
- * Used to build a list of attribute uses on complexType definitions.
274
- * WARNING: Deprecated; not used.
275
- */
276
- typedef struct _xmlSchemaAttributeLink xmlSchemaAttributeLink;
277
- typedef xmlSchemaAttributeLink *xmlSchemaAttributeLinkPtr;
278
- struct _xmlSchemaAttributeLink {
279
- struct _xmlSchemaAttributeLink *next;/* the next attribute link ... */
280
- struct _xmlSchemaAttribute *attr;/* the linked attribute */
281
- };
282
-
283
- /**
284
- * XML_SCHEMAS_WILDCARD_COMPLETE:
285
- *
286
- * If the wildcard is complete.
287
- */
288
- #define XML_SCHEMAS_WILDCARD_COMPLETE 1 << 0
289
-
290
- /**
291
- * xmlSchemaCharValueLink:
292
- * Used to build a list of namespaces on wildcards.
293
- */
294
- typedef struct _xmlSchemaWildcardNs xmlSchemaWildcardNs;
295
- typedef xmlSchemaWildcardNs *xmlSchemaWildcardNsPtr;
296
- struct _xmlSchemaWildcardNs {
297
- struct _xmlSchemaWildcardNs *next;/* the next constraint link ... */
298
- const xmlChar *value;/* the value */
299
- };
300
-
301
- /**
302
- * xmlSchemaWildcard.
303
- * A wildcard.
304
- */
305
- typedef struct _xmlSchemaWildcard xmlSchemaWildcard;
306
- typedef xmlSchemaWildcard *xmlSchemaWildcardPtr;
307
- struct _xmlSchemaWildcard {
308
- xmlSchemaTypeType type; /* The kind of type */
309
- const xmlChar *id; /* Deprecated; not used */
310
- xmlSchemaAnnotPtr annot;
311
- xmlNodePtr node;
312
- int minOccurs; /* Deprecated; not used */
313
- int maxOccurs; /* Deprecated; not used */
314
- int processContents;
315
- int any; /* Indicates if the ns constraint is of ##any */
316
- xmlSchemaWildcardNsPtr nsSet; /* The list of allowed namespaces */
317
- xmlSchemaWildcardNsPtr negNsSet; /* The negated namespace */
318
- int flags;
319
- };
320
-
321
- /**
322
- * XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED:
323
- *
324
- * The attribute wildcard has been already builded.
325
- */
326
- #define XML_SCHEMAS_ATTRGROUP_WILDCARD_BUILDED 1 << 0
327
- /**
328
- * XML_SCHEMAS_ATTRGROUP_GLOBAL:
329
- *
330
- * The attribute wildcard has been already builded.
331
- */
332
- #define XML_SCHEMAS_ATTRGROUP_GLOBAL 1 << 1
333
- /**
334
- * XML_SCHEMAS_ATTRGROUP_MARKED:
335
- *
336
- * Marks the attr group as marked; used for circular checks.
337
- */
338
- #define XML_SCHEMAS_ATTRGROUP_MARKED 1 << 2
339
-
340
- /**
341
- * XML_SCHEMAS_ATTRGROUP_REDEFINED:
342
- *
343
- * The attr group was redefined.
344
- */
345
- #define XML_SCHEMAS_ATTRGROUP_REDEFINED 1 << 3
346
- /**
347
- * XML_SCHEMAS_ATTRGROUP_HAS_REFS:
348
- *
349
- * Whether this attr. group contains attr. group references.
350
- */
351
- #define XML_SCHEMAS_ATTRGROUP_HAS_REFS 1 << 4
352
-
353
- /**
354
- * An attribute group definition.
355
- *
356
- * xmlSchemaAttribute and xmlSchemaAttributeGroup start of structures
357
- * must be kept similar
358
- */
359
- typedef struct _xmlSchemaAttributeGroup xmlSchemaAttributeGroup;
360
- typedef xmlSchemaAttributeGroup *xmlSchemaAttributeGroupPtr;
361
- struct _xmlSchemaAttributeGroup {
362
- xmlSchemaTypeType type; /* The kind of type */
363
- struct _xmlSchemaAttribute *next;/* the next attribute if in a group ... */
364
- const xmlChar *name;
365
- const xmlChar *id;
366
- const xmlChar *ref; /* Deprecated; not used */
367
- const xmlChar *refNs; /* Deprecated; not used */
368
- xmlSchemaAnnotPtr annot;
369
-
370
- xmlSchemaAttributePtr attributes; /* Deprecated; not used */
371
- xmlNodePtr node;
372
- int flags;
373
- xmlSchemaWildcardPtr attributeWildcard;
374
- const xmlChar *refPrefix; /* Deprecated; not used */
375
- xmlSchemaAttributeGroupPtr refItem; /* Deprecated; not used */
376
- const xmlChar *targetNamespace;
377
- void *attrUses;
378
- };
379
-
380
- /**
381
- * xmlSchemaTypeLink:
382
- * Used to build a list of types (e.g. member types of
383
- * simpleType with variety "union").
384
- */
385
- typedef struct _xmlSchemaTypeLink xmlSchemaTypeLink;
386
- typedef xmlSchemaTypeLink *xmlSchemaTypeLinkPtr;
387
- struct _xmlSchemaTypeLink {
388
- struct _xmlSchemaTypeLink *next;/* the next type link ... */
389
- xmlSchemaTypePtr type;/* the linked type */
390
- };
391
-
392
- /**
393
- * xmlSchemaFacetLink:
394
- * Used to build a list of facets.
395
- */
396
- typedef struct _xmlSchemaFacetLink xmlSchemaFacetLink;
397
- typedef xmlSchemaFacetLink *xmlSchemaFacetLinkPtr;
398
- struct _xmlSchemaFacetLink {
399
- struct _xmlSchemaFacetLink *next;/* the next facet link ... */
400
- xmlSchemaFacetPtr facet;/* the linked facet */
401
- };
402
-
403
- /**
404
- * XML_SCHEMAS_TYPE_MIXED:
405
- *
406
- * the element content type is mixed
407
- */
408
- #define XML_SCHEMAS_TYPE_MIXED 1 << 0
409
- /**
410
- * XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION:
411
- *
412
- * the simple or complex type has a derivation method of "extension".
413
- */
414
- #define XML_SCHEMAS_TYPE_DERIVATION_METHOD_EXTENSION 1 << 1
415
- /**
416
- * XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION:
417
- *
418
- * the simple or complex type has a derivation method of "restriction".
419
- */
420
- #define XML_SCHEMAS_TYPE_DERIVATION_METHOD_RESTRICTION 1 << 2
421
- /**
422
- * XML_SCHEMAS_TYPE_GLOBAL:
423
- *
424
- * the type is global
425
- */
426
- #define XML_SCHEMAS_TYPE_GLOBAL 1 << 3
427
- /**
428
- * XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD:
429
- *
430
- * the complexType owns an attribute wildcard, i.e.
431
- * it can be freed by the complexType
432
- */
433
- #define XML_SCHEMAS_TYPE_OWNED_ATTR_WILDCARD 1 << 4 /* Obsolete. */
434
- /**
435
- * XML_SCHEMAS_TYPE_VARIETY_ABSENT:
436
- *
437
- * the simpleType has a variety of "absent".
438
- * TODO: Actually not necessary :-/, since if
439
- * none of the variety flags occur then it's
440
- * automatically absent.
441
- */
442
- #define XML_SCHEMAS_TYPE_VARIETY_ABSENT 1 << 5
443
- /**
444
- * XML_SCHEMAS_TYPE_VARIETY_LIST:
445
- *
446
- * the simpleType has a variety of "list".
447
- */
448
- #define XML_SCHEMAS_TYPE_VARIETY_LIST 1 << 6
449
- /**
450
- * XML_SCHEMAS_TYPE_VARIETY_UNION:
451
- *
452
- * the simpleType has a variety of "union".
453
- */
454
- #define XML_SCHEMAS_TYPE_VARIETY_UNION 1 << 7
455
- /**
456
- * XML_SCHEMAS_TYPE_VARIETY_ATOMIC:
457
- *
458
- * the simpleType has a variety of "union".
459
- */
460
- #define XML_SCHEMAS_TYPE_VARIETY_ATOMIC 1 << 8
461
- /**
462
- * XML_SCHEMAS_TYPE_FINAL_EXTENSION:
463
- *
464
- * the complexType has a final of "extension".
465
- */
466
- #define XML_SCHEMAS_TYPE_FINAL_EXTENSION 1 << 9
467
- /**
468
- * XML_SCHEMAS_TYPE_FINAL_RESTRICTION:
469
- *
470
- * the simpleType/complexType has a final of "restriction".
471
- */
472
- #define XML_SCHEMAS_TYPE_FINAL_RESTRICTION 1 << 10
473
- /**
474
- * XML_SCHEMAS_TYPE_FINAL_LIST:
475
- *
476
- * the simpleType has a final of "list".
477
- */
478
- #define XML_SCHEMAS_TYPE_FINAL_LIST 1 << 11
479
- /**
480
- * XML_SCHEMAS_TYPE_FINAL_UNION:
481
- *
482
- * the simpleType has a final of "union".
483
- */
484
- #define XML_SCHEMAS_TYPE_FINAL_UNION 1 << 12
485
- /**
486
- * XML_SCHEMAS_TYPE_FINAL_DEFAULT:
487
- *
488
- * the simpleType has a final of "default".
489
- */
490
- #define XML_SCHEMAS_TYPE_FINAL_DEFAULT 1 << 13
491
- /**
492
- * XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE:
493
- *
494
- * Marks the item as a builtin primitive.
495
- */
496
- #define XML_SCHEMAS_TYPE_BUILTIN_PRIMITIVE 1 << 14
497
- /**
498
- * XML_SCHEMAS_TYPE_MARKED:
499
- *
500
- * Marks the item as marked; used for circular checks.
501
- */
502
- #define XML_SCHEMAS_TYPE_MARKED 1 << 16
503
- /**
504
- * XML_SCHEMAS_TYPE_BLOCK_DEFAULT:
505
- *
506
- * the complexType did not specify 'block' so use the default of the
507
- * <schema> item.
508
- */
509
- #define XML_SCHEMAS_TYPE_BLOCK_DEFAULT 1 << 17
510
- /**
511
- * XML_SCHEMAS_TYPE_BLOCK_EXTENSION:
512
- *
513
- * the complexType has a 'block' of "extension".
514
- */
515
- #define XML_SCHEMAS_TYPE_BLOCK_EXTENSION 1 << 18
516
- /**
517
- * XML_SCHEMAS_TYPE_BLOCK_RESTRICTION:
518
- *
519
- * the complexType has a 'block' of "restriction".
520
- */
521
- #define XML_SCHEMAS_TYPE_BLOCK_RESTRICTION 1 << 19
522
- /**
523
- * XML_SCHEMAS_TYPE_ABSTRACT:
524
- *
525
- * the simple/complexType is abstract.
526
- */
527
- #define XML_SCHEMAS_TYPE_ABSTRACT 1 << 20
528
- /**
529
- * XML_SCHEMAS_TYPE_FACETSNEEDVALUE:
530
- *
531
- * indicates if the facets need a computed value
532
- */
533
- #define XML_SCHEMAS_TYPE_FACETSNEEDVALUE 1 << 21
534
- /**
535
- * XML_SCHEMAS_TYPE_INTERNAL_RESOLVED:
536
- *
537
- * indicates that the type was typefixed
538
- */
539
- #define XML_SCHEMAS_TYPE_INTERNAL_RESOLVED 1 << 22
540
- /**
541
- * XML_SCHEMAS_TYPE_INTERNAL_INVALID:
542
- *
543
- * indicates that the type is invalid
544
- */
545
- #define XML_SCHEMAS_TYPE_INTERNAL_INVALID 1 << 23
546
- /**
547
- * XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE:
548
- *
549
- * a whitespace-facet value of "preserve"
550
- */
551
- #define XML_SCHEMAS_TYPE_WHITESPACE_PRESERVE 1 << 24
552
- /**
553
- * XML_SCHEMAS_TYPE_WHITESPACE_REPLACE:
554
- *
555
- * a whitespace-facet value of "replace"
556
- */
557
- #define XML_SCHEMAS_TYPE_WHITESPACE_REPLACE 1 << 25
558
- /**
559
- * XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE:
560
- *
561
- * a whitespace-facet value of "collapse"
562
- */
563
- #define XML_SCHEMAS_TYPE_WHITESPACE_COLLAPSE 1 << 26
564
- /**
565
- * XML_SCHEMAS_TYPE_HAS_FACETS:
566
- *
567
- * has facets
568
- */
569
- #define XML_SCHEMAS_TYPE_HAS_FACETS 1 << 27
570
- /**
571
- * XML_SCHEMAS_TYPE_NORMVALUENEEDED:
572
- *
573
- * indicates if the facets (pattern) need a normalized value
574
- */
575
- #define XML_SCHEMAS_TYPE_NORMVALUENEEDED 1 << 28
576
-
577
- /**
578
- * XML_SCHEMAS_TYPE_FIXUP_1:
579
- *
580
- * First stage of fixup was done.
581
- */
582
- #define XML_SCHEMAS_TYPE_FIXUP_1 1 << 29
583
-
584
- /**
585
- * XML_SCHEMAS_TYPE_REDEFINED:
586
- *
587
- * The type was redefined.
588
- */
589
- #define XML_SCHEMAS_TYPE_REDEFINED 1 << 30
590
- /**
591
- * XML_SCHEMAS_TYPE_REDEFINING:
592
- *
593
- * The type redefines an other type.
594
- */
595
- /* #define XML_SCHEMAS_TYPE_REDEFINING 1 << 31 */
596
-
597
- /**
598
- * _xmlSchemaType:
599
- *
600
- * Schemas type definition.
601
- */
602
- struct _xmlSchemaType {
603
- xmlSchemaTypeType type; /* The kind of type */
604
- struct _xmlSchemaType *next; /* the next type if in a sequence ... */
605
- const xmlChar *name;
606
- const xmlChar *id ; /* Deprecated; not used */
607
- const xmlChar *ref; /* Deprecated; not used */
608
- const xmlChar *refNs; /* Deprecated; not used */
609
- xmlSchemaAnnotPtr annot;
610
- xmlSchemaTypePtr subtypes;
611
- xmlSchemaAttributePtr attributes; /* Deprecated; not used */
612
- xmlNodePtr node;
613
- int minOccurs; /* Deprecated; not used */
614
- int maxOccurs; /* Deprecated; not used */
615
-
616
- int flags;
617
- xmlSchemaContentType contentType;
618
- const xmlChar *base; /* Base type's local name */
619
- const xmlChar *baseNs; /* Base type's target namespace */
620
- xmlSchemaTypePtr baseType; /* The base type component */
621
- xmlSchemaFacetPtr facets; /* Local facets */
622
- struct _xmlSchemaType *redef; /* Deprecated; not used */
623
- int recurse; /* Obsolete */
624
- xmlSchemaAttributeLinkPtr *attributeUses; /* Deprecated; not used */
625
- xmlSchemaWildcardPtr attributeWildcard;
626
- int builtInType; /* Type of built-in types. */
627
- xmlSchemaTypeLinkPtr memberTypes; /* member-types if a union type. */
628
- xmlSchemaFacetLinkPtr facetSet; /* All facets (incl. inherited) */
629
- const xmlChar *refPrefix; /* Deprecated; not used */
630
- xmlSchemaTypePtr contentTypeDef; /* Used for the simple content of complex types.
631
- Could we use @subtypes for this? */
632
- xmlRegexpPtr contModel; /* Holds the automaton of the content model */
633
- const xmlChar *targetNamespace;
634
- void *attrUses;
635
- };
636
-
637
- /*
638
- * xmlSchemaElement:
639
- * An element definition.
640
- *
641
- * xmlSchemaType, xmlSchemaFacet and xmlSchemaElement start of
642
- * structures must be kept similar
643
- */
644
- /**
645
- * XML_SCHEMAS_ELEM_NILLABLE:
646
- *
647
- * the element is nillable
648
- */
649
- #define XML_SCHEMAS_ELEM_NILLABLE 1 << 0
650
- /**
651
- * XML_SCHEMAS_ELEM_GLOBAL:
652
- *
653
- * the element is global
654
- */
655
- #define XML_SCHEMAS_ELEM_GLOBAL 1 << 1
656
- /**
657
- * XML_SCHEMAS_ELEM_DEFAULT:
658
- *
659
- * the element has a default value
660
- */
661
- #define XML_SCHEMAS_ELEM_DEFAULT 1 << 2
662
- /**
663
- * XML_SCHEMAS_ELEM_FIXED:
664
- *
665
- * the element has a fixed value
666
- */
667
- #define XML_SCHEMAS_ELEM_FIXED 1 << 3
668
- /**
669
- * XML_SCHEMAS_ELEM_ABSTRACT:
670
- *
671
- * the element is abstract
672
- */
673
- #define XML_SCHEMAS_ELEM_ABSTRACT 1 << 4
674
- /**
675
- * XML_SCHEMAS_ELEM_TOPLEVEL:
676
- *
677
- * the element is top level
678
- * obsolete: use XML_SCHEMAS_ELEM_GLOBAL instead
679
- */
680
- #define XML_SCHEMAS_ELEM_TOPLEVEL 1 << 5
681
- /**
682
- * XML_SCHEMAS_ELEM_REF:
683
- *
684
- * the element is a reference to a type
685
- */
686
- #define XML_SCHEMAS_ELEM_REF 1 << 6
687
- /**
688
- * XML_SCHEMAS_ELEM_NSDEFAULT:
689
- *
690
- * allow elements in no namespace
691
- * Obsolete, not used anymore.
692
- */
693
- #define XML_SCHEMAS_ELEM_NSDEFAULT 1 << 7
694
- /**
695
- * XML_SCHEMAS_ELEM_INTERNAL_RESOLVED:
696
- *
697
- * this is set when "type", "ref", "substitutionGroup"
698
- * references have been resolved.
699
- */
700
- #define XML_SCHEMAS_ELEM_INTERNAL_RESOLVED 1 << 8
701
- /**
702
- * XML_SCHEMAS_ELEM_CIRCULAR:
703
- *
704
- * a helper flag for the search of circular references.
705
- */
706
- #define XML_SCHEMAS_ELEM_CIRCULAR 1 << 9
707
- /**
708
- * XML_SCHEMAS_ELEM_BLOCK_ABSENT:
709
- *
710
- * the "block" attribute is absent
711
- */
712
- #define XML_SCHEMAS_ELEM_BLOCK_ABSENT 1 << 10
713
- /**
714
- * XML_SCHEMAS_ELEM_BLOCK_EXTENSION:
715
- *
716
- * disallowed substitutions are absent
717
- */
718
- #define XML_SCHEMAS_ELEM_BLOCK_EXTENSION 1 << 11
719
- /**
720
- * XML_SCHEMAS_ELEM_BLOCK_RESTRICTION:
721
- *
722
- * disallowed substitutions: "restriction"
723
- */
724
- #define XML_SCHEMAS_ELEM_BLOCK_RESTRICTION 1 << 12
725
- /**
726
- * XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION:
727
- *
728
- * disallowed substitutions: "substituion"
729
- */
730
- #define XML_SCHEMAS_ELEM_BLOCK_SUBSTITUTION 1 << 13
731
- /**
732
- * XML_SCHEMAS_ELEM_FINAL_ABSENT:
733
- *
734
- * substitution group exclusions are absent
735
- */
736
- #define XML_SCHEMAS_ELEM_FINAL_ABSENT 1 << 14
737
- /**
738
- * XML_SCHEMAS_ELEM_FINAL_EXTENSION:
739
- *
740
- * substitution group exclusions: "extension"
741
- */
742
- #define XML_SCHEMAS_ELEM_FINAL_EXTENSION 1 << 15
743
- /**
744
- * XML_SCHEMAS_ELEM_FINAL_RESTRICTION:
745
- *
746
- * substitution group exclusions: "restriction"
747
- */
748
- #define XML_SCHEMAS_ELEM_FINAL_RESTRICTION 1 << 16
749
- /**
750
- * XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD:
751
- *
752
- * the declaration is a substitution group head
753
- */
754
- #define XML_SCHEMAS_ELEM_SUBST_GROUP_HEAD 1 << 17
755
- /**
756
- * XML_SCHEMAS_ELEM_INTERNAL_CHECKED:
757
- *
758
- * this is set when the elem decl has been checked against
759
- * all constraints
760
- */
761
- #define XML_SCHEMAS_ELEM_INTERNAL_CHECKED 1 << 18
762
-
763
- typedef struct _xmlSchemaElement xmlSchemaElement;
764
- typedef xmlSchemaElement *xmlSchemaElementPtr;
765
- struct _xmlSchemaElement {
766
- xmlSchemaTypeType type; /* The kind of type */
767
- struct _xmlSchemaType *next; /* Not used? */
768
- const xmlChar *name;
769
- const xmlChar *id; /* Deprecated; not used */
770
- const xmlChar *ref; /* Deprecated; not used */
771
- const xmlChar *refNs; /* Deprecated; not used */
772
- xmlSchemaAnnotPtr annot;
773
- xmlSchemaTypePtr subtypes; /* the type definition */
774
- xmlSchemaAttributePtr attributes;
775
- xmlNodePtr node;
776
- int minOccurs; /* Deprecated; not used */
777
- int maxOccurs; /* Deprecated; not used */
778
-
779
- int flags;
780
- const xmlChar *targetNamespace;
781
- const xmlChar *namedType;
782
- const xmlChar *namedTypeNs;
783
- const xmlChar *substGroup;
784
- const xmlChar *substGroupNs;
785
- const xmlChar *scope;
786
- const xmlChar *value; /* The original value of the value constraint. */
787
- struct _xmlSchemaElement *refDecl; /* This will now be used for the
788
- substitution group affiliation */
789
- xmlRegexpPtr contModel; /* Obsolete for WXS, maybe used for RelaxNG */
790
- xmlSchemaContentType contentType;
791
- const xmlChar *refPrefix; /* Deprecated; not used */
792
- xmlSchemaValPtr defVal; /* The compiled value contraint. */
793
- void *idcs; /* The identity-constraint defs */
794
- };
795
-
796
- /*
797
- * XML_SCHEMAS_FACET_UNKNOWN:
798
- *
799
- * unknown facet handling
800
- */
801
- #define XML_SCHEMAS_FACET_UNKNOWN 0
802
- /*
803
- * XML_SCHEMAS_FACET_PRESERVE:
804
- *
805
- * preserve the type of the facet
806
- */
807
- #define XML_SCHEMAS_FACET_PRESERVE 1
808
- /*
809
- * XML_SCHEMAS_FACET_REPLACE:
810
- *
811
- * replace the type of the facet
812
- */
813
- #define XML_SCHEMAS_FACET_REPLACE 2
814
- /*
815
- * XML_SCHEMAS_FACET_COLLAPSE:
816
- *
817
- * collapse the types of the facet
818
- */
819
- #define XML_SCHEMAS_FACET_COLLAPSE 3
820
- /**
821
- * A facet definition.
822
- */
823
- struct _xmlSchemaFacet {
824
- xmlSchemaTypeType type; /* The kind of type */
825
- struct _xmlSchemaFacet *next;/* the next type if in a sequence ... */
826
- const xmlChar *value; /* The original value */
827
- const xmlChar *id; /* Obsolete */
828
- xmlSchemaAnnotPtr annot;
829
- xmlNodePtr node;
830
- int fixed; /* XML_SCHEMAS_FACET_PRESERVE, etc. */
831
- int whitespace;
832
- xmlSchemaValPtr val; /* The compiled value */
833
- xmlRegexpPtr regexp; /* The regex for patterns */
834
- };
835
-
836
- /**
837
- * A notation definition.
838
- */
839
- typedef struct _xmlSchemaNotation xmlSchemaNotation;
840
- typedef xmlSchemaNotation *xmlSchemaNotationPtr;
841
- struct _xmlSchemaNotation {
842
- xmlSchemaTypeType type; /* The kind of type */
843
- const xmlChar *name;
844
- xmlSchemaAnnotPtr annot;
845
- const xmlChar *identifier;
846
- const xmlChar *targetNamespace;
847
- };
848
-
849
- /*
850
- * TODO: Actually all those flags used for the schema should sit
851
- * on the schema parser context, since they are used only
852
- * during parsing an XML schema document, and not available
853
- * on the component level as per spec.
854
- */
855
- /**
856
- * XML_SCHEMAS_QUALIF_ELEM:
857
- *
858
- * Reflects elementFormDefault == qualified in
859
- * an XML schema document.
860
- */
861
- #define XML_SCHEMAS_QUALIF_ELEM 1 << 0
862
- /**
863
- * XML_SCHEMAS_QUALIF_ATTR:
864
- *
865
- * Reflects attributeFormDefault == qualified in
866
- * an XML schema document.
867
- */
868
- #define XML_SCHEMAS_QUALIF_ATTR 1 << 1
869
- /**
870
- * XML_SCHEMAS_FINAL_DEFAULT_EXTENSION:
871
- *
872
- * the schema has "extension" in the set of finalDefault.
873
- */
874
- #define XML_SCHEMAS_FINAL_DEFAULT_EXTENSION 1 << 2
875
- /**
876
- * XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION:
877
- *
878
- * the schema has "restriction" in the set of finalDefault.
879
- */
880
- #define XML_SCHEMAS_FINAL_DEFAULT_RESTRICTION 1 << 3
881
- /**
882
- * XML_SCHEMAS_FINAL_DEFAULT_LIST:
883
- *
884
- * the cshema has "list" in the set of finalDefault.
885
- */
886
- #define XML_SCHEMAS_FINAL_DEFAULT_LIST 1 << 4
887
- /**
888
- * XML_SCHEMAS_FINAL_DEFAULT_UNION:
889
- *
890
- * the schema has "union" in the set of finalDefault.
891
- */
892
- #define XML_SCHEMAS_FINAL_DEFAULT_UNION 1 << 5
893
- /**
894
- * XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION:
895
- *
896
- * the schema has "extension" in the set of blockDefault.
897
- */
898
- #define XML_SCHEMAS_BLOCK_DEFAULT_EXTENSION 1 << 6
899
- /**
900
- * XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION:
901
- *
902
- * the schema has "restriction" in the set of blockDefault.
903
- */
904
- #define XML_SCHEMAS_BLOCK_DEFAULT_RESTRICTION 1 << 7
905
- /**
906
- * XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION:
907
- *
908
- * the schema has "substitution" in the set of blockDefault.
909
- */
910
- #define XML_SCHEMAS_BLOCK_DEFAULT_SUBSTITUTION 1 << 8
911
- /**
912
- * XML_SCHEMAS_INCLUDING_CONVERT_NS:
913
- *
914
- * the schema is currently including an other schema with
915
- * no target namespace.
916
- */
917
- #define XML_SCHEMAS_INCLUDING_CONVERT_NS 1 << 9
918
- /**
919
- * _xmlSchema:
920
- *
921
- * A Schemas definition
922
- */
923
- struct _xmlSchema {
924
- const xmlChar *name; /* schema name */
925
- const xmlChar *targetNamespace; /* the target namespace */
926
- const xmlChar *version;
927
- const xmlChar *id; /* Obsolete */
928
- xmlDocPtr doc;
929
- xmlSchemaAnnotPtr annot;
930
- int flags;
931
-
932
- xmlHashTablePtr typeDecl;
933
- xmlHashTablePtr attrDecl;
934
- xmlHashTablePtr attrgrpDecl;
935
- xmlHashTablePtr elemDecl;
936
- xmlHashTablePtr notaDecl;
937
-
938
- xmlHashTablePtr schemasImports;
939
-
940
- void *_private; /* unused by the library for users or bindings */
941
- xmlHashTablePtr groupDecl;
942
- xmlDictPtr dict;
943
- void *includes; /* the includes, this is opaque for now */
944
- int preserve; /* whether to free the document */
945
- int counter; /* used to give ononymous components unique names */
946
- xmlHashTablePtr idcDef; /* All identity-constraint defs. */
947
- void *volatiles; /* Obsolete */
948
- };
949
-
950
- XMLPUBFUN void XMLCALL xmlSchemaFreeType (xmlSchemaTypePtr type);
951
- XMLPUBFUN void XMLCALL xmlSchemaFreeWildcard(xmlSchemaWildcardPtr wildcard);
952
-
953
- #ifdef __cplusplus
954
- }
955
- #endif
956
-
957
- #endif /* LIBXML_SCHEMAS_ENABLED */
958
- #endif /* __XML_SCHEMA_INTERNALS_H__ */