nokogiri 1.11.0.rc3-x64-mingw32 → 1.11.0.rc4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of nokogiri might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/LICENSE-DEPENDENCIES.md +1015 -947
- data/README.md +1 -1
- data/ext/nokogiri/depend +476 -357
- data/ext/nokogiri/extconf.rb +441 -321
- data/ext/nokogiri/html_document.c +79 -78
- data/ext/nokogiri/html_sax_parser_context.c +2 -2
- data/ext/nokogiri/include/libexslt/exslt.h +102 -0
- data/ext/nokogiri/include/libexslt/exsltconfig.h +70 -0
- data/ext/nokogiri/include/libexslt/exsltexports.h +140 -0
- data/ext/nokogiri/include/libxml2/libxml/DOCBparser.h +96 -0
- data/ext/nokogiri/include/libxml2/libxml/HTMLparser.h +306 -0
- data/ext/nokogiri/include/libxml2/libxml/HTMLtree.h +147 -0
- data/ext/nokogiri/include/libxml2/libxml/SAX.h +173 -0
- data/ext/nokogiri/include/libxml2/libxml/SAX2.h +178 -0
- data/ext/nokogiri/include/libxml2/libxml/c14n.h +126 -0
- data/ext/nokogiri/include/libxml2/libxml/catalog.h +182 -0
- data/ext/nokogiri/include/libxml2/libxml/chvalid.h +230 -0
- data/ext/nokogiri/include/libxml2/libxml/debugXML.h +217 -0
- data/ext/nokogiri/include/libxml2/libxml/dict.h +79 -0
- data/ext/nokogiri/include/libxml2/libxml/encoding.h +245 -0
- data/ext/nokogiri/include/libxml2/libxml/entities.h +151 -0
- data/ext/nokogiri/include/libxml2/libxml/globals.h +508 -0
- data/ext/nokogiri/include/libxml2/libxml/hash.h +236 -0
- data/ext/nokogiri/include/libxml2/libxml/list.h +137 -0
- data/ext/nokogiri/include/libxml2/libxml/nanoftp.h +163 -0
- data/ext/nokogiri/include/libxml2/libxml/nanohttp.h +81 -0
- data/ext/nokogiri/include/libxml2/libxml/parser.h +1241 -0
- data/ext/nokogiri/include/libxml2/libxml/parserInternals.h +644 -0
- data/ext/nokogiri/include/libxml2/libxml/pattern.h +100 -0
- data/ext/nokogiri/include/libxml2/libxml/relaxng.h +217 -0
- data/ext/nokogiri/include/libxml2/libxml/schemasInternals.h +958 -0
- data/ext/nokogiri/include/libxml2/libxml/schematron.h +142 -0
- data/ext/nokogiri/include/libxml2/libxml/threads.h +89 -0
- data/ext/nokogiri/include/libxml2/libxml/tree.h +1311 -0
- data/ext/nokogiri/include/libxml2/libxml/uri.h +94 -0
- data/ext/nokogiri/include/libxml2/libxml/valid.h +458 -0
- data/ext/nokogiri/include/libxml2/libxml/xinclude.h +129 -0
- data/ext/nokogiri/include/libxml2/libxml/xlink.h +189 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlIO.h +366 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlautomata.h +146 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlerror.h +945 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +153 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlmemory.h +224 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlmodule.h +57 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlreader.h +428 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlregexp.h +222 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlsave.h +88 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +246 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h +151 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlstring.h +140 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlunicode.h +202 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +485 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlwriter.h +488 -0
- data/ext/nokogiri/include/libxml2/libxml/xpath.h +566 -0
- data/ext/nokogiri/include/libxml2/libxml/xpathInternals.h +632 -0
- data/ext/nokogiri/include/libxml2/libxml/xpointer.h +114 -0
- data/ext/nokogiri/include/libxslt/attributes.h +38 -0
- data/ext/nokogiri/include/libxslt/documents.h +93 -0
- data/ext/nokogiri/include/libxslt/extensions.h +262 -0
- data/ext/nokogiri/include/libxslt/extra.h +72 -0
- data/ext/nokogiri/include/libxslt/functions.h +78 -0
- data/ext/nokogiri/include/libxslt/imports.h +75 -0
- data/ext/nokogiri/include/libxslt/keys.h +53 -0
- data/ext/nokogiri/include/libxslt/namespaces.h +68 -0
- data/ext/nokogiri/include/libxslt/numbersInternals.h +73 -0
- data/ext/nokogiri/include/libxslt/pattern.h +84 -0
- data/ext/nokogiri/include/libxslt/preproc.h +43 -0
- data/ext/nokogiri/include/libxslt/security.h +104 -0
- data/ext/nokogiri/include/libxslt/templates.h +77 -0
- data/ext/nokogiri/include/libxslt/transform.h +207 -0
- data/ext/nokogiri/include/libxslt/variables.h +118 -0
- data/ext/nokogiri/include/libxslt/xslt.h +110 -0
- data/ext/nokogiri/include/libxslt/xsltInternals.h +1978 -0
- data/ext/nokogiri/include/libxslt/xsltconfig.h +180 -0
- data/ext/nokogiri/include/libxslt/xsltexports.h +142 -0
- data/ext/nokogiri/include/libxslt/xsltlocale.h +76 -0
- data/ext/nokogiri/include/libxslt/xsltutils.h +313 -0
- data/ext/nokogiri/nokogiri.c +34 -46
- data/ext/nokogiri/nokogiri.h +22 -26
- data/ext/nokogiri/xml_document.c +2 -2
- data/ext/nokogiri/xml_node.c +1 -1
- data/ext/nokogiri/xml_node_set.c +1 -1
- data/ext/nokogiri/xml_relax_ng.c +29 -11
- data/ext/nokogiri/xml_sax_parser.c +2 -7
- data/ext/nokogiri/xml_sax_parser_context.c +2 -2
- data/ext/nokogiri/xml_schema.c +55 -13
- data/ext/nokogiri/xml_xpath_context.c +80 -4
- data/ext/nokogiri/xslt_stylesheet.c +1 -4
- data/lib/nokogiri.rb +1 -1
- data/lib/nokogiri/2.5/nokogiri.so +0 -0
- data/lib/nokogiri/2.6/nokogiri.so +0 -0
- data/lib/nokogiri/2.7/nokogiri.so +0 -0
- data/lib/nokogiri/3.0/nokogiri.so +0 -0
- data/lib/nokogiri/css/parser.rb +3 -3
- data/lib/nokogiri/css/parser.y +2 -2
- data/lib/nokogiri/css/xpath_visitor.rb +70 -42
- data/lib/nokogiri/html/document.rb +12 -26
- data/lib/nokogiri/version.rb +2 -149
- data/lib/nokogiri/version/constant.rb +5 -0
- data/lib/nokogiri/version/info.rb +182 -0
- data/lib/nokogiri/xml/document.rb +17 -7
- data/lib/nokogiri/xml/document_fragment.rb +4 -6
- data/lib/nokogiri/xml/node.rb +50 -27
- data/lib/nokogiri/xml/parse_options.rb +6 -0
- data/lib/nokogiri/xml/relax_ng.rb +6 -2
- data/lib/nokogiri/xml/schema.rb +12 -4
- data/lib/nokogiri/xml/searchable.rb +3 -1
- metadata +105 -28
- data/lib/nokogiri/2.4/nokogiri.so +0 -0
@@ -0,0 +1,151 @@
|
|
1
|
+
/*
|
2
|
+
* Summary: implementation of XML Schema Datatypes
|
3
|
+
* Description: module providing the XML Schema Datatypes implementation
|
4
|
+
* both definition and validity checking
|
5
|
+
*
|
6
|
+
* Copy: See Copyright for the status of this software.
|
7
|
+
*
|
8
|
+
* Author: Daniel Veillard
|
9
|
+
*/
|
10
|
+
|
11
|
+
|
12
|
+
#ifndef __XML_SCHEMA_TYPES_H__
|
13
|
+
#define __XML_SCHEMA_TYPES_H__
|
14
|
+
|
15
|
+
#include <libxml/xmlversion.h>
|
16
|
+
|
17
|
+
#ifdef LIBXML_SCHEMAS_ENABLED
|
18
|
+
|
19
|
+
#include <libxml/schemasInternals.h>
|
20
|
+
#include <libxml/xmlschemas.h>
|
21
|
+
|
22
|
+
#ifdef __cplusplus
|
23
|
+
extern "C" {
|
24
|
+
#endif
|
25
|
+
|
26
|
+
typedef enum {
|
27
|
+
XML_SCHEMA_WHITESPACE_UNKNOWN = 0,
|
28
|
+
XML_SCHEMA_WHITESPACE_PRESERVE = 1,
|
29
|
+
XML_SCHEMA_WHITESPACE_REPLACE = 2,
|
30
|
+
XML_SCHEMA_WHITESPACE_COLLAPSE = 3
|
31
|
+
} xmlSchemaWhitespaceValueType;
|
32
|
+
|
33
|
+
XMLPUBFUN void XMLCALL
|
34
|
+
xmlSchemaInitTypes (void);
|
35
|
+
XMLPUBFUN void XMLCALL
|
36
|
+
xmlSchemaCleanupTypes (void);
|
37
|
+
XMLPUBFUN xmlSchemaTypePtr XMLCALL
|
38
|
+
xmlSchemaGetPredefinedType (const xmlChar *name,
|
39
|
+
const xmlChar *ns);
|
40
|
+
XMLPUBFUN int XMLCALL
|
41
|
+
xmlSchemaValidatePredefinedType (xmlSchemaTypePtr type,
|
42
|
+
const xmlChar *value,
|
43
|
+
xmlSchemaValPtr *val);
|
44
|
+
XMLPUBFUN int XMLCALL
|
45
|
+
xmlSchemaValPredefTypeNode (xmlSchemaTypePtr type,
|
46
|
+
const xmlChar *value,
|
47
|
+
xmlSchemaValPtr *val,
|
48
|
+
xmlNodePtr node);
|
49
|
+
XMLPUBFUN int XMLCALL
|
50
|
+
xmlSchemaValidateFacet (xmlSchemaTypePtr base,
|
51
|
+
xmlSchemaFacetPtr facet,
|
52
|
+
const xmlChar *value,
|
53
|
+
xmlSchemaValPtr val);
|
54
|
+
XMLPUBFUN int XMLCALL
|
55
|
+
xmlSchemaValidateFacetWhtsp (xmlSchemaFacetPtr facet,
|
56
|
+
xmlSchemaWhitespaceValueType fws,
|
57
|
+
xmlSchemaValType valType,
|
58
|
+
const xmlChar *value,
|
59
|
+
xmlSchemaValPtr val,
|
60
|
+
xmlSchemaWhitespaceValueType ws);
|
61
|
+
XMLPUBFUN void XMLCALL
|
62
|
+
xmlSchemaFreeValue (xmlSchemaValPtr val);
|
63
|
+
XMLPUBFUN xmlSchemaFacetPtr XMLCALL
|
64
|
+
xmlSchemaNewFacet (void);
|
65
|
+
XMLPUBFUN int XMLCALL
|
66
|
+
xmlSchemaCheckFacet (xmlSchemaFacetPtr facet,
|
67
|
+
xmlSchemaTypePtr typeDecl,
|
68
|
+
xmlSchemaParserCtxtPtr ctxt,
|
69
|
+
const xmlChar *name);
|
70
|
+
XMLPUBFUN void XMLCALL
|
71
|
+
xmlSchemaFreeFacet (xmlSchemaFacetPtr facet);
|
72
|
+
XMLPUBFUN int XMLCALL
|
73
|
+
xmlSchemaCompareValues (xmlSchemaValPtr x,
|
74
|
+
xmlSchemaValPtr y);
|
75
|
+
XMLPUBFUN xmlSchemaTypePtr XMLCALL
|
76
|
+
xmlSchemaGetBuiltInListSimpleTypeItemType (xmlSchemaTypePtr type);
|
77
|
+
XMLPUBFUN int XMLCALL
|
78
|
+
xmlSchemaValidateListSimpleTypeFacet (xmlSchemaFacetPtr facet,
|
79
|
+
const xmlChar *value,
|
80
|
+
unsigned long actualLen,
|
81
|
+
unsigned long *expectedLen);
|
82
|
+
XMLPUBFUN xmlSchemaTypePtr XMLCALL
|
83
|
+
xmlSchemaGetBuiltInType (xmlSchemaValType type);
|
84
|
+
XMLPUBFUN int XMLCALL
|
85
|
+
xmlSchemaIsBuiltInTypeFacet (xmlSchemaTypePtr type,
|
86
|
+
int facetType);
|
87
|
+
XMLPUBFUN xmlChar * XMLCALL
|
88
|
+
xmlSchemaCollapseString (const xmlChar *value);
|
89
|
+
XMLPUBFUN xmlChar * XMLCALL
|
90
|
+
xmlSchemaWhiteSpaceReplace (const xmlChar *value);
|
91
|
+
XMLPUBFUN unsigned long XMLCALL
|
92
|
+
xmlSchemaGetFacetValueAsULong (xmlSchemaFacetPtr facet);
|
93
|
+
XMLPUBFUN int XMLCALL
|
94
|
+
xmlSchemaValidateLengthFacet (xmlSchemaTypePtr type,
|
95
|
+
xmlSchemaFacetPtr facet,
|
96
|
+
const xmlChar *value,
|
97
|
+
xmlSchemaValPtr val,
|
98
|
+
unsigned long *length);
|
99
|
+
XMLPUBFUN int XMLCALL
|
100
|
+
xmlSchemaValidateLengthFacetWhtsp(xmlSchemaFacetPtr facet,
|
101
|
+
xmlSchemaValType valType,
|
102
|
+
const xmlChar *value,
|
103
|
+
xmlSchemaValPtr val,
|
104
|
+
unsigned long *length,
|
105
|
+
xmlSchemaWhitespaceValueType ws);
|
106
|
+
XMLPUBFUN int XMLCALL
|
107
|
+
xmlSchemaValPredefTypeNodeNoNorm(xmlSchemaTypePtr type,
|
108
|
+
const xmlChar *value,
|
109
|
+
xmlSchemaValPtr *val,
|
110
|
+
xmlNodePtr node);
|
111
|
+
XMLPUBFUN int XMLCALL
|
112
|
+
xmlSchemaGetCanonValue (xmlSchemaValPtr val,
|
113
|
+
const xmlChar **retValue);
|
114
|
+
XMLPUBFUN int XMLCALL
|
115
|
+
xmlSchemaGetCanonValueWhtsp (xmlSchemaValPtr val,
|
116
|
+
const xmlChar **retValue,
|
117
|
+
xmlSchemaWhitespaceValueType ws);
|
118
|
+
XMLPUBFUN int XMLCALL
|
119
|
+
xmlSchemaValueAppend (xmlSchemaValPtr prev,
|
120
|
+
xmlSchemaValPtr cur);
|
121
|
+
XMLPUBFUN xmlSchemaValPtr XMLCALL
|
122
|
+
xmlSchemaValueGetNext (xmlSchemaValPtr cur);
|
123
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
124
|
+
xmlSchemaValueGetAsString (xmlSchemaValPtr val);
|
125
|
+
XMLPUBFUN int XMLCALL
|
126
|
+
xmlSchemaValueGetAsBoolean (xmlSchemaValPtr val);
|
127
|
+
XMLPUBFUN xmlSchemaValPtr XMLCALL
|
128
|
+
xmlSchemaNewStringValue (xmlSchemaValType type,
|
129
|
+
const xmlChar *value);
|
130
|
+
XMLPUBFUN xmlSchemaValPtr XMLCALL
|
131
|
+
xmlSchemaNewNOTATIONValue (const xmlChar *name,
|
132
|
+
const xmlChar *ns);
|
133
|
+
XMLPUBFUN xmlSchemaValPtr XMLCALL
|
134
|
+
xmlSchemaNewQNameValue (const xmlChar *namespaceName,
|
135
|
+
const xmlChar *localName);
|
136
|
+
XMLPUBFUN int XMLCALL
|
137
|
+
xmlSchemaCompareValuesWhtsp (xmlSchemaValPtr x,
|
138
|
+
xmlSchemaWhitespaceValueType xws,
|
139
|
+
xmlSchemaValPtr y,
|
140
|
+
xmlSchemaWhitespaceValueType yws);
|
141
|
+
XMLPUBFUN xmlSchemaValPtr XMLCALL
|
142
|
+
xmlSchemaCopyValue (xmlSchemaValPtr val);
|
143
|
+
XMLPUBFUN xmlSchemaValType XMLCALL
|
144
|
+
xmlSchemaGetValType (xmlSchemaValPtr val);
|
145
|
+
|
146
|
+
#ifdef __cplusplus
|
147
|
+
}
|
148
|
+
#endif
|
149
|
+
|
150
|
+
#endif /* LIBXML_SCHEMAS_ENABLED */
|
151
|
+
#endif /* __XML_SCHEMA_TYPES_H__ */
|
@@ -0,0 +1,140 @@
|
|
1
|
+
/*
|
2
|
+
* Summary: set of routines to process strings
|
3
|
+
* Description: type and interfaces needed for the internal string handling
|
4
|
+
* of the library, especially UTF8 processing.
|
5
|
+
*
|
6
|
+
* Copy: See Copyright for the status of this software.
|
7
|
+
*
|
8
|
+
* Author: Daniel Veillard
|
9
|
+
*/
|
10
|
+
|
11
|
+
#ifndef __XML_STRING_H__
|
12
|
+
#define __XML_STRING_H__
|
13
|
+
|
14
|
+
#include <stdarg.h>
|
15
|
+
#include <libxml/xmlversion.h>
|
16
|
+
|
17
|
+
#ifdef __cplusplus
|
18
|
+
extern "C" {
|
19
|
+
#endif
|
20
|
+
|
21
|
+
/**
|
22
|
+
* xmlChar:
|
23
|
+
*
|
24
|
+
* This is a basic byte in an UTF-8 encoded string.
|
25
|
+
* It's unsigned allowing to pinpoint case where char * are assigned
|
26
|
+
* to xmlChar * (possibly making serialization back impossible).
|
27
|
+
*/
|
28
|
+
typedef unsigned char xmlChar;
|
29
|
+
|
30
|
+
/**
|
31
|
+
* BAD_CAST:
|
32
|
+
*
|
33
|
+
* Macro to cast a string to an xmlChar * when one know its safe.
|
34
|
+
*/
|
35
|
+
#define BAD_CAST (xmlChar *)
|
36
|
+
|
37
|
+
/*
|
38
|
+
* xmlChar handling
|
39
|
+
*/
|
40
|
+
XMLPUBFUN xmlChar * XMLCALL
|
41
|
+
xmlStrdup (const xmlChar *cur);
|
42
|
+
XMLPUBFUN xmlChar * XMLCALL
|
43
|
+
xmlStrndup (const xmlChar *cur,
|
44
|
+
int len);
|
45
|
+
XMLPUBFUN xmlChar * XMLCALL
|
46
|
+
xmlCharStrndup (const char *cur,
|
47
|
+
int len);
|
48
|
+
XMLPUBFUN xmlChar * XMLCALL
|
49
|
+
xmlCharStrdup (const char *cur);
|
50
|
+
XMLPUBFUN xmlChar * XMLCALL
|
51
|
+
xmlStrsub (const xmlChar *str,
|
52
|
+
int start,
|
53
|
+
int len);
|
54
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
55
|
+
xmlStrchr (const xmlChar *str,
|
56
|
+
xmlChar val);
|
57
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
58
|
+
xmlStrstr (const xmlChar *str,
|
59
|
+
const xmlChar *val);
|
60
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
61
|
+
xmlStrcasestr (const xmlChar *str,
|
62
|
+
const xmlChar *val);
|
63
|
+
XMLPUBFUN int XMLCALL
|
64
|
+
xmlStrcmp (const xmlChar *str1,
|
65
|
+
const xmlChar *str2);
|
66
|
+
XMLPUBFUN int XMLCALL
|
67
|
+
xmlStrncmp (const xmlChar *str1,
|
68
|
+
const xmlChar *str2,
|
69
|
+
int len);
|
70
|
+
XMLPUBFUN int XMLCALL
|
71
|
+
xmlStrcasecmp (const xmlChar *str1,
|
72
|
+
const xmlChar *str2);
|
73
|
+
XMLPUBFUN int XMLCALL
|
74
|
+
xmlStrncasecmp (const xmlChar *str1,
|
75
|
+
const xmlChar *str2,
|
76
|
+
int len);
|
77
|
+
XMLPUBFUN int XMLCALL
|
78
|
+
xmlStrEqual (const xmlChar *str1,
|
79
|
+
const xmlChar *str2);
|
80
|
+
XMLPUBFUN int XMLCALL
|
81
|
+
xmlStrQEqual (const xmlChar *pref,
|
82
|
+
const xmlChar *name,
|
83
|
+
const xmlChar *str);
|
84
|
+
XMLPUBFUN int XMLCALL
|
85
|
+
xmlStrlen (const xmlChar *str);
|
86
|
+
XMLPUBFUN xmlChar * XMLCALL
|
87
|
+
xmlStrcat (xmlChar *cur,
|
88
|
+
const xmlChar *add);
|
89
|
+
XMLPUBFUN xmlChar * XMLCALL
|
90
|
+
xmlStrncat (xmlChar *cur,
|
91
|
+
const xmlChar *add,
|
92
|
+
int len);
|
93
|
+
XMLPUBFUN xmlChar * XMLCALL
|
94
|
+
xmlStrncatNew (const xmlChar *str1,
|
95
|
+
const xmlChar *str2,
|
96
|
+
int len);
|
97
|
+
XMLPUBFUN int XMLCALL
|
98
|
+
xmlStrPrintf (xmlChar *buf,
|
99
|
+
int len,
|
100
|
+
const char *msg,
|
101
|
+
...) LIBXML_ATTR_FORMAT(3,4);
|
102
|
+
XMLPUBFUN int XMLCALL
|
103
|
+
xmlStrVPrintf (xmlChar *buf,
|
104
|
+
int len,
|
105
|
+
const char *msg,
|
106
|
+
va_list ap) LIBXML_ATTR_FORMAT(3,0);
|
107
|
+
|
108
|
+
XMLPUBFUN int XMLCALL
|
109
|
+
xmlGetUTF8Char (const unsigned char *utf,
|
110
|
+
int *len);
|
111
|
+
XMLPUBFUN int XMLCALL
|
112
|
+
xmlCheckUTF8 (const unsigned char *utf);
|
113
|
+
XMLPUBFUN int XMLCALL
|
114
|
+
xmlUTF8Strsize (const xmlChar *utf,
|
115
|
+
int len);
|
116
|
+
XMLPUBFUN xmlChar * XMLCALL
|
117
|
+
xmlUTF8Strndup (const xmlChar *utf,
|
118
|
+
int len);
|
119
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
120
|
+
xmlUTF8Strpos (const xmlChar *utf,
|
121
|
+
int pos);
|
122
|
+
XMLPUBFUN int XMLCALL
|
123
|
+
xmlUTF8Strloc (const xmlChar *utf,
|
124
|
+
const xmlChar *utfchar);
|
125
|
+
XMLPUBFUN xmlChar * XMLCALL
|
126
|
+
xmlUTF8Strsub (const xmlChar *utf,
|
127
|
+
int start,
|
128
|
+
int len);
|
129
|
+
XMLPUBFUN int XMLCALL
|
130
|
+
xmlUTF8Strlen (const xmlChar *utf);
|
131
|
+
XMLPUBFUN int XMLCALL
|
132
|
+
xmlUTF8Size (const xmlChar *utf);
|
133
|
+
XMLPUBFUN int XMLCALL
|
134
|
+
xmlUTF8Charcmp (const xmlChar *utf1,
|
135
|
+
const xmlChar *utf2);
|
136
|
+
|
137
|
+
#ifdef __cplusplus
|
138
|
+
}
|
139
|
+
#endif
|
140
|
+
#endif /* __XML_STRING_H__ */
|
@@ -0,0 +1,202 @@
|
|
1
|
+
/*
|
2
|
+
* Summary: Unicode character APIs
|
3
|
+
* Description: API for the Unicode character APIs
|
4
|
+
*
|
5
|
+
* This file is automatically generated from the
|
6
|
+
* UCS description files of the Unicode Character Database
|
7
|
+
* http://www.unicode.org/Public/4.0-Update1/UCD-4.0.1.html
|
8
|
+
* using the genUnicode.py Python script.
|
9
|
+
*
|
10
|
+
* Generation date: Mon Mar 27 11:09:52 2006
|
11
|
+
* Sources: Blocks-4.0.1.txt UnicodeData-4.0.1.txt
|
12
|
+
* Author: Daniel Veillard
|
13
|
+
*/
|
14
|
+
|
15
|
+
#ifndef __XML_UNICODE_H__
|
16
|
+
#define __XML_UNICODE_H__
|
17
|
+
|
18
|
+
#include <libxml/xmlversion.h>
|
19
|
+
|
20
|
+
#ifdef LIBXML_UNICODE_ENABLED
|
21
|
+
|
22
|
+
#ifdef __cplusplus
|
23
|
+
extern "C" {
|
24
|
+
#endif
|
25
|
+
|
26
|
+
XMLPUBFUN int XMLCALL xmlUCSIsAegeanNumbers (int code);
|
27
|
+
XMLPUBFUN int XMLCALL xmlUCSIsAlphabeticPresentationForms (int code);
|
28
|
+
XMLPUBFUN int XMLCALL xmlUCSIsArabic (int code);
|
29
|
+
XMLPUBFUN int XMLCALL xmlUCSIsArabicPresentationFormsA (int code);
|
30
|
+
XMLPUBFUN int XMLCALL xmlUCSIsArabicPresentationFormsB (int code);
|
31
|
+
XMLPUBFUN int XMLCALL xmlUCSIsArmenian (int code);
|
32
|
+
XMLPUBFUN int XMLCALL xmlUCSIsArrows (int code);
|
33
|
+
XMLPUBFUN int XMLCALL xmlUCSIsBasicLatin (int code);
|
34
|
+
XMLPUBFUN int XMLCALL xmlUCSIsBengali (int code);
|
35
|
+
XMLPUBFUN int XMLCALL xmlUCSIsBlockElements (int code);
|
36
|
+
XMLPUBFUN int XMLCALL xmlUCSIsBopomofo (int code);
|
37
|
+
XMLPUBFUN int XMLCALL xmlUCSIsBopomofoExtended (int code);
|
38
|
+
XMLPUBFUN int XMLCALL xmlUCSIsBoxDrawing (int code);
|
39
|
+
XMLPUBFUN int XMLCALL xmlUCSIsBraillePatterns (int code);
|
40
|
+
XMLPUBFUN int XMLCALL xmlUCSIsBuhid (int code);
|
41
|
+
XMLPUBFUN int XMLCALL xmlUCSIsByzantineMusicalSymbols (int code);
|
42
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCJKCompatibility (int code);
|
43
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCJKCompatibilityForms (int code);
|
44
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCJKCompatibilityIdeographs (int code);
|
45
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCJKCompatibilityIdeographsSupplement (int code);
|
46
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCJKRadicalsSupplement (int code);
|
47
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCJKSymbolsandPunctuation (int code);
|
48
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCJKUnifiedIdeographs (int code);
|
49
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCJKUnifiedIdeographsExtensionA (int code);
|
50
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCJKUnifiedIdeographsExtensionB (int code);
|
51
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCherokee (int code);
|
52
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCombiningDiacriticalMarks (int code);
|
53
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCombiningDiacriticalMarksforSymbols (int code);
|
54
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCombiningHalfMarks (int code);
|
55
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCombiningMarksforSymbols (int code);
|
56
|
+
XMLPUBFUN int XMLCALL xmlUCSIsControlPictures (int code);
|
57
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCurrencySymbols (int code);
|
58
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCypriotSyllabary (int code);
|
59
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCyrillic (int code);
|
60
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCyrillicSupplement (int code);
|
61
|
+
XMLPUBFUN int XMLCALL xmlUCSIsDeseret (int code);
|
62
|
+
XMLPUBFUN int XMLCALL xmlUCSIsDevanagari (int code);
|
63
|
+
XMLPUBFUN int XMLCALL xmlUCSIsDingbats (int code);
|
64
|
+
XMLPUBFUN int XMLCALL xmlUCSIsEnclosedAlphanumerics (int code);
|
65
|
+
XMLPUBFUN int XMLCALL xmlUCSIsEnclosedCJKLettersandMonths (int code);
|
66
|
+
XMLPUBFUN int XMLCALL xmlUCSIsEthiopic (int code);
|
67
|
+
XMLPUBFUN int XMLCALL xmlUCSIsGeneralPunctuation (int code);
|
68
|
+
XMLPUBFUN int XMLCALL xmlUCSIsGeometricShapes (int code);
|
69
|
+
XMLPUBFUN int XMLCALL xmlUCSIsGeorgian (int code);
|
70
|
+
XMLPUBFUN int XMLCALL xmlUCSIsGothic (int code);
|
71
|
+
XMLPUBFUN int XMLCALL xmlUCSIsGreek (int code);
|
72
|
+
XMLPUBFUN int XMLCALL xmlUCSIsGreekExtended (int code);
|
73
|
+
XMLPUBFUN int XMLCALL xmlUCSIsGreekandCoptic (int code);
|
74
|
+
XMLPUBFUN int XMLCALL xmlUCSIsGujarati (int code);
|
75
|
+
XMLPUBFUN int XMLCALL xmlUCSIsGurmukhi (int code);
|
76
|
+
XMLPUBFUN int XMLCALL xmlUCSIsHalfwidthandFullwidthForms (int code);
|
77
|
+
XMLPUBFUN int XMLCALL xmlUCSIsHangulCompatibilityJamo (int code);
|
78
|
+
XMLPUBFUN int XMLCALL xmlUCSIsHangulJamo (int code);
|
79
|
+
XMLPUBFUN int XMLCALL xmlUCSIsHangulSyllables (int code);
|
80
|
+
XMLPUBFUN int XMLCALL xmlUCSIsHanunoo (int code);
|
81
|
+
XMLPUBFUN int XMLCALL xmlUCSIsHebrew (int code);
|
82
|
+
XMLPUBFUN int XMLCALL xmlUCSIsHighPrivateUseSurrogates (int code);
|
83
|
+
XMLPUBFUN int XMLCALL xmlUCSIsHighSurrogates (int code);
|
84
|
+
XMLPUBFUN int XMLCALL xmlUCSIsHiragana (int code);
|
85
|
+
XMLPUBFUN int XMLCALL xmlUCSIsIPAExtensions (int code);
|
86
|
+
XMLPUBFUN int XMLCALL xmlUCSIsIdeographicDescriptionCharacters (int code);
|
87
|
+
XMLPUBFUN int XMLCALL xmlUCSIsKanbun (int code);
|
88
|
+
XMLPUBFUN int XMLCALL xmlUCSIsKangxiRadicals (int code);
|
89
|
+
XMLPUBFUN int XMLCALL xmlUCSIsKannada (int code);
|
90
|
+
XMLPUBFUN int XMLCALL xmlUCSIsKatakana (int code);
|
91
|
+
XMLPUBFUN int XMLCALL xmlUCSIsKatakanaPhoneticExtensions (int code);
|
92
|
+
XMLPUBFUN int XMLCALL xmlUCSIsKhmer (int code);
|
93
|
+
XMLPUBFUN int XMLCALL xmlUCSIsKhmerSymbols (int code);
|
94
|
+
XMLPUBFUN int XMLCALL xmlUCSIsLao (int code);
|
95
|
+
XMLPUBFUN int XMLCALL xmlUCSIsLatin1Supplement (int code);
|
96
|
+
XMLPUBFUN int XMLCALL xmlUCSIsLatinExtendedA (int code);
|
97
|
+
XMLPUBFUN int XMLCALL xmlUCSIsLatinExtendedB (int code);
|
98
|
+
XMLPUBFUN int XMLCALL xmlUCSIsLatinExtendedAdditional (int code);
|
99
|
+
XMLPUBFUN int XMLCALL xmlUCSIsLetterlikeSymbols (int code);
|
100
|
+
XMLPUBFUN int XMLCALL xmlUCSIsLimbu (int code);
|
101
|
+
XMLPUBFUN int XMLCALL xmlUCSIsLinearBIdeograms (int code);
|
102
|
+
XMLPUBFUN int XMLCALL xmlUCSIsLinearBSyllabary (int code);
|
103
|
+
XMLPUBFUN int XMLCALL xmlUCSIsLowSurrogates (int code);
|
104
|
+
XMLPUBFUN int XMLCALL xmlUCSIsMalayalam (int code);
|
105
|
+
XMLPUBFUN int XMLCALL xmlUCSIsMathematicalAlphanumericSymbols (int code);
|
106
|
+
XMLPUBFUN int XMLCALL xmlUCSIsMathematicalOperators (int code);
|
107
|
+
XMLPUBFUN int XMLCALL xmlUCSIsMiscellaneousMathematicalSymbolsA (int code);
|
108
|
+
XMLPUBFUN int XMLCALL xmlUCSIsMiscellaneousMathematicalSymbolsB (int code);
|
109
|
+
XMLPUBFUN int XMLCALL xmlUCSIsMiscellaneousSymbols (int code);
|
110
|
+
XMLPUBFUN int XMLCALL xmlUCSIsMiscellaneousSymbolsandArrows (int code);
|
111
|
+
XMLPUBFUN int XMLCALL xmlUCSIsMiscellaneousTechnical (int code);
|
112
|
+
XMLPUBFUN int XMLCALL xmlUCSIsMongolian (int code);
|
113
|
+
XMLPUBFUN int XMLCALL xmlUCSIsMusicalSymbols (int code);
|
114
|
+
XMLPUBFUN int XMLCALL xmlUCSIsMyanmar (int code);
|
115
|
+
XMLPUBFUN int XMLCALL xmlUCSIsNumberForms (int code);
|
116
|
+
XMLPUBFUN int XMLCALL xmlUCSIsOgham (int code);
|
117
|
+
XMLPUBFUN int XMLCALL xmlUCSIsOldItalic (int code);
|
118
|
+
XMLPUBFUN int XMLCALL xmlUCSIsOpticalCharacterRecognition (int code);
|
119
|
+
XMLPUBFUN int XMLCALL xmlUCSIsOriya (int code);
|
120
|
+
XMLPUBFUN int XMLCALL xmlUCSIsOsmanya (int code);
|
121
|
+
XMLPUBFUN int XMLCALL xmlUCSIsPhoneticExtensions (int code);
|
122
|
+
XMLPUBFUN int XMLCALL xmlUCSIsPrivateUse (int code);
|
123
|
+
XMLPUBFUN int XMLCALL xmlUCSIsPrivateUseArea (int code);
|
124
|
+
XMLPUBFUN int XMLCALL xmlUCSIsRunic (int code);
|
125
|
+
XMLPUBFUN int XMLCALL xmlUCSIsShavian (int code);
|
126
|
+
XMLPUBFUN int XMLCALL xmlUCSIsSinhala (int code);
|
127
|
+
XMLPUBFUN int XMLCALL xmlUCSIsSmallFormVariants (int code);
|
128
|
+
XMLPUBFUN int XMLCALL xmlUCSIsSpacingModifierLetters (int code);
|
129
|
+
XMLPUBFUN int XMLCALL xmlUCSIsSpecials (int code);
|
130
|
+
XMLPUBFUN int XMLCALL xmlUCSIsSuperscriptsandSubscripts (int code);
|
131
|
+
XMLPUBFUN int XMLCALL xmlUCSIsSupplementalArrowsA (int code);
|
132
|
+
XMLPUBFUN int XMLCALL xmlUCSIsSupplementalArrowsB (int code);
|
133
|
+
XMLPUBFUN int XMLCALL xmlUCSIsSupplementalMathematicalOperators (int code);
|
134
|
+
XMLPUBFUN int XMLCALL xmlUCSIsSupplementaryPrivateUseAreaA (int code);
|
135
|
+
XMLPUBFUN int XMLCALL xmlUCSIsSupplementaryPrivateUseAreaB (int code);
|
136
|
+
XMLPUBFUN int XMLCALL xmlUCSIsSyriac (int code);
|
137
|
+
XMLPUBFUN int XMLCALL xmlUCSIsTagalog (int code);
|
138
|
+
XMLPUBFUN int XMLCALL xmlUCSIsTagbanwa (int code);
|
139
|
+
XMLPUBFUN int XMLCALL xmlUCSIsTags (int code);
|
140
|
+
XMLPUBFUN int XMLCALL xmlUCSIsTaiLe (int code);
|
141
|
+
XMLPUBFUN int XMLCALL xmlUCSIsTaiXuanJingSymbols (int code);
|
142
|
+
XMLPUBFUN int XMLCALL xmlUCSIsTamil (int code);
|
143
|
+
XMLPUBFUN int XMLCALL xmlUCSIsTelugu (int code);
|
144
|
+
XMLPUBFUN int XMLCALL xmlUCSIsThaana (int code);
|
145
|
+
XMLPUBFUN int XMLCALL xmlUCSIsThai (int code);
|
146
|
+
XMLPUBFUN int XMLCALL xmlUCSIsTibetan (int code);
|
147
|
+
XMLPUBFUN int XMLCALL xmlUCSIsUgaritic (int code);
|
148
|
+
XMLPUBFUN int XMLCALL xmlUCSIsUnifiedCanadianAboriginalSyllabics (int code);
|
149
|
+
XMLPUBFUN int XMLCALL xmlUCSIsVariationSelectors (int code);
|
150
|
+
XMLPUBFUN int XMLCALL xmlUCSIsVariationSelectorsSupplement (int code);
|
151
|
+
XMLPUBFUN int XMLCALL xmlUCSIsYiRadicals (int code);
|
152
|
+
XMLPUBFUN int XMLCALL xmlUCSIsYiSyllables (int code);
|
153
|
+
XMLPUBFUN int XMLCALL xmlUCSIsYijingHexagramSymbols (int code);
|
154
|
+
|
155
|
+
XMLPUBFUN int XMLCALL xmlUCSIsBlock (int code, const char *block);
|
156
|
+
|
157
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatC (int code);
|
158
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatCc (int code);
|
159
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatCf (int code);
|
160
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatCo (int code);
|
161
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatCs (int code);
|
162
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatL (int code);
|
163
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatLl (int code);
|
164
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatLm (int code);
|
165
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatLo (int code);
|
166
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatLt (int code);
|
167
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatLu (int code);
|
168
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatM (int code);
|
169
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatMc (int code);
|
170
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatMe (int code);
|
171
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatMn (int code);
|
172
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatN (int code);
|
173
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatNd (int code);
|
174
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatNl (int code);
|
175
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatNo (int code);
|
176
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatP (int code);
|
177
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatPc (int code);
|
178
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatPd (int code);
|
179
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatPe (int code);
|
180
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatPf (int code);
|
181
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatPi (int code);
|
182
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatPo (int code);
|
183
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatPs (int code);
|
184
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatS (int code);
|
185
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatSc (int code);
|
186
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatSk (int code);
|
187
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatSm (int code);
|
188
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatSo (int code);
|
189
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatZ (int code);
|
190
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatZl (int code);
|
191
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatZp (int code);
|
192
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCatZs (int code);
|
193
|
+
|
194
|
+
XMLPUBFUN int XMLCALL xmlUCSIsCat (int code, const char *cat);
|
195
|
+
|
196
|
+
#ifdef __cplusplus
|
197
|
+
}
|
198
|
+
#endif
|
199
|
+
|
200
|
+
#endif /* LIBXML_UNICODE_ENABLED */
|
201
|
+
|
202
|
+
#endif /* __XML_UNICODE_H__ */
|