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,87 @@
|
|
1
|
+
/*
|
2
|
+
* Summary: the XML document serializer
|
3
|
+
* Description: API to save document or subtree of document
|
4
|
+
*
|
5
|
+
* Copy: See Copyright for the status of this software.
|
6
|
+
*
|
7
|
+
* Author: Daniel Veillard
|
8
|
+
*/
|
9
|
+
|
10
|
+
#ifndef __XML_XMLSAVE_H__
|
11
|
+
#define __XML_XMLSAVE_H__
|
12
|
+
|
13
|
+
#include <libxml/xmlversion.h>
|
14
|
+
#include <libxml/tree.h>
|
15
|
+
#include <libxml/encoding.h>
|
16
|
+
#include <libxml/xmlIO.h>
|
17
|
+
|
18
|
+
#ifdef LIBXML_OUTPUT_ENABLED
|
19
|
+
#ifdef __cplusplus
|
20
|
+
extern "C" {
|
21
|
+
#endif
|
22
|
+
|
23
|
+
/**
|
24
|
+
* xmlSaveOption:
|
25
|
+
*
|
26
|
+
* This is the set of XML save options that can be passed down
|
27
|
+
* to the xmlSaveToFd() and similar calls.
|
28
|
+
*/
|
29
|
+
typedef enum {
|
30
|
+
XML_SAVE_FORMAT = 1<<0, /* format save output */
|
31
|
+
XML_SAVE_NO_DECL = 1<<1, /* drop the xml declaration */
|
32
|
+
XML_SAVE_NO_EMPTY = 1<<2, /* no empty tags */
|
33
|
+
XML_SAVE_NO_XHTML = 1<<3, /* disable XHTML1 specific rules */
|
34
|
+
XML_SAVE_XHTML = 1<<4, /* force XHTML1 specific rules */
|
35
|
+
XML_SAVE_AS_XML = 1<<5, /* force XML serialization on HTML doc */
|
36
|
+
XML_SAVE_AS_HTML = 1<<6 /* force HTML serialization on XML doc */
|
37
|
+
} xmlSaveOption;
|
38
|
+
|
39
|
+
|
40
|
+
typedef struct _xmlSaveCtxt xmlSaveCtxt;
|
41
|
+
typedef xmlSaveCtxt *xmlSaveCtxtPtr;
|
42
|
+
|
43
|
+
XMLPUBFUN xmlSaveCtxtPtr XMLCALL
|
44
|
+
xmlSaveToFd (int fd,
|
45
|
+
const char *encoding,
|
46
|
+
int options);
|
47
|
+
XMLPUBFUN xmlSaveCtxtPtr XMLCALL
|
48
|
+
xmlSaveToFilename (const char *filename,
|
49
|
+
const char *encoding,
|
50
|
+
int options);
|
51
|
+
|
52
|
+
XMLPUBFUN xmlSaveCtxtPtr XMLCALL
|
53
|
+
xmlSaveToBuffer (xmlBufferPtr buffer,
|
54
|
+
const char *encoding,
|
55
|
+
int options);
|
56
|
+
|
57
|
+
XMLPUBFUN xmlSaveCtxtPtr XMLCALL
|
58
|
+
xmlSaveToIO (xmlOutputWriteCallback iowrite,
|
59
|
+
xmlOutputCloseCallback ioclose,
|
60
|
+
void *ioctx,
|
61
|
+
const char *encoding,
|
62
|
+
int options);
|
63
|
+
|
64
|
+
XMLPUBFUN long XMLCALL
|
65
|
+
xmlSaveDoc (xmlSaveCtxtPtr ctxt,
|
66
|
+
xmlDocPtr doc);
|
67
|
+
XMLPUBFUN long XMLCALL
|
68
|
+
xmlSaveTree (xmlSaveCtxtPtr ctxt,
|
69
|
+
xmlNodePtr node);
|
70
|
+
|
71
|
+
XMLPUBFUN int XMLCALL
|
72
|
+
xmlSaveFlush (xmlSaveCtxtPtr ctxt);
|
73
|
+
XMLPUBFUN int XMLCALL
|
74
|
+
xmlSaveClose (xmlSaveCtxtPtr ctxt);
|
75
|
+
XMLPUBFUN int XMLCALL
|
76
|
+
xmlSaveSetEscape (xmlSaveCtxtPtr ctxt,
|
77
|
+
xmlCharEncodingOutputFunc escape);
|
78
|
+
XMLPUBFUN int XMLCALL
|
79
|
+
xmlSaveSetAttrEscape (xmlSaveCtxtPtr ctxt,
|
80
|
+
xmlCharEncodingOutputFunc escape);
|
81
|
+
#ifdef __cplusplus
|
82
|
+
}
|
83
|
+
#endif
|
84
|
+
#endif /* LIBXML_OUTPUT_ENABLED */
|
85
|
+
#endif /* __XML_XMLSAVE_H__ */
|
86
|
+
|
87
|
+
|
@@ -0,0 +1,218 @@
|
|
1
|
+
/*
|
2
|
+
* Summary: incomplete XML Schemas structure implementation
|
3
|
+
* Description: interface to the XML Schemas handling and schema validity
|
4
|
+
* checking, it is incomplete right now.
|
5
|
+
*
|
6
|
+
* Copy: See Copyright for the status of this software.
|
7
|
+
*
|
8
|
+
* Author: Daniel Veillard
|
9
|
+
*/
|
10
|
+
|
11
|
+
|
12
|
+
#ifndef __XML_SCHEMA_H__
|
13
|
+
#define __XML_SCHEMA_H__
|
14
|
+
|
15
|
+
#include <libxml/xmlversion.h>
|
16
|
+
|
17
|
+
#ifdef LIBXML_SCHEMAS_ENABLED
|
18
|
+
|
19
|
+
#include <libxml/tree.h>
|
20
|
+
|
21
|
+
#ifdef __cplusplus
|
22
|
+
extern "C" {
|
23
|
+
#endif
|
24
|
+
|
25
|
+
/**
|
26
|
+
* This error codes are obsolete; not used any more.
|
27
|
+
*/
|
28
|
+
typedef enum {
|
29
|
+
XML_SCHEMAS_ERR_OK = 0,
|
30
|
+
XML_SCHEMAS_ERR_NOROOT = 1,
|
31
|
+
XML_SCHEMAS_ERR_UNDECLAREDELEM,
|
32
|
+
XML_SCHEMAS_ERR_NOTTOPLEVEL,
|
33
|
+
XML_SCHEMAS_ERR_MISSING,
|
34
|
+
XML_SCHEMAS_ERR_WRONGELEM,
|
35
|
+
XML_SCHEMAS_ERR_NOTYPE,
|
36
|
+
XML_SCHEMAS_ERR_NOROLLBACK,
|
37
|
+
XML_SCHEMAS_ERR_ISABSTRACT,
|
38
|
+
XML_SCHEMAS_ERR_NOTEMPTY,
|
39
|
+
XML_SCHEMAS_ERR_ELEMCONT,
|
40
|
+
XML_SCHEMAS_ERR_HAVEDEFAULT,
|
41
|
+
XML_SCHEMAS_ERR_NOTNILLABLE,
|
42
|
+
XML_SCHEMAS_ERR_EXTRACONTENT,
|
43
|
+
XML_SCHEMAS_ERR_INVALIDATTR,
|
44
|
+
XML_SCHEMAS_ERR_INVALIDELEM,
|
45
|
+
XML_SCHEMAS_ERR_NOTDETERMINIST,
|
46
|
+
XML_SCHEMAS_ERR_CONSTRUCT,
|
47
|
+
XML_SCHEMAS_ERR_INTERNAL,
|
48
|
+
XML_SCHEMAS_ERR_NOTSIMPLE,
|
49
|
+
XML_SCHEMAS_ERR_ATTRUNKNOWN,
|
50
|
+
XML_SCHEMAS_ERR_ATTRINVALID,
|
51
|
+
XML_SCHEMAS_ERR_VALUE,
|
52
|
+
XML_SCHEMAS_ERR_FACET,
|
53
|
+
XML_SCHEMAS_ERR_,
|
54
|
+
XML_SCHEMAS_ERR_XXX
|
55
|
+
} xmlSchemaValidError;
|
56
|
+
|
57
|
+
/*
|
58
|
+
* ATTENTION: Change xmlSchemaSetValidOptions's check
|
59
|
+
* for invalid values, if adding to the validation
|
60
|
+
* options below.
|
61
|
+
*/
|
62
|
+
/**
|
63
|
+
* xmlSchemaValidOption:
|
64
|
+
*
|
65
|
+
* This is the set of XML Schema validation options.
|
66
|
+
*/
|
67
|
+
typedef enum {
|
68
|
+
XML_SCHEMA_VAL_VC_I_CREATE = 1<<0
|
69
|
+
/* Default/fixed: create an attribute node
|
70
|
+
* or an element's text node on the instance.
|
71
|
+
*/
|
72
|
+
} xmlSchemaValidOption;
|
73
|
+
|
74
|
+
/*
|
75
|
+
XML_SCHEMA_VAL_XSI_ASSEMBLE = 1<<1,
|
76
|
+
* assemble schemata using
|
77
|
+
* xsi:schemaLocation and
|
78
|
+
* xsi:noNamespaceSchemaLocation
|
79
|
+
*/
|
80
|
+
|
81
|
+
/**
|
82
|
+
* The schemas related types are kept internal
|
83
|
+
*/
|
84
|
+
typedef struct _xmlSchema xmlSchema;
|
85
|
+
typedef xmlSchema *xmlSchemaPtr;
|
86
|
+
|
87
|
+
/**
|
88
|
+
* xmlSchemaValidityErrorFunc:
|
89
|
+
* @ctx: the validation context
|
90
|
+
* @msg: the message
|
91
|
+
* @...: extra arguments
|
92
|
+
*
|
93
|
+
* Signature of an error callback from an XSD validation
|
94
|
+
*/
|
95
|
+
typedef void (XMLCDECL *xmlSchemaValidityErrorFunc) (void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
|
96
|
+
|
97
|
+
/**
|
98
|
+
* xmlSchemaValidityWarningFunc:
|
99
|
+
* @ctx: the validation context
|
100
|
+
* @msg: the message
|
101
|
+
* @...: extra arguments
|
102
|
+
*
|
103
|
+
* Signature of a warning callback from an XSD validation
|
104
|
+
*/
|
105
|
+
typedef void (XMLCDECL *xmlSchemaValidityWarningFunc) (void *ctx, const char *msg, ...) LIBXML_ATTR_FORMAT(2,3);
|
106
|
+
|
107
|
+
/**
|
108
|
+
* A schemas validation context
|
109
|
+
*/
|
110
|
+
typedef struct _xmlSchemaParserCtxt xmlSchemaParserCtxt;
|
111
|
+
typedef xmlSchemaParserCtxt *xmlSchemaParserCtxtPtr;
|
112
|
+
|
113
|
+
typedef struct _xmlSchemaValidCtxt xmlSchemaValidCtxt;
|
114
|
+
typedef xmlSchemaValidCtxt *xmlSchemaValidCtxtPtr;
|
115
|
+
|
116
|
+
/*
|
117
|
+
* Interfaces for parsing.
|
118
|
+
*/
|
119
|
+
XMLPUBFUN xmlSchemaParserCtxtPtr XMLCALL
|
120
|
+
xmlSchemaNewParserCtxt (const char *URL);
|
121
|
+
XMLPUBFUN xmlSchemaParserCtxtPtr XMLCALL
|
122
|
+
xmlSchemaNewMemParserCtxt (const char *buffer,
|
123
|
+
int size);
|
124
|
+
XMLPUBFUN xmlSchemaParserCtxtPtr XMLCALL
|
125
|
+
xmlSchemaNewDocParserCtxt (xmlDocPtr doc);
|
126
|
+
XMLPUBFUN void XMLCALL
|
127
|
+
xmlSchemaFreeParserCtxt (xmlSchemaParserCtxtPtr ctxt);
|
128
|
+
XMLPUBFUN void XMLCALL
|
129
|
+
xmlSchemaSetParserErrors (xmlSchemaParserCtxtPtr ctxt,
|
130
|
+
xmlSchemaValidityErrorFunc err,
|
131
|
+
xmlSchemaValidityWarningFunc warn,
|
132
|
+
void *ctx);
|
133
|
+
XMLPUBFUN void XMLCALL
|
134
|
+
xmlSchemaSetParserStructuredErrors(xmlSchemaParserCtxtPtr ctxt,
|
135
|
+
xmlStructuredErrorFunc serror,
|
136
|
+
void *ctx);
|
137
|
+
XMLPUBFUN int XMLCALL
|
138
|
+
xmlSchemaGetParserErrors(xmlSchemaParserCtxtPtr ctxt,
|
139
|
+
xmlSchemaValidityErrorFunc * err,
|
140
|
+
xmlSchemaValidityWarningFunc * warn,
|
141
|
+
void **ctx);
|
142
|
+
XMLPUBFUN int XMLCALL
|
143
|
+
xmlSchemaIsValid (xmlSchemaValidCtxtPtr ctxt);
|
144
|
+
|
145
|
+
XMLPUBFUN xmlSchemaPtr XMLCALL
|
146
|
+
xmlSchemaParse (xmlSchemaParserCtxtPtr ctxt);
|
147
|
+
XMLPUBFUN void XMLCALL
|
148
|
+
xmlSchemaFree (xmlSchemaPtr schema);
|
149
|
+
#ifdef LIBXML_OUTPUT_ENABLED
|
150
|
+
XMLPUBFUN void XMLCALL
|
151
|
+
xmlSchemaDump (FILE *output,
|
152
|
+
xmlSchemaPtr schema);
|
153
|
+
#endif /* LIBXML_OUTPUT_ENABLED */
|
154
|
+
/*
|
155
|
+
* Interfaces for validating
|
156
|
+
*/
|
157
|
+
XMLPUBFUN void XMLCALL
|
158
|
+
xmlSchemaSetValidErrors (xmlSchemaValidCtxtPtr ctxt,
|
159
|
+
xmlSchemaValidityErrorFunc err,
|
160
|
+
xmlSchemaValidityWarningFunc warn,
|
161
|
+
void *ctx);
|
162
|
+
XMLPUBFUN void XMLCALL
|
163
|
+
xmlSchemaSetValidStructuredErrors(xmlSchemaValidCtxtPtr ctxt,
|
164
|
+
xmlStructuredErrorFunc serror,
|
165
|
+
void *ctx);
|
166
|
+
XMLPUBFUN int XMLCALL
|
167
|
+
xmlSchemaGetValidErrors (xmlSchemaValidCtxtPtr ctxt,
|
168
|
+
xmlSchemaValidityErrorFunc *err,
|
169
|
+
xmlSchemaValidityWarningFunc *warn,
|
170
|
+
void **ctx);
|
171
|
+
XMLPUBFUN int XMLCALL
|
172
|
+
xmlSchemaSetValidOptions (xmlSchemaValidCtxtPtr ctxt,
|
173
|
+
int options);
|
174
|
+
XMLPUBFUN int XMLCALL
|
175
|
+
xmlSchemaValidCtxtGetOptions(xmlSchemaValidCtxtPtr ctxt);
|
176
|
+
|
177
|
+
XMLPUBFUN xmlSchemaValidCtxtPtr XMLCALL
|
178
|
+
xmlSchemaNewValidCtxt (xmlSchemaPtr schema);
|
179
|
+
XMLPUBFUN void XMLCALL
|
180
|
+
xmlSchemaFreeValidCtxt (xmlSchemaValidCtxtPtr ctxt);
|
181
|
+
XMLPUBFUN int XMLCALL
|
182
|
+
xmlSchemaValidateDoc (xmlSchemaValidCtxtPtr ctxt,
|
183
|
+
xmlDocPtr instance);
|
184
|
+
XMLPUBFUN int XMLCALL
|
185
|
+
xmlSchemaValidateOneElement (xmlSchemaValidCtxtPtr ctxt,
|
186
|
+
xmlNodePtr elem);
|
187
|
+
XMLPUBFUN int XMLCALL
|
188
|
+
xmlSchemaValidateStream (xmlSchemaValidCtxtPtr ctxt,
|
189
|
+
xmlParserInputBufferPtr input,
|
190
|
+
xmlCharEncoding enc,
|
191
|
+
xmlSAXHandlerPtr sax,
|
192
|
+
void *user_data);
|
193
|
+
XMLPUBFUN int XMLCALL
|
194
|
+
xmlSchemaValidateFile (xmlSchemaValidCtxtPtr ctxt,
|
195
|
+
const char * filename,
|
196
|
+
int options);
|
197
|
+
|
198
|
+
XMLPUBFUN xmlParserCtxtPtr XMLCALL
|
199
|
+
xmlSchemaValidCtxtGetParserCtxt(xmlSchemaValidCtxtPtr ctxt);
|
200
|
+
|
201
|
+
/*
|
202
|
+
* Interface to insert Schemas SAX validation in a SAX stream
|
203
|
+
*/
|
204
|
+
typedef struct _xmlSchemaSAXPlug xmlSchemaSAXPlugStruct;
|
205
|
+
typedef xmlSchemaSAXPlugStruct *xmlSchemaSAXPlugPtr;
|
206
|
+
|
207
|
+
XMLPUBFUN xmlSchemaSAXPlugPtr XMLCALL
|
208
|
+
xmlSchemaSAXPlug (xmlSchemaValidCtxtPtr ctxt,
|
209
|
+
xmlSAXHandlerPtr *sax,
|
210
|
+
void **user_data);
|
211
|
+
XMLPUBFUN int XMLCALL
|
212
|
+
xmlSchemaSAXUnplug (xmlSchemaSAXPlugPtr plug);
|
213
|
+
#ifdef __cplusplus
|
214
|
+
}
|
215
|
+
#endif
|
216
|
+
|
217
|
+
#endif /* LIBXML_SCHEMAS_ENABLED */
|
218
|
+
#endif /* __XML_SCHEMA_H__ */
|
@@ -0,0 +1,151 @@
|
|
1
|
+
/*
|
2
|
+
* Summary: implementation of XML Schema Datatypes
|
3
|
+
* Description: module providing the XML Schema Datatypes implementation
|
4
|
+
* both definition and validity checking
|
5
|
+
*
|
6
|
+
* Copy: See Copyright for the status of this software.
|
7
|
+
*
|
8
|
+
* Author: Daniel Veillard
|
9
|
+
*/
|
10
|
+
|
11
|
+
|
12
|
+
#ifndef __XML_SCHEMA_TYPES_H__
|
13
|
+
#define __XML_SCHEMA_TYPES_H__
|
14
|
+
|
15
|
+
#include <libxml/xmlversion.h>
|
16
|
+
|
17
|
+
#ifdef LIBXML_SCHEMAS_ENABLED
|
18
|
+
|
19
|
+
#include <libxml/schemasInternals.h>
|
20
|
+
#include <libxml/xmlschemas.h>
|
21
|
+
|
22
|
+
#ifdef __cplusplus
|
23
|
+
extern "C" {
|
24
|
+
#endif
|
25
|
+
|
26
|
+
typedef enum {
|
27
|
+
XML_SCHEMA_WHITESPACE_UNKNOWN = 0,
|
28
|
+
XML_SCHEMA_WHITESPACE_PRESERVE = 1,
|
29
|
+
XML_SCHEMA_WHITESPACE_REPLACE = 2,
|
30
|
+
XML_SCHEMA_WHITESPACE_COLLAPSE = 3
|
31
|
+
} xmlSchemaWhitespaceValueType;
|
32
|
+
|
33
|
+
XMLPUBFUN void XMLCALL
|
34
|
+
xmlSchemaInitTypes (void);
|
35
|
+
XMLPUBFUN void XMLCALL
|
36
|
+
xmlSchemaCleanupTypes (void);
|
37
|
+
XMLPUBFUN xmlSchemaTypePtr XMLCALL
|
38
|
+
xmlSchemaGetPredefinedType (const xmlChar *name,
|
39
|
+
const xmlChar *ns);
|
40
|
+
XMLPUBFUN int XMLCALL
|
41
|
+
xmlSchemaValidatePredefinedType (xmlSchemaTypePtr type,
|
42
|
+
const xmlChar *value,
|
43
|
+
xmlSchemaValPtr *val);
|
44
|
+
XMLPUBFUN int XMLCALL
|
45
|
+
xmlSchemaValPredefTypeNode (xmlSchemaTypePtr type,
|
46
|
+
const xmlChar *value,
|
47
|
+
xmlSchemaValPtr *val,
|
48
|
+
xmlNodePtr node);
|
49
|
+
XMLPUBFUN int XMLCALL
|
50
|
+
xmlSchemaValidateFacet (xmlSchemaTypePtr base,
|
51
|
+
xmlSchemaFacetPtr facet,
|
52
|
+
const xmlChar *value,
|
53
|
+
xmlSchemaValPtr val);
|
54
|
+
XMLPUBFUN int XMLCALL
|
55
|
+
xmlSchemaValidateFacetWhtsp (xmlSchemaFacetPtr facet,
|
56
|
+
xmlSchemaWhitespaceValueType fws,
|
57
|
+
xmlSchemaValType valType,
|
58
|
+
const xmlChar *value,
|
59
|
+
xmlSchemaValPtr val,
|
60
|
+
xmlSchemaWhitespaceValueType ws);
|
61
|
+
XMLPUBFUN void XMLCALL
|
62
|
+
xmlSchemaFreeValue (xmlSchemaValPtr val);
|
63
|
+
XMLPUBFUN xmlSchemaFacetPtr XMLCALL
|
64
|
+
xmlSchemaNewFacet (void);
|
65
|
+
XMLPUBFUN int XMLCALL
|
66
|
+
xmlSchemaCheckFacet (xmlSchemaFacetPtr facet,
|
67
|
+
xmlSchemaTypePtr typeDecl,
|
68
|
+
xmlSchemaParserCtxtPtr ctxt,
|
69
|
+
const xmlChar *name);
|
70
|
+
XMLPUBFUN void XMLCALL
|
71
|
+
xmlSchemaFreeFacet (xmlSchemaFacetPtr facet);
|
72
|
+
XMLPUBFUN int XMLCALL
|
73
|
+
xmlSchemaCompareValues (xmlSchemaValPtr x,
|
74
|
+
xmlSchemaValPtr y);
|
75
|
+
XMLPUBFUN xmlSchemaTypePtr XMLCALL
|
76
|
+
xmlSchemaGetBuiltInListSimpleTypeItemType (xmlSchemaTypePtr type);
|
77
|
+
XMLPUBFUN int XMLCALL
|
78
|
+
xmlSchemaValidateListSimpleTypeFacet (xmlSchemaFacetPtr facet,
|
79
|
+
const xmlChar *value,
|
80
|
+
unsigned long actualLen,
|
81
|
+
unsigned long *expectedLen);
|
82
|
+
XMLPUBFUN xmlSchemaTypePtr XMLCALL
|
83
|
+
xmlSchemaGetBuiltInType (xmlSchemaValType type);
|
84
|
+
XMLPUBFUN int XMLCALL
|
85
|
+
xmlSchemaIsBuiltInTypeFacet (xmlSchemaTypePtr type,
|
86
|
+
int facetType);
|
87
|
+
XMLPUBFUN xmlChar * XMLCALL
|
88
|
+
xmlSchemaCollapseString (const xmlChar *value);
|
89
|
+
XMLPUBFUN xmlChar * XMLCALL
|
90
|
+
xmlSchemaWhiteSpaceReplace (const xmlChar *value);
|
91
|
+
XMLPUBFUN unsigned long XMLCALL
|
92
|
+
xmlSchemaGetFacetValueAsULong (xmlSchemaFacetPtr facet);
|
93
|
+
XMLPUBFUN int XMLCALL
|
94
|
+
xmlSchemaValidateLengthFacet (xmlSchemaTypePtr type,
|
95
|
+
xmlSchemaFacetPtr facet,
|
96
|
+
const xmlChar *value,
|
97
|
+
xmlSchemaValPtr val,
|
98
|
+
unsigned long *length);
|
99
|
+
XMLPUBFUN int XMLCALL
|
100
|
+
xmlSchemaValidateLengthFacetWhtsp(xmlSchemaFacetPtr facet,
|
101
|
+
xmlSchemaValType valType,
|
102
|
+
const xmlChar *value,
|
103
|
+
xmlSchemaValPtr val,
|
104
|
+
unsigned long *length,
|
105
|
+
xmlSchemaWhitespaceValueType ws);
|
106
|
+
XMLPUBFUN int XMLCALL
|
107
|
+
xmlSchemaValPredefTypeNodeNoNorm(xmlSchemaTypePtr type,
|
108
|
+
const xmlChar *value,
|
109
|
+
xmlSchemaValPtr *val,
|
110
|
+
xmlNodePtr node);
|
111
|
+
XMLPUBFUN int XMLCALL
|
112
|
+
xmlSchemaGetCanonValue (xmlSchemaValPtr val,
|
113
|
+
const xmlChar **retValue);
|
114
|
+
XMLPUBFUN int XMLCALL
|
115
|
+
xmlSchemaGetCanonValueWhtsp (xmlSchemaValPtr val,
|
116
|
+
const xmlChar **retValue,
|
117
|
+
xmlSchemaWhitespaceValueType ws);
|
118
|
+
XMLPUBFUN int XMLCALL
|
119
|
+
xmlSchemaValueAppend (xmlSchemaValPtr prev,
|
120
|
+
xmlSchemaValPtr cur);
|
121
|
+
XMLPUBFUN xmlSchemaValPtr XMLCALL
|
122
|
+
xmlSchemaValueGetNext (xmlSchemaValPtr cur);
|
123
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
124
|
+
xmlSchemaValueGetAsString (xmlSchemaValPtr val);
|
125
|
+
XMLPUBFUN int XMLCALL
|
126
|
+
xmlSchemaValueGetAsBoolean (xmlSchemaValPtr val);
|
127
|
+
XMLPUBFUN xmlSchemaValPtr XMLCALL
|
128
|
+
xmlSchemaNewStringValue (xmlSchemaValType type,
|
129
|
+
const xmlChar *value);
|
130
|
+
XMLPUBFUN xmlSchemaValPtr XMLCALL
|
131
|
+
xmlSchemaNewNOTATIONValue (const xmlChar *name,
|
132
|
+
const xmlChar *ns);
|
133
|
+
XMLPUBFUN xmlSchemaValPtr XMLCALL
|
134
|
+
xmlSchemaNewQNameValue (const xmlChar *namespaceName,
|
135
|
+
const xmlChar *localName);
|
136
|
+
XMLPUBFUN int XMLCALL
|
137
|
+
xmlSchemaCompareValuesWhtsp (xmlSchemaValPtr x,
|
138
|
+
xmlSchemaWhitespaceValueType xws,
|
139
|
+
xmlSchemaValPtr y,
|
140
|
+
xmlSchemaWhitespaceValueType yws);
|
141
|
+
XMLPUBFUN xmlSchemaValPtr XMLCALL
|
142
|
+
xmlSchemaCopyValue (xmlSchemaValPtr val);
|
143
|
+
XMLPUBFUN xmlSchemaValType XMLCALL
|
144
|
+
xmlSchemaGetValType (xmlSchemaValPtr val);
|
145
|
+
|
146
|
+
#ifdef __cplusplus
|
147
|
+
}
|
148
|
+
#endif
|
149
|
+
|
150
|
+
#endif /* LIBXML_SCHEMAS_ENABLED */
|
151
|
+
#endif /* __XML_SCHEMA_TYPES_H__ */
|
@@ -0,0 +1,140 @@
|
|
1
|
+
/*
|
2
|
+
* Summary: set of routines to process strings
|
3
|
+
* Description: type and interfaces needed for the internal string handling
|
4
|
+
* of the library, especially UTF8 processing.
|
5
|
+
*
|
6
|
+
* Copy: See Copyright for the status of this software.
|
7
|
+
*
|
8
|
+
* Author: Daniel Veillard
|
9
|
+
*/
|
10
|
+
|
11
|
+
#ifndef __XML_STRING_H__
|
12
|
+
#define __XML_STRING_H__
|
13
|
+
|
14
|
+
#include <stdarg.h>
|
15
|
+
#include <libxml/xmlversion.h>
|
16
|
+
|
17
|
+
#ifdef __cplusplus
|
18
|
+
extern "C" {
|
19
|
+
#endif
|
20
|
+
|
21
|
+
/**
|
22
|
+
* xmlChar:
|
23
|
+
*
|
24
|
+
* This is a basic byte in an UTF-8 encoded string.
|
25
|
+
* It's unsigned allowing to pinpoint case where char * are assigned
|
26
|
+
* to xmlChar * (possibly making serialization back impossible).
|
27
|
+
*/
|
28
|
+
typedef unsigned char xmlChar;
|
29
|
+
|
30
|
+
/**
|
31
|
+
* BAD_CAST:
|
32
|
+
*
|
33
|
+
* Macro to cast a string to an xmlChar * when one know its safe.
|
34
|
+
*/
|
35
|
+
#define BAD_CAST (xmlChar *)
|
36
|
+
|
37
|
+
/*
|
38
|
+
* xmlChar handling
|
39
|
+
*/
|
40
|
+
XMLPUBFUN xmlChar * XMLCALL
|
41
|
+
xmlStrdup (const xmlChar *cur);
|
42
|
+
XMLPUBFUN xmlChar * XMLCALL
|
43
|
+
xmlStrndup (const xmlChar *cur,
|
44
|
+
int len);
|
45
|
+
XMLPUBFUN xmlChar * XMLCALL
|
46
|
+
xmlCharStrndup (const char *cur,
|
47
|
+
int len);
|
48
|
+
XMLPUBFUN xmlChar * XMLCALL
|
49
|
+
xmlCharStrdup (const char *cur);
|
50
|
+
XMLPUBFUN xmlChar * XMLCALL
|
51
|
+
xmlStrsub (const xmlChar *str,
|
52
|
+
int start,
|
53
|
+
int len);
|
54
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
55
|
+
xmlStrchr (const xmlChar *str,
|
56
|
+
xmlChar val);
|
57
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
58
|
+
xmlStrstr (const xmlChar *str,
|
59
|
+
const xmlChar *val);
|
60
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
61
|
+
xmlStrcasestr (const xmlChar *str,
|
62
|
+
const xmlChar *val);
|
63
|
+
XMLPUBFUN int XMLCALL
|
64
|
+
xmlStrcmp (const xmlChar *str1,
|
65
|
+
const xmlChar *str2);
|
66
|
+
XMLPUBFUN int XMLCALL
|
67
|
+
xmlStrncmp (const xmlChar *str1,
|
68
|
+
const xmlChar *str2,
|
69
|
+
int len);
|
70
|
+
XMLPUBFUN int XMLCALL
|
71
|
+
xmlStrcasecmp (const xmlChar *str1,
|
72
|
+
const xmlChar *str2);
|
73
|
+
XMLPUBFUN int XMLCALL
|
74
|
+
xmlStrncasecmp (const xmlChar *str1,
|
75
|
+
const xmlChar *str2,
|
76
|
+
int len);
|
77
|
+
XMLPUBFUN int XMLCALL
|
78
|
+
xmlStrEqual (const xmlChar *str1,
|
79
|
+
const xmlChar *str2);
|
80
|
+
XMLPUBFUN int XMLCALL
|
81
|
+
xmlStrQEqual (const xmlChar *pref,
|
82
|
+
const xmlChar *name,
|
83
|
+
const xmlChar *str);
|
84
|
+
XMLPUBFUN int XMLCALL
|
85
|
+
xmlStrlen (const xmlChar *str);
|
86
|
+
XMLPUBFUN xmlChar * XMLCALL
|
87
|
+
xmlStrcat (xmlChar *cur,
|
88
|
+
const xmlChar *add);
|
89
|
+
XMLPUBFUN xmlChar * XMLCALL
|
90
|
+
xmlStrncat (xmlChar *cur,
|
91
|
+
const xmlChar *add,
|
92
|
+
int len);
|
93
|
+
XMLPUBFUN xmlChar * XMLCALL
|
94
|
+
xmlStrncatNew (const xmlChar *str1,
|
95
|
+
const xmlChar *str2,
|
96
|
+
int len);
|
97
|
+
XMLPUBFUN int XMLCALL
|
98
|
+
xmlStrPrintf (xmlChar *buf,
|
99
|
+
int len,
|
100
|
+
const xmlChar *msg,
|
101
|
+
...);
|
102
|
+
XMLPUBFUN int XMLCALL
|
103
|
+
xmlStrVPrintf (xmlChar *buf,
|
104
|
+
int len,
|
105
|
+
const xmlChar *msg,
|
106
|
+
va_list ap);
|
107
|
+
|
108
|
+
XMLPUBFUN int XMLCALL
|
109
|
+
xmlGetUTF8Char (const unsigned char *utf,
|
110
|
+
int *len);
|
111
|
+
XMLPUBFUN int XMLCALL
|
112
|
+
xmlCheckUTF8 (const unsigned char *utf);
|
113
|
+
XMLPUBFUN int XMLCALL
|
114
|
+
xmlUTF8Strsize (const xmlChar *utf,
|
115
|
+
int len);
|
116
|
+
XMLPUBFUN xmlChar * XMLCALL
|
117
|
+
xmlUTF8Strndup (const xmlChar *utf,
|
118
|
+
int len);
|
119
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
120
|
+
xmlUTF8Strpos (const xmlChar *utf,
|
121
|
+
int pos);
|
122
|
+
XMLPUBFUN int XMLCALL
|
123
|
+
xmlUTF8Strloc (const xmlChar *utf,
|
124
|
+
const xmlChar *utfchar);
|
125
|
+
XMLPUBFUN xmlChar * XMLCALL
|
126
|
+
xmlUTF8Strsub (const xmlChar *utf,
|
127
|
+
int start,
|
128
|
+
int len);
|
129
|
+
XMLPUBFUN int XMLCALL
|
130
|
+
xmlUTF8Strlen (const xmlChar *utf);
|
131
|
+
XMLPUBFUN int XMLCALL
|
132
|
+
xmlUTF8Size (const xmlChar *utf);
|
133
|
+
XMLPUBFUN int XMLCALL
|
134
|
+
xmlUTF8Charcmp (const xmlChar *utf1,
|
135
|
+
const xmlChar *utf2);
|
136
|
+
|
137
|
+
#ifdef __cplusplus
|
138
|
+
}
|
139
|
+
#endif
|
140
|
+
#endif /* __XML_STRING_H__ */
|