gtksourceview3 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +15 -2
- data/ext/gtksourceview3/extconf.rb +7 -2
- data/lib/1.9/gtksourceview3.so +0 -0
- data/lib/2.0/gtksourceview3.so +0 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +4 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +4 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +80 -90
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +4 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +2 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +9 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrendererpixbuf.h +2 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +3 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +133 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchsettings.h +85 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyle.h +8 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +52 -35
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +2 -6
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +2 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceutils.h +34 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +6 -6
- data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.la +5 -5
- data/vendor/local/lib/locale/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca@valencia/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ga/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ja/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pa/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_HK/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +2 -2
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +9479 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +311 -252
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +26 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +24 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +16 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +12 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +22 -20
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +24 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +25 -21
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +118 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +14 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +19 -23
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +27 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +22 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +895 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +465 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +16 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +13 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +15 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +43 -40
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +11 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +195 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +35 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +42 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +182 -13
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +26 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +140 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +155 -105
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +23 -12
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +213 -150
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +18 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +202 -196
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +11 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style.css +71 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/up.png +0 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/changelog.lang +1 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cpp.lang +6 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +1 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/julia.lang +378 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/mediawiki.lang +323 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/scala.lang +384 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xml.lang +2 -2
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +1 -1
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +2 -1
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +1 -1
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +2 -2
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +2 -2
- metadata +26 -293
- data/README +0 -29
- data/vendor/local/bin/libgtksourceview-3.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/libxml2/libxml/DOCBparser.h +0 -96
- data/vendor/local/include/libxml2/libxml/HTMLparser.h +0 -306
- data/vendor/local/include/libxml2/libxml/HTMLtree.h +0 -147
- data/vendor/local/include/libxml2/libxml/SAX.h +0 -173
- data/vendor/local/include/libxml2/libxml/SAX2.h +0 -176
- data/vendor/local/include/libxml2/libxml/c14n.h +0 -126
- data/vendor/local/include/libxml2/libxml/catalog.h +0 -182
- data/vendor/local/include/libxml2/libxml/chvalid.h +0 -230
- data/vendor/local/include/libxml2/libxml/debugXML.h +0 -217
- data/vendor/local/include/libxml2/libxml/dict.h +0 -80
- data/vendor/local/include/libxml2/libxml/encoding.h +0 -240
- data/vendor/local/include/libxml2/libxml/entities.h +0 -150
- data/vendor/local/include/libxml2/libxml/globals.h +0 -502
- data/vendor/local/include/libxml2/libxml/hash.h +0 -233
- data/vendor/local/include/libxml2/libxml/list.h +0 -137
- data/vendor/local/include/libxml2/libxml/nanoftp.h +0 -163
- data/vendor/local/include/libxml2/libxml/nanohttp.h +0 -81
- data/vendor/local/include/libxml2/libxml/parser.h +0 -1240
- data/vendor/local/include/libxml2/libxml/parserInternals.h +0 -644
- data/vendor/local/include/libxml2/libxml/pattern.h +0 -100
- data/vendor/local/include/libxml2/libxml/relaxng.h +0 -213
- data/vendor/local/include/libxml2/libxml/schemasInternals.h +0 -958
- data/vendor/local/include/libxml2/libxml/schematron.h +0 -142
- data/vendor/local/include/libxml2/libxml/threads.h +0 -84
- data/vendor/local/include/libxml2/libxml/tree.h +0 -1303
- data/vendor/local/include/libxml2/libxml/uri.h +0 -94
- data/vendor/local/include/libxml2/libxml/valid.h +0 -458
- data/vendor/local/include/libxml2/libxml/xinclude.h +0 -129
- data/vendor/local/include/libxml2/libxml/xlink.h +0 -189
- data/vendor/local/include/libxml2/libxml/xmlIO.h +0 -366
- data/vendor/local/include/libxml2/libxml/xmlautomata.h +0 -146
- data/vendor/local/include/libxml2/libxml/xmlerror.h +0 -944
- data/vendor/local/include/libxml2/libxml/xmlexports.h +0 -162
- data/vendor/local/include/libxml2/libxml/xmlmemory.h +0 -224
- data/vendor/local/include/libxml2/libxml/xmlmodule.h +0 -57
- data/vendor/local/include/libxml2/libxml/xmlreader.h +0 -428
- data/vendor/local/include/libxml2/libxml/xmlregexp.h +0 -222
- data/vendor/local/include/libxml2/libxml/xmlsave.h +0 -88
- data/vendor/local/include/libxml2/libxml/xmlschemas.h +0 -246
- data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +0 -151
- data/vendor/local/include/libxml2/libxml/xmlstring.h +0 -140
- data/vendor/local/include/libxml2/libxml/xmlunicode.h +0 -202
- data/vendor/local/include/libxml2/libxml/xmlversion.h +0 -480
- data/vendor/local/include/libxml2/libxml/xmlwriter.h +0 -488
- data/vendor/local/include/libxml2/libxml/xpath.h +0 -550
- data/vendor/local/include/libxml2/libxml/xpathInternals.h +0 -632
- data/vendor/local/include/libxml2/libxml/xpointer.h +0 -114
- data/vendor/local/lib/libxml2.def +0 -1659
- data/vendor/local/lib/libxml2.dll.a +0 -0
- data/vendor/local/lib/libxml2.lib +0 -0
- data/vendor/local/lib/pkgconfig/libxml-2.0.pc +0 -13
- data/vendor/local/manifest/libxml2-dev_2.9.0-1_win32.mft +0 -268
- data/vendor/local/manifest/libxml2_2.9.0-1_win32.mft +0 -2
- data/vendor/local/share/aclocal/libxml.m4 +0 -188
- data/vendor/local/share/doc/libxml2-2.9.0/Copyright +0 -27
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testHTML.c +0 -880
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testSAX.c +0 -1198
- data/vendor/local/share/doc/libxml2-2.9.0/examples/testXPath.c +0 -229
- data/vendor/local/share/doc/libxml2-2.9.0/examples/xmllint.c +0 -3770
- data/vendor/local/share/doc/libxml2-2.9.0/html/DOM.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/FAQ.html +0 -282
- data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-180x168.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-90x34.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/encoding.html +0 -207
- data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xml +0 -751
- data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xsl +0 -174
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/book1.html +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/index.html +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/left.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-DOCBparser.html +0 -51
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLparser.html +0 -184
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLtree.html +0 -73
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX.html +0 -125
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX2.html +0 -128
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-c14n.html +0 -38
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-catalog.html +0 -142
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-chvalid.html +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-debugXML.html +0 -120
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-dict.html +0 -58
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-encoding.html +0 -124
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-entities.html +0 -79
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-globals.html +0 -152
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-hash.html +0 -116
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-lib.html +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-list.html +0 -120
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanoftp.html +0 -94
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanohttp.html +0 -65
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parser.html +0 -559
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parserInternals.html +0 -322
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-pattern.html +0 -76
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-relaxng.html +0 -162
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schemasInternals.html +0 -373
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schematron.html +0 -81
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-threads.html +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-tree.html +0 -989
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-uri.html +0 -73
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-valid.html +0 -289
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xinclude.html +0 -59
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xlink.html +0 -82
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlIO.html +0 -212
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlautomata.html +0 -85
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlerror.html +0 -864
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlexports.html +0 -20
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmemory.html +0 -107
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmodule.html +0 -38
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlreader.html +0 -330
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlregexp.html +0 -143
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlsave.html +0 -60
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemas.html +0 -185
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemastypes.html +0 -123
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlstring.html +0 -108
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlunicode.html +0 -512
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlversion.html +0 -62
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlwriter.html +0 -261
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpath.html +0 -310
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpathInternals.html +0 -394
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpointer.html +0 -83
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/right.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/html/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/index.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/io1.c +0 -166
- data/vendor/local/share/doc/libxml2-2.9.0/html/io1.res +0 -5
- data/vendor/local/share/doc/libxml2-2.9.0/html/io2.c +0 -58
- data/vendor/local/share/doc/libxml2-2.9.0/html/io2.res +0 -2
- data/vendor/local/share/doc/libxml2-2.9.0/html/libxml.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse1.c +0 -56
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse2.c +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse3.c +0 -60
- data/vendor/local/share/doc/libxml2-2.9.0/html/parse4.c +0 -143
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.c +0 -107
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.res +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader2.c +0 -122
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.c +0 -120
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.res +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.c +0 -122
- data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.res +0 -3
- data/vendor/local/share/doc/libxml2-2.9.0/html/redhat.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/smallfootonly.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/structure.gif +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/test1.xml +0 -1
- data/vendor/local/share/doc/libxml2-2.9.0/html/test2.xml +0 -13
- data/vendor/local/share/doc/libxml2-2.9.0/html/test3.xml +0 -39
- data/vendor/local/share/doc/libxml2-2.9.0/html/testWriter.c +0 -1198
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.c +0 -94
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.res +0 -4
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.c +0 -118
- data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.res +0 -18
- data/vendor/local/share/doc/libxml2-2.9.0/html/tst.xml +0 -7
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apa.html +0 -8
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apb.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apc.html +0 -82
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apd.html +0 -76
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ape.html +0 -78
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apf.html +0 -67
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apg.html +0 -75
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/aph.html +0 -76
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/api.html +0 -4
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s02.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s03.html +0 -47
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s04.html +0 -54
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s05.html +0 -55
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s06.html +0 -35
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s07.html +0 -30
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s08.html +0 -38
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s09.html +0 -63
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/1.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/10.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/2.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/3.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/4.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/5.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/6.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/7.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/8.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/9.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/caution.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/draft.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/home.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/important.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/next.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/note.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/prev.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/tip.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-blank.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-minus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-plus.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/up.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/warning.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddattribute.c +0 -64
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddkeyword.c +0 -75
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeconvert.c +0 -73
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includegetattribute.c +0 -72
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includekeyword.c +0 -79
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includexpath.c +0 -74
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/index.html +0 -14
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ix01.html +0 -1
- data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/xmltutorial.pdf +0 -1336
- data/vendor/local/share/doc/libxml2-2.9.0/html/w3c.png +0 -0
- data/vendor/local/share/doc/libxml2-2.9.0/html/writer.xml +0 -2
- data/vendor/local/share/doc/libxml2-2.9.0/html/xml.html +0 -5715
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.c +0 -250
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.res +0 -5
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.c +0 -190
- data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.res +0 -30
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRenderer.html +0 -956
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererPixbuf.html +0 -199
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceGutterRendererText.html +0 -137
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn01.html +0 -101
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/rn02.html +0 -53
- data/vendor/local/share/gtk-doc/html/libxml2/general.html +0 -38
- data/vendor/local/share/gtk-doc/html/libxml2/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/index.html +0 -67
- data/vendor/local/share/gtk-doc/html/libxml2/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +0 -138
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +0 -373
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +0 -172
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +0 -243
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +0 -247
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +0 -91
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +0 -278
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +0 -241
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +0 -225
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +0 -134
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +0 -218
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +0 -166
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +0 -383
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +0 -214
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +0 -226
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +0 -187
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +0 -142
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +0 -766
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +0 -688
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +0 -166
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +0 -278
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +0 -860
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +0 -166
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +0 -161
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +0 -1596
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +0 -154
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +0 -528
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +0 -169
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +0 -160
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +0 -347
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +0 -176
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +0 -952
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +0 -87
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +0 -186
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +0 -97
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +0 -565
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +0 -280
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +0 -133
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +0 -314
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +0 -237
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +0 -217
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +0 -887
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +0 -287
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +0 -479
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +0 -532
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +0 -787
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +0 -171
- data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +0 -3569
- data/vendor/local/share/gtk-doc/html/libxml2/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libxml2/style.css +0 -66
- data/vendor/local/share/gtk-doc/html/libxml2/up.png +0 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/check-language.sh +0 -32
- data/vendor/local/share/gtksourceview-3.0/styles/check-style.sh +0 -20
- data/vendor/local/share/man/man1/xml2-config.1 +0 -30
- data/vendor/local/share/man/man1/xmlcatalog.1 +0 -340
- data/vendor/local/share/man/man1/xmllint.1 +0 -427
- data/vendor/local/share/man/man3/libxml.3 +0 -71
- data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.log +0 -867
- data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.sh +0 -68
@@ -1,237 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
5
|
-
<title>xmlschemastypes: implementation of XML Schema Datatypes</title>
|
6
|
-
<meta name="generator" content="Libxml2 devhelp stylesheet"/>
|
7
|
-
<link rel="start" href="index.html" title="libxml2 Reference Manual"/>
|
8
|
-
<link rel="up" href="general.html" title="API"/>
|
9
|
-
<link rel="stylesheet" href="style.css" type="text/css"/>
|
10
|
-
<link rel="chapter" href="general.html" title="API"/>
|
11
|
-
</head>
|
12
|
-
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
13
|
-
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
14
|
-
<tr valign="middle">
|
15
|
-
<td>
|
16
|
-
<a accesskey="p" href="libxml2-xmlschemas.html">
|
17
|
-
<img src="left.png" width="24" height="24" border="0" alt="Prev"/>
|
18
|
-
</a>
|
19
|
-
</td>
|
20
|
-
<td>
|
21
|
-
<a accesskey="u" href="general.html">
|
22
|
-
<img src="up.png" width="24" height="24" border="0" alt="Up"/>
|
23
|
-
</a>
|
24
|
-
</td>
|
25
|
-
<td>
|
26
|
-
<a accesskey="h" href="index.html">
|
27
|
-
<img src="home.png" width="24" height="24" border="0" alt="Home"/>
|
28
|
-
</a>
|
29
|
-
</td>
|
30
|
-
<td>
|
31
|
-
<a accesskey="n" href="libxml2-xmlstring.html">
|
32
|
-
<img src="right.png" width="24" height="24" border="0" alt="Next"/>
|
33
|
-
</a>
|
34
|
-
</td>
|
35
|
-
<th width="100%" align="center">libxml2 Reference Manual</th>
|
36
|
-
</tr>
|
37
|
-
</table>
|
38
|
-
<h2>
|
39
|
-
<span class="refentrytitle">xmlschemastypes</span>
|
40
|
-
</h2>
|
41
|
-
<p>xmlschemastypes - implementation of XML Schema Datatypes</p>
|
42
|
-
<p>module providing the XML Schema Datatypes implementation both definition and validity checking </p>
|
43
|
-
<p>Author(s): Daniel Veillard </p>
|
44
|
-
<div class="refsynopsisdiv">
|
45
|
-
<h2>Synopsis</h2>
|
46
|
-
<pre class="synopsis">typedef enum <a href="#xmlSchemaWhitespaceValueType">xmlSchemaWhitespaceValueType</a>;
|
47
|
-
int <a href="#xmlSchemaValPredefTypeNode">xmlSchemaValPredefTypeNode</a> (<a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> type, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> * val, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node);
|
48
|
-
int <a href="#xmlSchemaGetCanonValueWhtsp">xmlSchemaGetCanonValueWhtsp</a> (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** retValue, <br/> <a href="libxml2-xmlschemastypes.html#xmlSchemaWhitespaceValueType">xmlSchemaWhitespaceValueType</a> ws);
|
49
|
-
int <a href="#xmlSchemaValidateLengthFacetWhtsp">xmlSchemaValidateLengthFacetWhtsp</a> (<a href="libxml2-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> facet, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValType">xmlSchemaValType</a> valType, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val, <br/> unsigned long * length, <br/> <a href="libxml2-xmlschemastypes.html#xmlSchemaWhitespaceValueType">xmlSchemaWhitespaceValueType</a> ws);
|
50
|
-
int <a href="#xmlSchemaIsBuiltInTypeFacet">xmlSchemaIsBuiltInTypeFacet</a> (<a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> type, <br/> int facetType);
|
51
|
-
int <a href="#xmlSchemaGetCanonValue">xmlSchemaGetCanonValue</a> (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** retValue);
|
52
|
-
<a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> <a href="#xmlSchemaGetBuiltInListSimpleTypeItemType">xmlSchemaGetBuiltInListSimpleTypeItemType</a> (<a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> type);
|
53
|
-
int <a href="#xmlSchemaCompareValuesWhtsp">xmlSchemaCompareValuesWhtsp</a> (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> x, <br/> <a href="libxml2-xmlschemastypes.html#xmlSchemaWhitespaceValueType">xmlSchemaWhitespaceValueType</a> xws, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> y, <br/> <a href="libxml2-xmlschemastypes.html#xmlSchemaWhitespaceValueType">xmlSchemaWhitespaceValueType</a> yws);
|
54
|
-
int <a href="#xmlSchemaValueGetAsBoolean">xmlSchemaValueGetAsBoolean</a> (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val);
|
55
|
-
<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlSchemaCollapseString">xmlSchemaCollapseString</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value);
|
56
|
-
int <a href="#xmlSchemaValPredefTypeNodeNoNorm">xmlSchemaValPredefTypeNodeNoNorm</a> (<a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> type, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> * val, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node);
|
57
|
-
int <a href="#xmlSchemaValidateFacet">xmlSchemaValidateFacet</a> (<a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> base, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> facet, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val);
|
58
|
-
<a href="libxml2-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> <a href="#xmlSchemaNewFacet">xmlSchemaNewFacet</a> (void);
|
59
|
-
int <a href="#xmlSchemaValueAppend">xmlSchemaValueAppend</a> (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> prev, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> cur);
|
60
|
-
int <a href="#xmlSchemaCompareValues">xmlSchemaCompareValues</a> (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> x, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> y);
|
61
|
-
int <a href="#xmlSchemaValidateLengthFacet">xmlSchemaValidateLengthFacet</a> (<a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> type, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> facet, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val, <br/> unsigned long * length);
|
62
|
-
<a href="libxml2-schemasInternals.html#xmlSchemaValType">xmlSchemaValType</a> <a href="#xmlSchemaGetValType">xmlSchemaGetValType</a> (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val);
|
63
|
-
<a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> <a href="#xmlSchemaGetPredefinedType">xmlSchemaGetPredefinedType</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns);
|
64
|
-
int <a href="#xmlSchemaValidatePredefinedType">xmlSchemaValidatePredefinedType</a> (<a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> type, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> * val);
|
65
|
-
void <a href="#xmlSchemaFreeFacet">xmlSchemaFreeFacet</a> (<a href="libxml2-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> facet);
|
66
|
-
int <a href="#xmlSchemaValidateListSimpleTypeFacet">xmlSchemaValidateListSimpleTypeFacet</a> (<a href="libxml2-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> facet, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> unsigned long actualLen, <br/> unsigned long * expectedLen);
|
67
|
-
unsigned long <a href="#xmlSchemaGetFacetValueAsULong">xmlSchemaGetFacetValueAsULong</a> (<a href="libxml2-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> facet);
|
68
|
-
void <a href="#xmlSchemaFreeValue">xmlSchemaFreeValue</a> (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> value);
|
69
|
-
<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> <a href="#xmlSchemaValueGetNext">xmlSchemaValueGetNext</a> (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> cur);
|
70
|
-
const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlSchemaValueGetAsString">xmlSchemaValueGetAsString</a> (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val);
|
71
|
-
<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> <a href="#xmlSchemaCopyValue">xmlSchemaCopyValue</a> (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val);
|
72
|
-
<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> <a href="#xmlSchemaNewNOTATIONValue">xmlSchemaNewNOTATIONValue</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns);
|
73
|
-
<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> <a href="#xmlSchemaNewQNameValue">xmlSchemaNewQNameValue</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * namespaceName, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * localName);
|
74
|
-
void <a href="#xmlSchemaCleanupTypes">xmlSchemaCleanupTypes</a> (void);
|
75
|
-
<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlSchemaWhiteSpaceReplace">xmlSchemaWhiteSpaceReplace</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value);
|
76
|
-
<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> <a href="#xmlSchemaNewStringValue">xmlSchemaNewStringValue</a> (<a href="libxml2-schemasInternals.html#xmlSchemaValType">xmlSchemaValType</a> type, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value);
|
77
|
-
<a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> <a href="#xmlSchemaGetBuiltInType">xmlSchemaGetBuiltInType</a> (<a href="libxml2-schemasInternals.html#xmlSchemaValType">xmlSchemaValType</a> type);
|
78
|
-
void <a href="#xmlSchemaInitTypes">xmlSchemaInitTypes</a> (void);
|
79
|
-
int <a href="#xmlSchemaValidateFacetWhtsp">xmlSchemaValidateFacetWhtsp</a> (<a href="libxml2-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> facet, <br/> <a href="libxml2-xmlschemastypes.html#xmlSchemaWhitespaceValueType">xmlSchemaWhitespaceValueType</a> fws, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValType">xmlSchemaValType</a> valType, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val, <br/> <a href="libxml2-xmlschemastypes.html#xmlSchemaWhitespaceValueType">xmlSchemaWhitespaceValueType</a> ws);
|
80
|
-
int <a href="#xmlSchemaCheckFacet">xmlSchemaCheckFacet</a> (<a href="libxml2-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> facet, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> typeDecl, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> pctxt, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name);
|
81
|
-
</pre>
|
82
|
-
</div>
|
83
|
-
<div class="refsect1" lang="en">
|
84
|
-
<h2>Description</h2>
|
85
|
-
</div>
|
86
|
-
<div class="refsect1" lang="en">
|
87
|
-
<h2>Details</h2>
|
88
|
-
<div class="refsect2" lang="en">
|
89
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaWhitespaceValueType">Enum </a>xmlSchemaWhitespaceValueType</h3><pre class="programlisting">enum <a href="#xmlSchemaWhitespaceValueType">xmlSchemaWhitespaceValueType</a> {
|
90
|
-
<a name="XML_SCHEMA_WHITESPACE_UNKNOWN">XML_SCHEMA_WHITESPACE_UNKNOWN</a> = 0
|
91
|
-
<a name="XML_SCHEMA_WHITESPACE_PRESERVE">XML_SCHEMA_WHITESPACE_PRESERVE</a> = 1
|
92
|
-
<a name="XML_SCHEMA_WHITESPACE_REPLACE">XML_SCHEMA_WHITESPACE_REPLACE</a> = 2
|
93
|
-
<a name="XML_SCHEMA_WHITESPACE_COLLAPSE">XML_SCHEMA_WHITESPACE_COLLAPSE</a> = 3
|
94
|
-
};
|
95
|
-
</pre><p/>
|
96
|
-
</div>
|
97
|
-
<hr/>
|
98
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaCheckFacet"/>xmlSchemaCheckFacet ()</h3><pre class="programlisting">int xmlSchemaCheckFacet (<a href="libxml2-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> facet, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> typeDecl, <br/> <a href="libxml2-xmlschemas.html#xmlSchemaParserCtxtPtr">xmlSchemaParserCtxtPtr</a> pctxt, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name)<br/>
|
99
|
-
</pre><p>Checks and computes the values of facets.</p>
|
100
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>facet</tt></i>:</span></td><td>the facet</td></tr><tr><td><span class="term"><i><tt>typeDecl</tt></i>:</span></td><td>the schema type definition</td></tr><tr><td><span class="term"><i><tt>pctxt</tt></i>:</span></td><td>the schema parser context or NULL</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the optional name of the type</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if valid, a positive error code if not valid and -1 in case of an internal or API error.</td></tr></tbody></table></div></div>
|
101
|
-
<hr/>
|
102
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaCleanupTypes"/>xmlSchemaCleanupTypes ()</h3><pre class="programlisting">void xmlSchemaCleanupTypes (void)<br/>
|
103
|
-
</pre><p>Cleanup the default XML Schemas type library</p>
|
104
|
-
</div>
|
105
|
-
<hr/>
|
106
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaCollapseString"/>xmlSchemaCollapseString ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlSchemaCollapseString (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br/>
|
107
|
-
</pre><p>Removes and normalize white spaces in the string</p>
|
108
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>a value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new string or NULL if no change was required.</td></tr></tbody></table></div></div>
|
109
|
-
<hr/>
|
110
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaCompareValues"/>xmlSchemaCompareValues ()</h3><pre class="programlisting">int xmlSchemaCompareValues (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> x, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> y)<br/>
|
111
|
-
</pre><p>Compare 2 values</p>
|
112
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>x</tt></i>:</span></td><td>a first value</td></tr><tr><td><span class="term"><i><tt>y</tt></i>:</span></td><td>a second value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-1 if x < y, 0 if x == y, 1 if x > y, 2 if x <> y, and -2 in case of error</td></tr></tbody></table></div></div>
|
113
|
-
<hr/>
|
114
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaCompareValuesWhtsp"/>xmlSchemaCompareValuesWhtsp ()</h3><pre class="programlisting">int xmlSchemaCompareValuesWhtsp (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> x, <br/> <a href="libxml2-xmlschemastypes.html#xmlSchemaWhitespaceValueType">xmlSchemaWhitespaceValueType</a> xws, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> y, <br/> <a href="libxml2-xmlschemastypes.html#xmlSchemaWhitespaceValueType">xmlSchemaWhitespaceValueType</a> yws)<br/>
|
115
|
-
</pre><p>Compare 2 values</p>
|
116
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>x</tt></i>:</span></td><td>a first value</td></tr><tr><td><span class="term"><i><tt>xws</tt></i>:</span></td><td>the whitespace value of x</td></tr><tr><td><span class="term"><i><tt>y</tt></i>:</span></td><td>a second value</td></tr><tr><td><span class="term"><i><tt>yws</tt></i>:</span></td><td>the whitespace value of y</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>-1 if x < y, 0 if x == y, 1 if x > y, 2 if x <> y, and -2 in case of error</td></tr></tbody></table></div></div>
|
117
|
-
<hr/>
|
118
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaCopyValue"/>xmlSchemaCopyValue ()</h3><pre class="programlisting"><a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> xmlSchemaCopyValue (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val)<br/>
|
119
|
-
</pre><p>Copies the precomputed value. This duplicates any string within.</p>
|
120
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the precomputed value to be copied</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the copy or NULL if a copy for a data-type is not implemented.</td></tr></tbody></table></div></div>
|
121
|
-
<hr/>
|
122
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaFreeFacet"/>xmlSchemaFreeFacet ()</h3><pre class="programlisting">void xmlSchemaFreeFacet (<a href="libxml2-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> facet)<br/>
|
123
|
-
</pre><p>Deallocate a Schema Facet structure.</p>
|
124
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>facet</tt></i>:</span></td><td>a schema facet structure</td></tr></tbody></table></div></div>
|
125
|
-
<hr/>
|
126
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaFreeValue"/>xmlSchemaFreeValue ()</h3><pre class="programlisting">void xmlSchemaFreeValue (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> value)<br/>
|
127
|
-
</pre><p>Cleanup the default XML Schemas type library</p>
|
128
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>the value to free</td></tr></tbody></table></div></div>
|
129
|
-
<hr/>
|
130
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaGetBuiltInListSimpleTypeItemType"/>xmlSchemaGetBuiltInListSimpleTypeItemType ()</h3><pre class="programlisting"><a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> xmlSchemaGetBuiltInListSimpleTypeItemType (<a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> type)<br/>
|
131
|
-
</pre><p>Lookup function</p>
|
132
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>type</tt></i>:</span></td><td>the built-in simple type.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the item type of @type as defined by the built-in datatype hierarchy of XML Schema Part 2: Datatypes, or NULL in case of an error.</td></tr></tbody></table></div></div>
|
133
|
-
<hr/>
|
134
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaGetBuiltInType"/>xmlSchemaGetBuiltInType ()</h3><pre class="programlisting"><a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> xmlSchemaGetBuiltInType (<a href="libxml2-schemasInternals.html#xmlSchemaValType">xmlSchemaValType</a> type)<br/>
|
135
|
-
</pre><p>Gives you the type struct for a built-in type by its type id.</p>
|
136
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>type</tt></i>:</span></td><td>the type of the built in type</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the type if found, NULL otherwise.</td></tr></tbody></table></div></div>
|
137
|
-
<hr/>
|
138
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaGetCanonValue"/>xmlSchemaGetCanonValue ()</h3><pre class="programlisting">int xmlSchemaGetCanonValue (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** retValue)<br/>
|
139
|
-
</pre><p>Get a the cononical lexical representation of the value. The caller has to FREE the returned retValue. WARNING: Some value types are not supported yet, resulting in a @retValue of "???". TODO: XML Schema 1.0 does not define canonical representations for: duration, gYearMonth, gYear, gMonthDay, gMonth, gDay, anyURI, QName, NOTATION. This will be fixed in XML Schema 1.1.</p>
|
140
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the precomputed value</td></tr><tr><td><span class="term"><i><tt>retValue</tt></i>:</span></td><td>the returned value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if the value could be built, 1 if the value type is not supported yet and -1 in case of API errors.</td></tr></tbody></table></div></div>
|
141
|
-
<hr/>
|
142
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaGetCanonValueWhtsp"/>xmlSchemaGetCanonValueWhtsp ()</h3><pre class="programlisting">int xmlSchemaGetCanonValueWhtsp (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> ** retValue, <br/> <a href="libxml2-xmlschemastypes.html#xmlSchemaWhitespaceValueType">xmlSchemaWhitespaceValueType</a> ws)<br/>
|
143
|
-
</pre><p>Get a the cononical representation of the value. The caller has to free the returned @retValue.</p>
|
144
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the precomputed value</td></tr><tr><td><span class="term"><i><tt>retValue</tt></i>:</span></td><td>the returned value</td></tr><tr><td><span class="term"><i><tt>ws</tt></i>:</span></td><td>the whitespace type of the value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if the value could be built, 1 if the value type is not supported yet and -1 in case of API errors.</td></tr></tbody></table></div></div>
|
145
|
-
<hr/>
|
146
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaGetFacetValueAsULong"/>xmlSchemaGetFacetValueAsULong ()</h3><pre class="programlisting">unsigned long xmlSchemaGetFacetValueAsULong (<a href="libxml2-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> facet)<br/>
|
147
|
-
</pre><p>Extract the value of a facet</p>
|
148
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>facet</tt></i>:</span></td><td>an schemas type facet</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the value as a long</td></tr></tbody></table></div></div>
|
149
|
-
<hr/>
|
150
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaGetPredefinedType"/>xmlSchemaGetPredefinedType ()</h3><pre class="programlisting"><a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> xmlSchemaGetPredefinedType (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns)<br/>
|
151
|
-
</pre><p>Lookup a type in the default XML Schemas type library</p>
|
152
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the type name</td></tr><tr><td><span class="term"><i><tt>ns</tt></i>:</span></td><td>the URI of the namespace usually "http://www.w3.org/2001/XMLSchema"</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the type if found, NULL otherwise</td></tr></tbody></table></div></div>
|
153
|
-
<hr/>
|
154
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaGetValType"/>xmlSchemaGetValType ()</h3><pre class="programlisting"><a href="libxml2-schemasInternals.html#xmlSchemaValType">xmlSchemaValType</a> xmlSchemaGetValType (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val)<br/>
|
155
|
-
</pre><p>Accessor for the type of a value</p>
|
156
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>a schemas value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-schemasInternals.html#xmlSchemaValType">xmlSchemaValType</a> of the value</td></tr></tbody></table></div></div>
|
157
|
-
<hr/>
|
158
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaInitTypes"/>xmlSchemaInitTypes ()</h3><pre class="programlisting">void xmlSchemaInitTypes (void)<br/>
|
159
|
-
</pre><p>Initialize the default XML Schemas type library</p>
|
160
|
-
</div>
|
161
|
-
<hr/>
|
162
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaIsBuiltInTypeFacet"/>xmlSchemaIsBuiltInTypeFacet ()</h3><pre class="programlisting">int xmlSchemaIsBuiltInTypeFacet (<a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> type, <br/> int facetType)<br/>
|
163
|
-
</pre><p>Evaluates if a specific facet can be used in conjunction with a type.</p>
|
164
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>type</tt></i>:</span></td><td>the built-in type</td></tr><tr><td><span class="term"><i><tt>facetType</tt></i>:</span></td><td>the facet type</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if the facet can be used with the given built-in type, 0 otherwise and -1 in case the type is not a built-in type.</td></tr></tbody></table></div></div>
|
165
|
-
<hr/>
|
166
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaNewFacet"/>xmlSchemaNewFacet ()</h3><pre class="programlisting"><a href="libxml2-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> xmlSchemaNewFacet (void)<br/>
|
167
|
-
</pre><p>Allocate a new Facet structure.</p>
|
168
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the newly allocated structure or NULL in case or error</td></tr></tbody></table></div></div>
|
169
|
-
<hr/>
|
170
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaNewNOTATIONValue"/>xmlSchemaNewNOTATIONValue ()</h3><pre class="programlisting"><a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> xmlSchemaNewNOTATIONValue (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * ns)<br/>
|
171
|
-
</pre><p>Allocate a new NOTATION value. The given values are consumed and freed with the struct.</p>
|
172
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the notation name</td></tr><tr><td><span class="term"><i><tt>ns</tt></i>:</span></td><td>the notation namespace name or NULL</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the new value or NULL in case of error</td></tr></tbody></table></div></div>
|
173
|
-
<hr/>
|
174
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaNewQNameValue"/>xmlSchemaNewQNameValue ()</h3><pre class="programlisting"><a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> xmlSchemaNewQNameValue (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * namespaceName, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * localName)<br/>
|
175
|
-
</pre><p>Allocate a new QName value. The given values are consumed and freed with the struct.</p>
|
176
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>namespaceName</tt></i>:</span></td><td>the namespace name</td></tr><tr><td><span class="term"><i><tt>localName</tt></i>:</span></td><td>the local name</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the new value or NULL in case of an error.</td></tr></tbody></table></div></div>
|
177
|
-
<hr/>
|
178
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaNewStringValue"/>xmlSchemaNewStringValue ()</h3><pre class="programlisting"><a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> xmlSchemaNewStringValue (<a href="libxml2-schemasInternals.html#xmlSchemaValType">xmlSchemaValType</a> type, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br/>
|
179
|
-
</pre><p>Allocate a new simple type value. The type can be of XML_SCHEMAS_STRING. WARNING: This one is intended to be expanded for other string based types. We need this for anySimpleType as well. The given value is consumed and freed with the struct.</p>
|
180
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>type</tt></i>:</span></td><td>the value type</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>the value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the new value or NULL in case of error</td></tr></tbody></table></div></div>
|
181
|
-
<hr/>
|
182
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValPredefTypeNode"/>xmlSchemaValPredefTypeNode ()</h3><pre class="programlisting">int xmlSchemaValPredefTypeNode (<a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> type, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> * val, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br/>
|
183
|
-
</pre><p>Check that a value conforms to the lexical space of the predefined type. if true a value is computed and returned in @val.</p>
|
184
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>type</tt></i>:</span></td><td>the predefined type</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>the value to check</td></tr><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the return computed value</td></tr><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td>the node containing the value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.</td></tr></tbody></table></div></div>
|
185
|
-
<hr/>
|
186
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValPredefTypeNodeNoNorm"/>xmlSchemaValPredefTypeNodeNoNorm ()</h3><pre class="programlisting">int xmlSchemaValPredefTypeNodeNoNorm (<a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> type, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> * val, <br/> <a href="libxml2-tree.html#xmlNodePtr">xmlNodePtr</a> node)<br/>
|
187
|
-
</pre><p>Check that a value conforms to the lexical space of the predefined type. if true a value is computed and returned in @val. This one does apply any normalization to the value.</p>
|
188
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>type</tt></i>:</span></td><td>the predefined type</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>the value to check</td></tr><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the return computed value</td></tr><tr><td><span class="term"><i><tt>node</tt></i>:</span></td><td>the node containing the value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.</td></tr></tbody></table></div></div>
|
189
|
-
<hr/>
|
190
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateFacet"/>xmlSchemaValidateFacet ()</h3><pre class="programlisting">int xmlSchemaValidateFacet (<a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> base, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> facet, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val)<br/>
|
191
|
-
</pre><p>Check a value against a facet condition</p>
|
192
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>base</tt></i>:</span></td><td>the base type</td></tr><tr><td><span class="term"><i><tt>facet</tt></i>:</span></td><td>the facet to check</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>the lexical repr of the value to validate</td></tr><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the precomputed value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if the element is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.</td></tr></tbody></table></div></div>
|
193
|
-
<hr/>
|
194
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateFacetWhtsp"/>xmlSchemaValidateFacetWhtsp ()</h3><pre class="programlisting">int xmlSchemaValidateFacetWhtsp (<a href="libxml2-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> facet, <br/> <a href="libxml2-xmlschemastypes.html#xmlSchemaWhitespaceValueType">xmlSchemaWhitespaceValueType</a> fws, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValType">xmlSchemaValType</a> valType, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val, <br/> <a href="libxml2-xmlschemastypes.html#xmlSchemaWhitespaceValueType">xmlSchemaWhitespaceValueType</a> ws)<br/>
|
195
|
-
</pre><p>Check a value against a facet condition. This takes value normalization according to the specified whitespace types into account. Note that @value needs to be the *normalized* value if the facet is of type "pattern".</p>
|
196
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>facet</tt></i>:</span></td><td>the facet to check</td></tr><tr><td><span class="term"><i><tt>fws</tt></i>:</span></td><td>the whitespace type of the facet's value</td></tr><tr><td><span class="term"><i><tt>valType</tt></i>:</span></td><td>the built-in type of the value</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>the lexical (or normalized for pattern) repr of the value to validate</td></tr><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the precomputed value</td></tr><tr><td><span class="term"><i><tt>ws</tt></i>:</span></td><td>the whitespace type of the value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if the element is schemas valid, a positive error code number otherwise and -1 in case of internal or API error.</td></tr></tbody></table></div></div>
|
197
|
-
<hr/>
|
198
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateLengthFacet"/>xmlSchemaValidateLengthFacet ()</h3><pre class="programlisting">int xmlSchemaValidateLengthFacet (<a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> type, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> facet, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val, <br/> unsigned long * length)<br/>
|
199
|
-
</pre><p>Checka a value against a "length", "minLength" and "maxLength" facet; sets @length to the computed length of @value.</p>
|
200
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>type</tt></i>:</span></td><td>the built-in type</td></tr><tr><td><span class="term"><i><tt>facet</tt></i>:</span></td><td>the facet to check</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>the lexical repr. of the value to be validated</td></tr><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the precomputed value</td></tr><tr><td><span class="term"><i><tt>length</tt></i>:</span></td><td>the actual length of the value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if the value is valid, a positive error code otherwise and -1 in case of an internal or API error.</td></tr></tbody></table></div></div>
|
201
|
-
<hr/>
|
202
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateLengthFacetWhtsp"/>xmlSchemaValidateLengthFacetWhtsp ()</h3><pre class="programlisting">int xmlSchemaValidateLengthFacetWhtsp (<a href="libxml2-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> facet, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValType">xmlSchemaValType</a> valType, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val, <br/> unsigned long * length, <br/> <a href="libxml2-xmlschemastypes.html#xmlSchemaWhitespaceValueType">xmlSchemaWhitespaceValueType</a> ws)<br/>
|
203
|
-
</pre><p>Checka a value against a "length", "minLength" and "maxLength" facet; sets @length to the computed length of @value.</p>
|
204
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>facet</tt></i>:</span></td><td>the facet to check</td></tr><tr><td><span class="term"><i><tt>valType</tt></i>:</span></td><td>the built-in type</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>the lexical repr. of the value to be validated</td></tr><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the precomputed value</td></tr><tr><td><span class="term"><i><tt>length</tt></i>:</span></td><td>the actual length of the value</td></tr><tr><td><span class="term"><i><tt>ws</tt></i>:</span></td><td>the whitespace type of the value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if the value is valid, a positive error code otherwise and -1 in case of an internal or API error.</td></tr></tbody></table></div></div>
|
205
|
-
<hr/>
|
206
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValidateListSimpleTypeFacet"/>xmlSchemaValidateListSimpleTypeFacet ()</h3><pre class="programlisting">int xmlSchemaValidateListSimpleTypeFacet (<a href="libxml2-schemasInternals.html#xmlSchemaFacetPtr">xmlSchemaFacetPtr</a> facet, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> unsigned long actualLen, <br/> unsigned long * expectedLen)<br/>
|
207
|
-
</pre><p>Checks the value of a list simple type against a facet.</p>
|
208
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>facet</tt></i>:</span></td><td>the facet to check</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>the lexical repr of the value to validate</td></tr><tr><td><span class="term"><i><tt>actualLen</tt></i>:</span></td><td>the number of list items</td></tr><tr><td><span class="term"><i><tt>expectedLen</tt></i>:</span></td><td>the resulting expected number of list items</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if the value is valid, a positive error code number otherwise and -1 in case of an internal error.</td></tr></tbody></table></div></div>
|
209
|
-
<hr/>
|
210
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValidatePredefinedType"/>xmlSchemaValidatePredefinedType ()</h3><pre class="programlisting">int xmlSchemaValidatePredefinedType (<a href="libxml2-schemasInternals.html#xmlSchemaTypePtr">xmlSchemaTypePtr</a> type, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> * val)<br/>
|
211
|
-
</pre><p>Check that a value conforms to the lexical space of the predefined type. if true a value is computed and returned in @val.</p>
|
212
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>type</tt></i>:</span></td><td>the predefined type</td></tr><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>the value to check</td></tr><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the return computed value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if this validates, a positive error code number otherwise and -1 in case of internal or API error.</td></tr></tbody></table></div></div>
|
213
|
-
<hr/>
|
214
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValueAppend"/>xmlSchemaValueAppend ()</h3><pre class="programlisting">int xmlSchemaValueAppend (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> prev, <br/> <a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> cur)<br/>
|
215
|
-
</pre><p>Appends a next sibling to a list of computed values.</p>
|
216
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>prev</tt></i>:</span></td><td>the value</td></tr><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the value to be appended</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>0 if succeeded and -1 on API errors.</td></tr></tbody></table></div></div>
|
217
|
-
<hr/>
|
218
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValueGetAsBoolean"/>xmlSchemaValueGetAsBoolean ()</h3><pre class="programlisting">int xmlSchemaValueGetAsBoolean (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val)<br/>
|
219
|
-
</pre><p>Accessor for the boolean value of a computed value.</p>
|
220
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if true and 0 if false, or in case of an error. Hmm.</td></tr></tbody></table></div></div>
|
221
|
-
<hr/>
|
222
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValueGetAsString"/>xmlSchemaValueGetAsString ()</h3><pre class="programlisting">const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlSchemaValueGetAsString (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> val)<br/>
|
223
|
-
</pre><p>Accessor for the string value of a computed value.</p>
|
224
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the string value or NULL if there was none, or on API errors.</td></tr></tbody></table></div></div>
|
225
|
-
<hr/>
|
226
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaValueGetNext"/>xmlSchemaValueGetNext ()</h3><pre class="programlisting"><a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> xmlSchemaValueGetNext (<a href="libxml2-schemasInternals.html#xmlSchemaValPtr">xmlSchemaValPtr</a> cur)<br/>
|
227
|
-
</pre><p>Accessor for the next sibling of a list of computed values.</p>
|
228
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the next value or NULL if there was none, or on API errors.</td></tr></tbody></table></div></div>
|
229
|
-
<hr/>
|
230
|
-
<div class="refsect2" lang="en"><h3><a name="xmlSchemaWhiteSpaceReplace"/>xmlSchemaWhiteSpaceReplace ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlSchemaWhiteSpaceReplace (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * value)<br/>
|
231
|
-
</pre><p>Replaces 0xd, 0x9 and 0xa with a space.</p>
|
232
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>value</tt></i>:</span></td><td>a value</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the new string or NULL if no change was required.</td></tr></tbody></table></div></div>
|
233
|
-
<hr/>
|
234
|
-
</div>
|
235
|
-
</div>
|
236
|
-
</body>
|
237
|
-
</html>
|
@@ -1,217 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
5
|
-
<title>xmlstring: set of routines to process strings</title>
|
6
|
-
<meta name="generator" content="Libxml2 devhelp stylesheet"/>
|
7
|
-
<link rel="start" href="index.html" title="libxml2 Reference Manual"/>
|
8
|
-
<link rel="up" href="general.html" title="API"/>
|
9
|
-
<link rel="stylesheet" href="style.css" type="text/css"/>
|
10
|
-
<link rel="chapter" href="general.html" title="API"/>
|
11
|
-
</head>
|
12
|
-
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
13
|
-
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
14
|
-
<tr valign="middle">
|
15
|
-
<td>
|
16
|
-
<a accesskey="p" href="libxml2-xmlschemastypes.html">
|
17
|
-
<img src="left.png" width="24" height="24" border="0" alt="Prev"/>
|
18
|
-
</a>
|
19
|
-
</td>
|
20
|
-
<td>
|
21
|
-
<a accesskey="u" href="general.html">
|
22
|
-
<img src="up.png" width="24" height="24" border="0" alt="Up"/>
|
23
|
-
</a>
|
24
|
-
</td>
|
25
|
-
<td>
|
26
|
-
<a accesskey="h" href="index.html">
|
27
|
-
<img src="home.png" width="24" height="24" border="0" alt="Home"/>
|
28
|
-
</a>
|
29
|
-
</td>
|
30
|
-
<td>
|
31
|
-
<a accesskey="n" href="libxml2-xmlunicode.html">
|
32
|
-
<img src="right.png" width="24" height="24" border="0" alt="Next"/>
|
33
|
-
</a>
|
34
|
-
</td>
|
35
|
-
<th width="100%" align="center">libxml2 Reference Manual</th>
|
36
|
-
</tr>
|
37
|
-
</table>
|
38
|
-
<h2>
|
39
|
-
<span class="refentrytitle">xmlstring</span>
|
40
|
-
</h2>
|
41
|
-
<p>xmlstring - set of routines to process strings</p>
|
42
|
-
<p>type and interfaces needed for the internal string handling of the library, especially UTF8 processing. </p>
|
43
|
-
<p>Author(s): Daniel Veillard </p>
|
44
|
-
<div class="refsynopsisdiv">
|
45
|
-
<h2>Synopsis</h2>
|
46
|
-
<pre class="synopsis">#define <a href="#BAD_CAST">BAD_CAST</a>;
|
47
|
-
typedef unsigned char <a href="#xmlChar">xmlChar</a>;
|
48
|
-
int <a href="#xmlStrcmp">xmlStrcmp</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str1, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str2);
|
49
|
-
<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlCharStrndup">xmlCharStrndup</a> (const char * cur, <br/> int len);
|
50
|
-
const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlStrcasestr">xmlStrcasestr</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * val);
|
51
|
-
<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlStrcat">xmlStrcat</a> (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * add);
|
52
|
-
int <a href="#xmlStrPrintf">xmlStrPrintf</a> (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * buf, <br/> int len, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * msg, <br/> ... ...);
|
53
|
-
const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlStrstr">xmlStrstr</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * val);
|
54
|
-
int <a href="#xmlUTF8Size">xmlUTF8Size</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf);
|
55
|
-
int <a href="#xmlStrQEqual">xmlStrQEqual</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * pref, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str);
|
56
|
-
<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlStrncatNew">xmlStrncatNew</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str1, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str2, <br/> int len);
|
57
|
-
const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlUTF8Strpos">xmlUTF8Strpos</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf, <br/> int pos);
|
58
|
-
<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlStrdup">xmlStrdup</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur);
|
59
|
-
<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlCharStrdup">xmlCharStrdup</a> (const char * cur);
|
60
|
-
const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlStrchr">xmlStrchr</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> val);
|
61
|
-
int <a href="#xmlStrlen">xmlStrlen</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str);
|
62
|
-
int <a href="#xmlStrncmp">xmlStrncmp</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str1, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str2, <br/> int len);
|
63
|
-
<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlStrsub">xmlStrsub</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br/> int start, <br/> int len);
|
64
|
-
<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlStrncat">xmlStrncat</a> (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * add, <br/> int len);
|
65
|
-
int <a href="#xmlGetUTF8Char">xmlGetUTF8Char</a> (const unsigned char * utf, <br/> int * len);
|
66
|
-
int <a href="#xmlStrcasecmp">xmlStrcasecmp</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str1, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str2);
|
67
|
-
<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlStrndup">xmlStrndup</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> int len);
|
68
|
-
int <a href="#xmlStrVPrintf">xmlStrVPrintf</a> (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * buf, <br/> int len, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * msg, <br/> va_list ap);
|
69
|
-
int <a href="#xmlUTF8Strsize">xmlUTF8Strsize</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf, <br/> int len);
|
70
|
-
int <a href="#xmlCheckUTF8">xmlCheckUTF8</a> (const unsigned char * utf);
|
71
|
-
int <a href="#xmlStrncasecmp">xmlStrncasecmp</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str1, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str2, <br/> int len);
|
72
|
-
int <a href="#xmlUTF8Strlen">xmlUTF8Strlen</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf);
|
73
|
-
<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlUTF8Strsub">xmlUTF8Strsub</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf, <br/> int start, <br/> int len);
|
74
|
-
int <a href="#xmlStrEqual">xmlStrEqual</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str1, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str2);
|
75
|
-
int <a href="#xmlUTF8Charcmp">xmlUTF8Charcmp</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf1, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf2);
|
76
|
-
<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * <a href="#xmlUTF8Strndup">xmlUTF8Strndup</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf, <br/> int len);
|
77
|
-
int <a href="#xmlUTF8Strloc">xmlUTF8Strloc</a> (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utfchar);
|
78
|
-
</pre>
|
79
|
-
</div>
|
80
|
-
<div class="refsect1" lang="en">
|
81
|
-
<h2>Description</h2>
|
82
|
-
</div>
|
83
|
-
<div class="refsect1" lang="en">
|
84
|
-
<h2>Details</h2>
|
85
|
-
<div class="refsect2" lang="en">
|
86
|
-
<div class="refsect2" lang="en"><h3><a name="BAD_CAST">Macro </a>BAD_CAST</h3><pre class="programlisting">#define <a href="#BAD_CAST">BAD_CAST</a>;
|
87
|
-
</pre><p>Macro to cast a string to an <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * when one know its safe.</p>
|
88
|
-
</div>
|
89
|
-
<hr/>
|
90
|
-
<div class="refsect2" lang="en"><h3><a name="xmlChar">Typedef </a>xmlChar</h3><pre class="programlisting">unsigned char xmlChar;
|
91
|
-
</pre><p>This is a basic byte in an UTF-8 encoded string. It's unsigned allowing to pinpoint case where char * are assigned to <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * (possibly making serialization back impossible).</p>
|
92
|
-
</div>
|
93
|
-
<hr/>
|
94
|
-
<div class="refsect2" lang="en"><h3><a name="xmlCharStrdup"/>xmlCharStrdup ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlCharStrdup (const char * cur)<br/>
|
95
|
-
</pre><p>a strdup for char's to xmlChar's</p>
|
96
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the input char *</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * or NULL</td></tr></tbody></table></div></div>
|
97
|
-
<hr/>
|
98
|
-
<div class="refsect2" lang="en"><h3><a name="xmlCharStrndup"/>xmlCharStrndup ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlCharStrndup (const char * cur, <br/> int len)<br/>
|
99
|
-
</pre><p>a strndup for char's to xmlChar's</p>
|
100
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the input char *</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the len of @cur</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * or NULL</td></tr></tbody></table></div></div>
|
101
|
-
<hr/>
|
102
|
-
<div class="refsect2" lang="en"><h3><a name="xmlCheckUTF8"/>xmlCheckUTF8 ()</h3><pre class="programlisting">int xmlCheckUTF8 (const unsigned char * utf)<br/>
|
103
|
-
</pre><p>Checks @utf for being valid UTF-8. @utf is assumed to be null-terminated. This function is not super-strict, as it will allow longer UTF-8 sequences than necessary. Note that Java is capable of producing these sequences if provoked. Also note, this routine checks for the 4-byte maximum size, but does not check for 0x10ffff maximum value.</p>
|
104
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>utf</tt></i>:</span></td><td>Pointer to putative UTF-8 encoded string.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>value: true if @utf is valid.</td></tr></tbody></table></div></div>
|
105
|
-
<hr/>
|
106
|
-
<div class="refsect2" lang="en"><h3><a name="xmlGetUTF8Char"/>xmlGetUTF8Char ()</h3><pre class="programlisting">int xmlGetUTF8Char (const unsigned char * utf, <br/> int * len)<br/>
|
107
|
-
</pre><p>Read the first UTF8 character from @utf</p>
|
108
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>utf</tt></i>:</span></td><td>a sequence of UTF-8 encoded bytes</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>a pointer to the minimum number of bytes present in the sequence. This is used to assure the next character is completely contained within the sequence.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the char value or -1 in case of error, and sets *len to the actual number of bytes consumed (0 in case of error)</td></tr></tbody></table></div></div>
|
109
|
-
<hr/>
|
110
|
-
<div class="refsect2" lang="en"><h3><a name="xmlStrEqual"/>xmlStrEqual ()</h3><pre class="programlisting">int xmlStrEqual (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str1, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str2)<br/>
|
111
|
-
</pre><p>Check if both strings are equal of have same content. Should be a bit more readable and faster than xmlStrcmp()</p>
|
112
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>str1</tt></i>:</span></td><td>the first <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>str2</tt></i>:</span></td><td>the second <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if they are equal, 0 if they are different</td></tr></tbody></table></div></div>
|
113
|
-
<hr/>
|
114
|
-
<div class="refsect2" lang="en"><h3><a name="xmlStrPrintf"/>xmlStrPrintf ()</h3><pre class="programlisting">int xmlStrPrintf (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * buf, <br/> int len, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * msg, <br/> ... ...)<br/>
|
115
|
-
</pre><p>Formats @msg and places result into @buf.</p>
|
116
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>buf</tt></i>:</span></td><td>the result buffer.</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the result buffer length.</td></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td>the message with printf formatting.</td></tr><tr><td><span class="term"><i><tt>...</tt></i>:</span></td><td>extra parameters for the message.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of <a href="libxml2-SAX.html#characters">characters</a> written to @buf or -1 if an error occurs.</td></tr></tbody></table></div></div>
|
117
|
-
<hr/>
|
118
|
-
<div class="refsect2" lang="en"><h3><a name="xmlStrQEqual"/>xmlStrQEqual ()</h3><pre class="programlisting">int xmlStrQEqual (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * pref, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * name, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str)<br/>
|
119
|
-
</pre><p>Check if a QName is Equal to a given string</p>
|
120
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>pref</tt></i>:</span></td><td>the prefix of the QName</td></tr><tr><td><span class="term"><i><tt>name</tt></i>:</span></td><td>the localname of the QName</td></tr><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>the second <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>1 if they are equal, 0 if they are different</td></tr></tbody></table></div></div>
|
121
|
-
<hr/>
|
122
|
-
<div class="refsect2" lang="en"><h3><a name="xmlStrVPrintf"/>xmlStrVPrintf ()</h3><pre class="programlisting">int xmlStrVPrintf (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * buf, <br/> int len, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * msg, <br/> va_list ap)<br/>
|
123
|
-
</pre><p>Formats @msg and places result into @buf.</p>
|
124
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>buf</tt></i>:</span></td><td>the result buffer.</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the result buffer length.</td></tr><tr><td><span class="term"><i><tt>msg</tt></i>:</span></td><td>the message with printf formatting.</td></tr><tr><td><span class="term"><i><tt>ap</tt></i>:</span></td><td>extra parameters for the message.</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of <a href="libxml2-SAX.html#characters">characters</a> written to @buf or -1 if an error occurs.</td></tr></tbody></table></div></div>
|
125
|
-
<hr/>
|
126
|
-
<div class="refsect2" lang="en"><h3><a name="xmlStrcasecmp"/>xmlStrcasecmp ()</h3><pre class="programlisting">int xmlStrcasecmp (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str1, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str2)<br/>
|
127
|
-
</pre><p>a strcasecmp for xmlChar's</p>
|
128
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>str1</tt></i>:</span></td><td>the first <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>str2</tt></i>:</span></td><td>the second <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the integer result of the comparison</td></tr></tbody></table></div></div>
|
129
|
-
<hr/>
|
130
|
-
<div class="refsect2" lang="en"><h3><a name="xmlStrcasestr"/>xmlStrcasestr ()</h3><pre class="programlisting">const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlStrcasestr (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * val)<br/>
|
131
|
-
</pre><p>a case-ignoring strstr for xmlChar's</p>
|
132
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * array (haystack)</td></tr><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> to search (needle)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * for the first occurrence or NULL.</td></tr></tbody></table></div></div>
|
133
|
-
<hr/>
|
134
|
-
<div class="refsect2" lang="en"><h3><a name="xmlStrcat"/>xmlStrcat ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlStrcat (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * add)<br/>
|
135
|
-
</pre><p>a strcat for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'.</p>
|
136
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the original <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * array</td></tr><tr><td><span class="term"><i><tt>add</tt></i>:</span></td><td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * array added</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * containing the concatenated string.</td></tr></tbody></table></div></div>
|
137
|
-
<hr/>
|
138
|
-
<div class="refsect2" lang="en"><h3><a name="xmlStrchr"/>xmlStrchr ()</h3><pre class="programlisting">const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlStrchr (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br/> <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> val)<br/>
|
139
|
-
</pre><p>a strchr for xmlChar's</p>
|
140
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * array</td></tr><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> to search</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * for the first occurrence or NULL.</td></tr></tbody></table></div></div>
|
141
|
-
<hr/>
|
142
|
-
<div class="refsect2" lang="en"><h3><a name="xmlStrcmp"/>xmlStrcmp ()</h3><pre class="programlisting">int xmlStrcmp (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str1, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str2)<br/>
|
143
|
-
</pre><p>a strcmp for xmlChar's</p>
|
144
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>str1</tt></i>:</span></td><td>the first <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>str2</tt></i>:</span></td><td>the second <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the integer result of the comparison</td></tr></tbody></table></div></div>
|
145
|
-
<hr/>
|
146
|
-
<div class="refsect2" lang="en"><h3><a name="xmlStrdup"/>xmlStrdup ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlStrdup (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur)<br/>
|
147
|
-
</pre><p>a strdup for array of xmlChar's. Since they are supposed to be encoded in UTF-8 or an encoding with 8bit based chars, we assume a termination mark of '0'.</p>
|
148
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the input <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * or NULL</td></tr></tbody></table></div></div>
|
149
|
-
<hr/>
|
150
|
-
<div class="refsect2" lang="en"><h3><a name="xmlStrlen"/>xmlStrlen ()</h3><pre class="programlisting">int xmlStrlen (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str)<br/>
|
151
|
-
</pre><p>length of a xmlChar's string</p>
|
152
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * array</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> contained in the ARRAY.</td></tr></tbody></table></div></div>
|
153
|
-
<hr/>
|
154
|
-
<div class="refsect2" lang="en"><h3><a name="xmlStrncasecmp"/>xmlStrncasecmp ()</h3><pre class="programlisting">int xmlStrncasecmp (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str1, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str2, <br/> int len)<br/>
|
155
|
-
</pre><p>a strncasecmp for xmlChar's</p>
|
156
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>str1</tt></i>:</span></td><td>the first <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>str2</tt></i>:</span></td><td>the second <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the max comparison length</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the integer result of the comparison</td></tr></tbody></table></div></div>
|
157
|
-
<hr/>
|
158
|
-
<div class="refsect2" lang="en"><h3><a name="xmlStrncat"/>xmlStrncat ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlStrncat (<a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * add, <br/> int len)<br/>
|
159
|
-
</pre><p>a strncat for array of xmlChar's, it will extend @cur with the len first bytes of @add. Note that if @len < 0 then this is an API error and NULL will be returned.</p>
|
160
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the original <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * array</td></tr><tr><td><span class="term"><i><tt>add</tt></i>:</span></td><td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * array added</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the length of @add</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *, the original @cur is reallocated if needed and should not be freed</td></tr></tbody></table></div></div>
|
161
|
-
<hr/>
|
162
|
-
<div class="refsect2" lang="en"><h3><a name="xmlStrncatNew"/>xmlStrncatNew ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlStrncatNew (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str1, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str2, <br/> int len)<br/>
|
163
|
-
</pre><p>same as xmlStrncat, but creates a new string. The original two strings are not freed. If @len is < 0 then the length will be calculated automatically.</p>
|
164
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>str1</tt></i>:</span></td><td>first <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> string</td></tr><tr><td><span class="term"><i><tt>str2</tt></i>:</span></td><td>second <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> string</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the len of @str2 or < 0</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * or NULL</td></tr></tbody></table></div></div>
|
165
|
-
<hr/>
|
166
|
-
<div class="refsect2" lang="en"><h3><a name="xmlStrncmp"/>xmlStrncmp ()</h3><pre class="programlisting">int xmlStrncmp (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str1, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str2, <br/> int len)<br/>
|
167
|
-
</pre><p>a strncmp for xmlChar's</p>
|
168
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>str1</tt></i>:</span></td><td>the first <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>str2</tt></i>:</span></td><td>the second <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the max comparison length</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the integer result of the comparison</td></tr></tbody></table></div></div>
|
169
|
-
<hr/>
|
170
|
-
<div class="refsect2" lang="en"><h3><a name="xmlStrndup"/>xmlStrndup ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlStrndup (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * cur, <br/> int len)<br/>
|
171
|
-
</pre><p>a strndup for array of xmlChar's</p>
|
172
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>cur</tt></i>:</span></td><td>the input <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> *</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the len of @cur</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * or NULL</td></tr></tbody></table></div></div>
|
173
|
-
<hr/>
|
174
|
-
<div class="refsect2" lang="en"><h3><a name="xmlStrstr"/>xmlStrstr ()</h3><pre class="programlisting">const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlStrstr (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * val)<br/>
|
175
|
-
</pre><p>a strstr for xmlChar's</p>
|
176
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * array (haystack)</td></tr><tr><td><span class="term"><i><tt>val</tt></i>:</span></td><td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> to search (needle)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * for the first occurrence or NULL.</td></tr></tbody></table></div></div>
|
177
|
-
<hr/>
|
178
|
-
<div class="refsect2" lang="en"><h3><a name="xmlStrsub"/>xmlStrsub ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlStrsub (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * str, <br/> int start, <br/> int len)<br/>
|
179
|
-
</pre><p>Extract a substring of a given string</p>
|
180
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>str</tt></i>:</span></td><td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * array (haystack)</td></tr><tr><td><span class="term"><i><tt>start</tt></i>:</span></td><td>the index of the first char (zero based)</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the length of the substring</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * for the first occurrence or NULL.</td></tr></tbody></table></div></div>
|
181
|
-
<hr/>
|
182
|
-
<div class="refsect2" lang="en"><h3><a name="xmlUTF8Charcmp"/>xmlUTF8Charcmp ()</h3><pre class="programlisting">int xmlUTF8Charcmp (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf1, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf2)<br/>
|
183
|
-
</pre><p>compares the two UCS4 values</p>
|
184
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>utf1</tt></i>:</span></td><td>pointer to first UTF8 char</td></tr><tr><td><span class="term"><i><tt>utf2</tt></i>:</span></td><td>pointer to second UTF8 char</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>result of the compare as with <a href="libxml2-xmlstring.html#xmlStrncmp">xmlStrncmp</a></td></tr></tbody></table></div></div>
|
185
|
-
<hr/>
|
186
|
-
<div class="refsect2" lang="en"><h3><a name="xmlUTF8Size"/>xmlUTF8Size ()</h3><pre class="programlisting">int xmlUTF8Size (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf)<br/>
|
187
|
-
</pre><p>calculates the internal size of a UTF8 character</p>
|
188
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>utf</tt></i>:</span></td><td>pointer to the UTF8 character</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the numbers of bytes in the character, -1 on format error</td></tr></tbody></table></div></div>
|
189
|
-
<hr/>
|
190
|
-
<div class="refsect2" lang="en"><h3><a name="xmlUTF8Strlen"/>xmlUTF8Strlen ()</h3><pre class="programlisting">int xmlUTF8Strlen (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf)<br/>
|
191
|
-
</pre><p>compute the length of an UTF8 string, it doesn't do a full UTF8 checking of the content of the string.</p>
|
192
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>utf</tt></i>:</span></td><td>a sequence of UTF-8 encoded bytes</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the number of <a href="libxml2-SAX.html#characters">characters</a> in the string or -1 in case of error</td></tr></tbody></table></div></div>
|
193
|
-
<hr/>
|
194
|
-
<div class="refsect2" lang="en"><h3><a name="xmlUTF8Strloc"/>xmlUTF8Strloc ()</h3><pre class="programlisting">int xmlUTF8Strloc (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf, <br/> const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utfchar)<br/>
|
195
|
-
</pre><p>a function to provide the relative location of a UTF8 char</p>
|
196
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>utf</tt></i>:</span></td><td>the input UTF8 *</td></tr><tr><td><span class="term"><i><tt>utfchar</tt></i>:</span></td><td>the UTF8 character to be found</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the relative character position of the desired char or -1 if not found</td></tr></tbody></table></div></div>
|
197
|
-
<hr/>
|
198
|
-
<div class="refsect2" lang="en"><h3><a name="xmlUTF8Strndup"/>xmlUTF8Strndup ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlUTF8Strndup (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf, <br/> int len)<br/>
|
199
|
-
</pre><p>a strndup for array of UTF8's</p>
|
200
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>utf</tt></i>:</span></td><td>the input UTF8 *</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the len of @utf (in chars)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a new UTF8 * or NULL</td></tr></tbody></table></div></div>
|
201
|
-
<hr/>
|
202
|
-
<div class="refsect2" lang="en"><h3><a name="xmlUTF8Strpos"/>xmlUTF8Strpos ()</h3><pre class="programlisting">const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlUTF8Strpos (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf, <br/> int pos)<br/>
|
203
|
-
</pre><p>a function to provide the equivalent of fetching a character from a string array</p>
|
204
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>utf</tt></i>:</span></td><td>the input UTF8 *</td></tr><tr><td><span class="term"><i><tt>pos</tt></i>:</span></td><td>the position of the desired UTF8 char (in chars)</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to the UTF8 character or NULL</td></tr></tbody></table></div></div>
|
205
|
-
<hr/>
|
206
|
-
<div class="refsect2" lang="en"><h3><a name="xmlUTF8Strsize"/>xmlUTF8Strsize ()</h3><pre class="programlisting">int xmlUTF8Strsize (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf, <br/> int len)<br/>
|
207
|
-
</pre><p>storage size of an UTF8 string the behaviour is not garanteed if the input string is not UTF-8</p>
|
208
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>utf</tt></i>:</span></td><td>a sequence of UTF-8 encoded bytes</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>the number of <a href="libxml2-SAX.html#characters">characters</a> in the array</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>the storage size of the first 'len' <a href="libxml2-SAX.html#characters">characters</a> of ARRAY</td></tr></tbody></table></div></div>
|
209
|
-
<hr/>
|
210
|
-
<div class="refsect2" lang="en"><h3><a name="xmlUTF8Strsub"/>xmlUTF8Strsub ()</h3><pre class="programlisting"><a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * xmlUTF8Strsub (const <a href="libxml2-xmlstring.html#xmlChar">xmlChar</a> * utf, <br/> int start, <br/> int len)<br/>
|
211
|
-
</pre><p>Create a substring from a given UTF-8 string Note: positions are given in units of UTF-8 chars</p>
|
212
|
-
<div class="variablelist"><table border="0"><col align="left"/><tbody><tr><td><span class="term"><i><tt>utf</tt></i>:</span></td><td>a sequence of UTF-8 encoded bytes</td></tr><tr><td><span class="term"><i><tt>start</tt></i>:</span></td><td>relative pos of first char</td></tr><tr><td><span class="term"><i><tt>len</tt></i>:</span></td><td>total number to copy</td></tr><tr><td><span class="term"><i><tt>Returns</tt></i>:</span></td><td>a pointer to a newly created string or NULL if any problem</td></tr></tbody></table></div></div>
|
213
|
-
<hr/>
|
214
|
-
</div>
|
215
|
-
</div>
|
216
|
-
</body>
|
217
|
-
</html>
|