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