@img/sharp-libvips-dev 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/include/expat.h +37 -24
- package/include/expat_config.h +9 -9
- package/include/expat_external.h +62 -61
- package/include/libxml2/libxml/HTMLparser.h +159 -101
- package/include/libxml2/libxml/HTMLtree.h +49 -74
- package/include/libxml2/libxml/SAX.h +8 -5
- package/include/libxml2/libxml/SAX2.h +18 -15
- package/include/libxml2/libxml/c14n.h +30 -29
- package/include/libxml2/libxml/catalog.h +47 -22
- package/include/libxml2/libxml/chvalid.h +52 -64
- package/include/libxml2/libxml/debugXML.h +18 -15
- package/include/libxml2/libxml/dict.h +22 -19
- package/include/libxml2/libxml/encoding.h +144 -111
- package/include/libxml2/libxml/entities.h +95 -75
- package/include/libxml2/libxml/globals.h +7 -4
- package/include/libxml2/libxml/hash.h +61 -64
- package/include/libxml2/libxml/list.h +59 -51
- package/include/libxml2/libxml/nanoftp.h +7 -4
- package/include/libxml2/libxml/nanohttp.h +10 -7
- package/include/libxml2/libxml/parser.h +1091 -563
- package/include/libxml2/libxml/parserInternals.h +167 -214
- package/include/libxml2/libxml/pattern.h +29 -31
- package/include/libxml2/libxml/relaxng.h +59 -58
- package/include/libxml2/libxml/schemasInternals.h +114 -268
- package/include/libxml2/libxml/schematron.h +59 -51
- package/include/libxml2/libxml/threads.h +19 -20
- package/include/libxml2/libxml/tree.h +873 -623
- package/include/libxml2/libxml/uri.h +21 -22
- package/include/libxml2/libxml/valid.h +170 -199
- package/include/libxml2/libxml/xinclude.h +24 -43
- package/include/libxml2/libxml/xlink.h +55 -51
- package/include/libxml2/libxml/xmlIO.h +133 -151
- package/include/libxml2/libxml/xmlautomata.h +66 -65
- package/include/libxml2/libxml/xmlerror.h +197 -94
- package/include/libxml2/libxml/xmlexports.h +17 -19
- package/include/libxml2/libxml/xmlmemory.h +44 -29
- package/include/libxml2/libxml/xmlmodule.h +14 -15
- package/include/libxml2/libxml/xmlreader.h +137 -131
- package/include/libxml2/libxml/xmlregexp.h +28 -31
- package/include/libxml2/libxml/xmlsave.h +81 -36
- package/include/libxml2/libxml/xmlschemas.h +61 -67
- package/include/libxml2/libxml/xmlschemastypes.h +60 -54
- package/include/libxml2/libxml/xmlstring.h +8 -9
- package/include/libxml2/libxml/xmlunicode.h +6 -3
- package/include/libxml2/libxml/xmlversion.h +44 -121
- package/include/libxml2/libxml/xmlwriter.h +97 -97
- package/include/libxml2/libxml/xpath.h +235 -232
- package/include/libxml2/libxml/xpathInternals.h +247 -277
- package/include/libxml2/libxml/xpointer.h +21 -17
- package/package.json +1 -1
- package/versions.json +2 -2
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
*
|
|
4
|
+
* @brief SAX2 parser interface used to build the DOM tree
|
|
5
|
+
*
|
|
6
|
+
* those are the default SAX2 interfaces used by
|
|
4
7
|
* the library when building DOM tree.
|
|
5
8
|
*
|
|
6
|
-
*
|
|
9
|
+
* @copyright See Copyright for the status of this software.
|
|
7
10
|
*
|
|
8
|
-
*
|
|
11
|
+
* @author Daniel Veillard
|
|
9
12
|
*/
|
|
10
13
|
|
|
11
14
|
|
|
@@ -24,7 +27,7 @@ XMLPUBFUN const xmlChar *
|
|
|
24
27
|
xmlSAX2GetSystemId (void *ctx);
|
|
25
28
|
XMLPUBFUN void
|
|
26
29
|
xmlSAX2SetDocumentLocator (void *ctx,
|
|
27
|
-
|
|
30
|
+
xmlSAXLocator *loc);
|
|
28
31
|
|
|
29
32
|
XMLPUBFUN int
|
|
30
33
|
xmlSAX2GetLineNumber (void *ctx);
|
|
@@ -41,20 +44,20 @@ XMLPUBFUN int
|
|
|
41
44
|
XMLPUBFUN void
|
|
42
45
|
xmlSAX2InternalSubset (void *ctx,
|
|
43
46
|
const xmlChar *name,
|
|
44
|
-
const xmlChar *
|
|
45
|
-
const xmlChar *
|
|
47
|
+
const xmlChar *publicId,
|
|
48
|
+
const xmlChar *systemId);
|
|
46
49
|
XMLPUBFUN void
|
|
47
50
|
xmlSAX2ExternalSubset (void *ctx,
|
|
48
51
|
const xmlChar *name,
|
|
49
|
-
const xmlChar *
|
|
50
|
-
const xmlChar *
|
|
51
|
-
XMLPUBFUN
|
|
52
|
+
const xmlChar *publicId,
|
|
53
|
+
const xmlChar *systemId);
|
|
54
|
+
XMLPUBFUN xmlEntity *
|
|
52
55
|
xmlSAX2GetEntity (void *ctx,
|
|
53
56
|
const xmlChar *name);
|
|
54
|
-
XMLPUBFUN
|
|
57
|
+
XMLPUBFUN xmlEntity *
|
|
55
58
|
xmlSAX2GetParameterEntity (void *ctx,
|
|
56
59
|
const xmlChar *name);
|
|
57
|
-
XMLPUBFUN
|
|
60
|
+
XMLPUBFUN xmlParserInput *
|
|
58
61
|
xmlSAX2ResolveEntity (void *ctx,
|
|
59
62
|
const xmlChar *publicId,
|
|
60
63
|
const xmlChar *systemId);
|
|
@@ -73,12 +76,12 @@ XMLPUBFUN void
|
|
|
73
76
|
int type,
|
|
74
77
|
int def,
|
|
75
78
|
const xmlChar *defaultValue,
|
|
76
|
-
|
|
79
|
+
xmlEnumeration *tree);
|
|
77
80
|
XMLPUBFUN void
|
|
78
81
|
xmlSAX2ElementDecl (void *ctx,
|
|
79
82
|
const xmlChar *name,
|
|
80
83
|
int type,
|
|
81
|
-
|
|
84
|
+
xmlElementContent *content);
|
|
82
85
|
XMLPUBFUN void
|
|
83
86
|
xmlSAX2NotationDecl (void *ctx,
|
|
84
87
|
const xmlChar *name,
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
*
|
|
4
|
+
* @brief Provide Canonical XML and Exclusive XML Canonicalization
|
|
5
|
+
*
|
|
6
|
+
* the c14n modules provides a
|
|
4
7
|
*
|
|
5
8
|
* "Canonical XML" implementation
|
|
6
9
|
* http://www.w3.org/TR/xml-c14n
|
|
@@ -10,9 +13,9 @@
|
|
|
10
13
|
* "Exclusive XML Canonicalization" implementation
|
|
11
14
|
* http://www.w3.org/TR/xml-exc-c14n
|
|
12
15
|
|
|
13
|
-
*
|
|
16
|
+
* @copyright See Copyright for the status of this software.
|
|
14
17
|
*
|
|
15
|
-
*
|
|
18
|
+
* @author Aleksey Sanin
|
|
16
19
|
*/
|
|
17
20
|
#ifndef __XML_C14N_H__
|
|
18
21
|
#define __XML_C14N_H__
|
|
@@ -42,37 +45,37 @@ extern "C" {
|
|
|
42
45
|
* following options: XML_PARSE_DTDATTR | XML_PARSE_NOENT
|
|
43
46
|
*/
|
|
44
47
|
|
|
45
|
-
|
|
46
|
-
* xmlC14NMode:
|
|
47
|
-
*
|
|
48
|
+
/**
|
|
48
49
|
* Predefined values for C14N modes
|
|
49
|
-
*
|
|
50
50
|
*/
|
|
51
51
|
typedef enum {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
/** Original C14N 1.0 spec */
|
|
53
|
+
XML_C14N_1_0 = 0,
|
|
54
|
+
/** Exclusive C14N 1.0 spec */
|
|
55
|
+
XML_C14N_EXCLUSIVE_1_0 = 1,
|
|
56
|
+
/** C14N 1.1 spec */
|
|
57
|
+
XML_C14N_1_1 = 2
|
|
55
58
|
} xmlC14NMode;
|
|
56
59
|
|
|
57
60
|
XMLPUBFUN int
|
|
58
|
-
xmlC14NDocSaveTo (
|
|
59
|
-
|
|
61
|
+
xmlC14NDocSaveTo (xmlDoc *doc,
|
|
62
|
+
xmlNodeSet *nodes,
|
|
60
63
|
int mode, /* a xmlC14NMode */
|
|
61
64
|
xmlChar **inclusive_ns_prefixes,
|
|
62
65
|
int with_comments,
|
|
63
|
-
|
|
66
|
+
xmlOutputBuffer *buf);
|
|
64
67
|
|
|
65
68
|
XMLPUBFUN int
|
|
66
|
-
xmlC14NDocDumpMemory (
|
|
67
|
-
|
|
69
|
+
xmlC14NDocDumpMemory (xmlDoc *doc,
|
|
70
|
+
xmlNodeSet *nodes,
|
|
68
71
|
int mode, /* a xmlC14NMode */
|
|
69
72
|
xmlChar **inclusive_ns_prefixes,
|
|
70
73
|
int with_comments,
|
|
71
74
|
xmlChar **doc_txt_ptr);
|
|
72
75
|
|
|
73
76
|
XMLPUBFUN int
|
|
74
|
-
xmlC14NDocSave (
|
|
75
|
-
|
|
77
|
+
xmlC14NDocSave (xmlDoc *doc,
|
|
78
|
+
xmlNodeSet *nodes,
|
|
76
79
|
int mode, /* a xmlC14NMode */
|
|
77
80
|
xmlChar **inclusive_ns_prefixes,
|
|
78
81
|
int with_comments,
|
|
@@ -84,27 +87,25 @@ XMLPUBFUN int
|
|
|
84
87
|
* This is the core C14N function
|
|
85
88
|
*/
|
|
86
89
|
/**
|
|
87
|
-
* xmlC14NIsVisibleCallback:
|
|
88
|
-
* @user_data: user data
|
|
89
|
-
* @node: the current node
|
|
90
|
-
* @parent: the parent node
|
|
91
|
-
*
|
|
92
90
|
* Signature for a C14N callback on visible nodes
|
|
93
91
|
*
|
|
94
|
-
*
|
|
92
|
+
* @param user_data user data
|
|
93
|
+
* @param node the current node
|
|
94
|
+
* @param parent the parent node
|
|
95
|
+
* @returns 1 if the node should be included
|
|
95
96
|
*/
|
|
96
97
|
typedef int (*xmlC14NIsVisibleCallback) (void* user_data,
|
|
97
|
-
|
|
98
|
-
|
|
98
|
+
xmlNode *node,
|
|
99
|
+
xmlNode *parent);
|
|
99
100
|
|
|
100
101
|
XMLPUBFUN int
|
|
101
|
-
xmlC14NExecute (
|
|
102
|
+
xmlC14NExecute (xmlDoc *doc,
|
|
102
103
|
xmlC14NIsVisibleCallback is_visible_callback,
|
|
103
104
|
void* user_data,
|
|
104
105
|
int mode, /* a xmlC14NMode */
|
|
105
106
|
xmlChar **inclusive_ns_prefixes,
|
|
106
107
|
int with_comments,
|
|
107
|
-
|
|
108
|
+
xmlOutputBuffer *buf);
|
|
108
109
|
|
|
109
110
|
#ifdef __cplusplus
|
|
110
111
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* @file
|
|
3
|
+
*
|
|
4
|
+
* @brief interfaces to the Catalog handling system
|
|
5
|
+
*
|
|
6
|
+
* the catalog module implements the support for
|
|
4
7
|
* XML Catalogs and SGML catalogs
|
|
5
8
|
*
|
|
6
9
|
* SGML Open Technical Resolution TR9401:1997.
|
|
@@ -9,9 +12,9 @@
|
|
|
9
12
|
* XML Catalogs Working Draft 06 August 2001
|
|
10
13
|
* http://www.oasis-open.org/committees/entity/spec-2001-08-06.html
|
|
11
14
|
*
|
|
12
|
-
*
|
|
15
|
+
* @copyright See Copyright for the status of this software.
|
|
13
16
|
*
|
|
14
|
-
*
|
|
17
|
+
* @author Daniel Veillard
|
|
15
18
|
*/
|
|
16
19
|
|
|
17
20
|
#ifndef __XML_CATALOG_H__
|
|
@@ -30,20 +33,18 @@ extern "C" {
|
|
|
30
33
|
#endif
|
|
31
34
|
|
|
32
35
|
/**
|
|
33
|
-
* XML_CATALOGS_NAMESPACE:
|
|
34
|
-
*
|
|
35
36
|
* The namespace for the XML Catalogs elements.
|
|
36
37
|
*/
|
|
37
38
|
#define XML_CATALOGS_NAMESPACE \
|
|
38
39
|
(const xmlChar *) "urn:oasis:names:tc:entity:xmlns:xml:catalog"
|
|
39
40
|
/**
|
|
40
|
-
* XML_CATALOG_PI:
|
|
41
|
-
*
|
|
42
41
|
* The specific XML Catalog Processing Instruction name.
|
|
43
42
|
*/
|
|
44
43
|
#define XML_CATALOG_PI \
|
|
45
44
|
(const xmlChar *) "oasis-xml-catalog"
|
|
46
45
|
|
|
46
|
+
/** @cond ignore */
|
|
47
|
+
|
|
47
48
|
/*
|
|
48
49
|
* The API is voluntarily limited to general cataloging.
|
|
49
50
|
*/
|
|
@@ -60,50 +61,68 @@ typedef enum {
|
|
|
60
61
|
XML_CATA_ALLOW_ALL = 3
|
|
61
62
|
} xmlCatalogAllow;
|
|
62
63
|
|
|
64
|
+
/** @endcond */
|
|
65
|
+
|
|
66
|
+
/** XML catalog */
|
|
63
67
|
typedef struct _xmlCatalog xmlCatalog;
|
|
64
68
|
typedef xmlCatalog *xmlCatalogPtr;
|
|
65
69
|
|
|
66
70
|
/*
|
|
67
71
|
* Operations on a given catalog.
|
|
68
72
|
*/
|
|
69
|
-
|
|
73
|
+
XML_DEPRECATED
|
|
74
|
+
XMLPUBFUN xmlCatalog *
|
|
70
75
|
xmlNewCatalog (int sgml);
|
|
71
|
-
|
|
76
|
+
XML_DEPRECATED
|
|
77
|
+
XMLPUBFUN xmlCatalog *
|
|
72
78
|
xmlLoadACatalog (const char *filename);
|
|
73
|
-
|
|
79
|
+
#ifdef LIBXML_SGML_CATALOG_ENABLED
|
|
80
|
+
XML_DEPRECATED
|
|
81
|
+
XMLPUBFUN xmlCatalog *
|
|
74
82
|
xmlLoadSGMLSuperCatalog (const char *filename);
|
|
83
|
+
XML_DEPRECATED
|
|
75
84
|
XMLPUBFUN int
|
|
76
|
-
xmlConvertSGMLCatalog (
|
|
85
|
+
xmlConvertSGMLCatalog (xmlCatalog *catal);
|
|
86
|
+
#endif /* LIBXML_SGML_CATALOG_ENABLED */
|
|
87
|
+
XML_DEPRECATED
|
|
77
88
|
XMLPUBFUN int
|
|
78
|
-
xmlACatalogAdd (
|
|
89
|
+
xmlACatalogAdd (xmlCatalog *catal,
|
|
79
90
|
const xmlChar *type,
|
|
80
91
|
const xmlChar *orig,
|
|
81
92
|
const xmlChar *replace);
|
|
93
|
+
XML_DEPRECATED
|
|
82
94
|
XMLPUBFUN int
|
|
83
|
-
xmlACatalogRemove (
|
|
95
|
+
xmlACatalogRemove (xmlCatalog *catal,
|
|
84
96
|
const xmlChar *value);
|
|
97
|
+
XML_DEPRECATED
|
|
85
98
|
XMLPUBFUN xmlChar *
|
|
86
|
-
xmlACatalogResolve (
|
|
99
|
+
xmlACatalogResolve (xmlCatalog *catal,
|
|
87
100
|
const xmlChar *pubID,
|
|
88
101
|
const xmlChar *sysID);
|
|
102
|
+
XML_DEPRECATED
|
|
89
103
|
XMLPUBFUN xmlChar *
|
|
90
|
-
xmlACatalogResolveSystem(
|
|
104
|
+
xmlACatalogResolveSystem(xmlCatalog *catal,
|
|
91
105
|
const xmlChar *sysID);
|
|
106
|
+
XML_DEPRECATED
|
|
92
107
|
XMLPUBFUN xmlChar *
|
|
93
|
-
xmlACatalogResolvePublic(
|
|
108
|
+
xmlACatalogResolvePublic(xmlCatalog *catal,
|
|
94
109
|
const xmlChar *pubID);
|
|
110
|
+
XML_DEPRECATED
|
|
95
111
|
XMLPUBFUN xmlChar *
|
|
96
|
-
xmlACatalogResolveURI (
|
|
112
|
+
xmlACatalogResolveURI (xmlCatalog *catal,
|
|
97
113
|
const xmlChar *URI);
|
|
98
114
|
#ifdef LIBXML_OUTPUT_ENABLED
|
|
115
|
+
XML_DEPRECATED
|
|
99
116
|
XMLPUBFUN void
|
|
100
|
-
xmlACatalogDump (
|
|
117
|
+
xmlACatalogDump (xmlCatalog *catal,
|
|
101
118
|
FILE *out);
|
|
102
119
|
#endif /* LIBXML_OUTPUT_ENABLED */
|
|
120
|
+
XML_DEPRECATED
|
|
103
121
|
XMLPUBFUN void
|
|
104
|
-
xmlFreeCatalog (
|
|
122
|
+
xmlFreeCatalog (xmlCatalog *catal);
|
|
123
|
+
XML_DEPRECATED
|
|
105
124
|
XMLPUBFUN int
|
|
106
|
-
xmlCatalogIsEmpty (
|
|
125
|
+
xmlCatalogIsEmpty (xmlCatalog *catal);
|
|
107
126
|
|
|
108
127
|
/*
|
|
109
128
|
* Global operations.
|
|
@@ -135,10 +154,14 @@ XMLPUBFUN int
|
|
|
135
154
|
const xmlChar *replace);
|
|
136
155
|
XMLPUBFUN int
|
|
137
156
|
xmlCatalogRemove (const xmlChar *value);
|
|
138
|
-
|
|
157
|
+
XML_DEPRECATED
|
|
158
|
+
XMLPUBFUN xmlDoc *
|
|
139
159
|
xmlParseCatalogFile (const char *filename);
|
|
160
|
+
#ifdef LIBXML_SGML_CATALOG_ENABLED
|
|
161
|
+
XML_DEPRECATED
|
|
140
162
|
XMLPUBFUN int
|
|
141
163
|
xmlCatalogConvert (void);
|
|
164
|
+
#endif /* LIBXML_SGML_CATALOG_ENABLED */
|
|
142
165
|
|
|
143
166
|
/*
|
|
144
167
|
* Strictly minimal interfaces for per-document catalogs used
|
|
@@ -171,8 +194,10 @@ XMLPUBFUN xmlCatalogAllow
|
|
|
171
194
|
|
|
172
195
|
|
|
173
196
|
/* DEPRECATED interfaces */
|
|
197
|
+
XML_DEPRECATED
|
|
174
198
|
XMLPUBFUN const xmlChar *
|
|
175
199
|
xmlCatalogGetSystem (const xmlChar *sysID);
|
|
200
|
+
XML_DEPRECATED
|
|
176
201
|
XMLPUBFUN const xmlChar *
|
|
177
202
|
xmlCatalogGetPublic (const xmlChar *pubID);
|
|
178
203
|
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
* Description: this module exports interfaces for the character
|
|
4
|
-
* range validation APIs
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
5
3
|
*
|
|
6
|
-
*
|
|
7
|
-
* definition files using the genChRanges.py Python script
|
|
4
|
+
* @brief Unicode character range checking
|
|
8
5
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* Author: William Brack <wbrack@mmm.com.hk>
|
|
6
|
+
* this module exports interfaces for the character
|
|
7
|
+
* range validation APIs
|
|
12
8
|
*/
|
|
13
9
|
|
|
14
10
|
#ifndef __XML_CHVALID_H__
|
|
@@ -21,6 +17,8 @@
|
|
|
21
17
|
extern "C" {
|
|
22
18
|
#endif
|
|
23
19
|
|
|
20
|
+
/** @cond ignore */
|
|
21
|
+
|
|
24
22
|
/*
|
|
25
23
|
* Define our typedefs and structures
|
|
26
24
|
*
|
|
@@ -48,18 +46,26 @@ struct _xmlChRangeGroup {
|
|
|
48
46
|
const xmlChLRange *longRange;
|
|
49
47
|
};
|
|
50
48
|
|
|
49
|
+
XMLPUBVAR const xmlChRangeGroup xmlIsBaseCharGroup;
|
|
50
|
+
XMLPUBVAR const xmlChRangeGroup xmlIsCharGroup;
|
|
51
|
+
XMLPUBVAR const xmlChRangeGroup xmlIsCombiningGroup;
|
|
52
|
+
XMLPUBVAR const xmlChRangeGroup xmlIsDigitGroup;
|
|
53
|
+
XMLPUBVAR const xmlChRangeGroup xmlIsExtenderGroup;
|
|
54
|
+
XMLPUBVAR const xmlChRangeGroup xmlIsIdeographicGroup;
|
|
55
|
+
XMLPUBVAR const unsigned char xmlIsPubidChar_tab[256];
|
|
56
|
+
|
|
51
57
|
/**
|
|
52
58
|
* Range checking routine
|
|
53
59
|
*/
|
|
54
60
|
XMLPUBFUN int
|
|
55
61
|
xmlCharInRange(unsigned int val, const xmlChRangeGroup *group);
|
|
56
62
|
|
|
63
|
+
/** @endcond */
|
|
57
64
|
|
|
58
65
|
/**
|
|
59
|
-
* xmlIsBaseChar_ch:
|
|
60
|
-
* @c: char to validate
|
|
61
|
-
*
|
|
62
66
|
* Automatically generated by genChRanges.py
|
|
67
|
+
*
|
|
68
|
+
* @param c char to validate
|
|
63
69
|
*/
|
|
64
70
|
#define xmlIsBaseChar_ch(c) (((0x41 <= (c)) && ((c) <= 0x5a)) || \
|
|
65
71
|
((0x61 <= (c)) && ((c) <= 0x7a)) || \
|
|
@@ -68,52 +74,45 @@ XMLPUBFUN int
|
|
|
68
74
|
(0xf8 <= (c)))
|
|
69
75
|
|
|
70
76
|
/**
|
|
71
|
-
* xmlIsBaseCharQ:
|
|
72
|
-
* @c: char to validate
|
|
73
|
-
*
|
|
74
77
|
* Automatically generated by genChRanges.py
|
|
78
|
+
*
|
|
79
|
+
* @param c char to validate
|
|
75
80
|
*/
|
|
76
81
|
#define xmlIsBaseCharQ(c) (((c) < 0x100) ? \
|
|
77
82
|
xmlIsBaseChar_ch((c)) : \
|
|
78
83
|
xmlCharInRange((c), &xmlIsBaseCharGroup))
|
|
79
84
|
|
|
80
|
-
XMLPUBVAR const xmlChRangeGroup xmlIsBaseCharGroup;
|
|
81
|
-
|
|
82
85
|
/**
|
|
83
|
-
* xmlIsBlank_ch:
|
|
84
|
-
* @c: char to validate
|
|
85
|
-
*
|
|
86
86
|
* Automatically generated by genChRanges.py
|
|
87
|
+
*
|
|
88
|
+
* @param c char to validate
|
|
87
89
|
*/
|
|
88
90
|
#define xmlIsBlank_ch(c) (((c) == 0x20) || \
|
|
89
91
|
((0x9 <= (c)) && ((c) <= 0xa)) || \
|
|
90
92
|
((c) == 0xd))
|
|
91
93
|
|
|
92
94
|
/**
|
|
93
|
-
* xmlIsBlankQ:
|
|
94
|
-
* @c: char to validate
|
|
95
|
-
*
|
|
96
95
|
* Automatically generated by genChRanges.py
|
|
96
|
+
*
|
|
97
|
+
* @param c char to validate
|
|
97
98
|
*/
|
|
98
99
|
#define xmlIsBlankQ(c) (((c) < 0x100) ? \
|
|
99
100
|
xmlIsBlank_ch((c)) : 0)
|
|
100
101
|
|
|
101
102
|
|
|
102
103
|
/**
|
|
103
|
-
* xmlIsChar_ch:
|
|
104
|
-
* @c: char to validate
|
|
105
|
-
*
|
|
106
104
|
* Automatically generated by genChRanges.py
|
|
105
|
+
*
|
|
106
|
+
* @param c char to validate
|
|
107
107
|
*/
|
|
108
108
|
#define xmlIsChar_ch(c) (((0x9 <= (c)) && ((c) <= 0xa)) || \
|
|
109
109
|
((c) == 0xd) || \
|
|
110
110
|
(0x20 <= (c)))
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
|
-
* xmlIsCharQ:
|
|
114
|
-
* @c: char to validate
|
|
115
|
-
*
|
|
116
113
|
* Automatically generated by genChRanges.py
|
|
114
|
+
*
|
|
115
|
+
* @param c char to validate
|
|
117
116
|
*/
|
|
118
117
|
#define xmlIsCharQ(c) (((c) < 0x100) ? \
|
|
119
118
|
xmlIsChar_ch((c)) :\
|
|
@@ -121,65 +120,51 @@ XMLPUBVAR const xmlChRangeGroup xmlIsBaseCharGroup;
|
|
|
121
120
|
((0xe000 <= (c)) && ((c) <= 0xfffd)) || \
|
|
122
121
|
((0x10000 <= (c)) && ((c) <= 0x10ffff))))
|
|
123
122
|
|
|
124
|
-
XMLPUBVAR const xmlChRangeGroup xmlIsCharGroup;
|
|
125
|
-
|
|
126
123
|
/**
|
|
127
|
-
* xmlIsCombiningQ:
|
|
128
|
-
* @c: char to validate
|
|
129
|
-
*
|
|
130
124
|
* Automatically generated by genChRanges.py
|
|
125
|
+
*
|
|
126
|
+
* @param c char to validate
|
|
131
127
|
*/
|
|
132
128
|
#define xmlIsCombiningQ(c) (((c) < 0x100) ? \
|
|
133
129
|
0 : \
|
|
134
130
|
xmlCharInRange((c), &xmlIsCombiningGroup))
|
|
135
131
|
|
|
136
|
-
XMLPUBVAR const xmlChRangeGroup xmlIsCombiningGroup;
|
|
137
|
-
|
|
138
132
|
/**
|
|
139
|
-
* xmlIsDigit_ch:
|
|
140
|
-
* @c: char to validate
|
|
141
|
-
*
|
|
142
133
|
* Automatically generated by genChRanges.py
|
|
134
|
+
*
|
|
135
|
+
* @param c char to validate
|
|
143
136
|
*/
|
|
144
137
|
#define xmlIsDigit_ch(c) (((0x30 <= (c)) && ((c) <= 0x39)))
|
|
145
138
|
|
|
146
139
|
/**
|
|
147
|
-
* xmlIsDigitQ:
|
|
148
|
-
* @c: char to validate
|
|
149
|
-
*
|
|
150
140
|
* Automatically generated by genChRanges.py
|
|
141
|
+
*
|
|
142
|
+
* @param c char to validate
|
|
151
143
|
*/
|
|
152
144
|
#define xmlIsDigitQ(c) (((c) < 0x100) ? \
|
|
153
145
|
xmlIsDigit_ch((c)) : \
|
|
154
146
|
xmlCharInRange((c), &xmlIsDigitGroup))
|
|
155
147
|
|
|
156
|
-
XMLPUBVAR const xmlChRangeGroup xmlIsDigitGroup;
|
|
157
|
-
|
|
158
148
|
/**
|
|
159
|
-
* xmlIsExtender_ch:
|
|
160
|
-
* @c: char to validate
|
|
161
|
-
*
|
|
162
149
|
* Automatically generated by genChRanges.py
|
|
150
|
+
*
|
|
151
|
+
* @param c char to validate
|
|
163
152
|
*/
|
|
164
153
|
#define xmlIsExtender_ch(c) (((c) == 0xb7))
|
|
165
154
|
|
|
166
155
|
/**
|
|
167
|
-
* xmlIsExtenderQ:
|
|
168
|
-
* @c: char to validate
|
|
169
|
-
*
|
|
170
156
|
* Automatically generated by genChRanges.py
|
|
157
|
+
*
|
|
158
|
+
* @param c char to validate
|
|
171
159
|
*/
|
|
172
160
|
#define xmlIsExtenderQ(c) (((c) < 0x100) ? \
|
|
173
161
|
xmlIsExtender_ch((c)) : \
|
|
174
162
|
xmlCharInRange((c), &xmlIsExtenderGroup))
|
|
175
163
|
|
|
176
|
-
XMLPUBVAR const xmlChRangeGroup xmlIsExtenderGroup;
|
|
177
|
-
|
|
178
164
|
/**
|
|
179
|
-
* xmlIsIdeographicQ:
|
|
180
|
-
* @c: char to validate
|
|
181
|
-
*
|
|
182
165
|
* Automatically generated by genChRanges.py
|
|
166
|
+
*
|
|
167
|
+
* @param c char to validate
|
|
183
168
|
*/
|
|
184
169
|
#define xmlIsIdeographicQ(c) (((c) < 0x100) ? \
|
|
185
170
|
0 :\
|
|
@@ -187,40 +172,43 @@ XMLPUBVAR const xmlChRangeGroup xmlIsExtenderGroup;
|
|
|
187
172
|
((c) == 0x3007) || \
|
|
188
173
|
((0x3021 <= (c)) && ((c) <= 0x3029))))
|
|
189
174
|
|
|
190
|
-
XMLPUBVAR const xmlChRangeGroup xmlIsIdeographicGroup;
|
|
191
|
-
XMLPUBVAR const unsigned char xmlIsPubidChar_tab[256];
|
|
192
|
-
|
|
193
175
|
/**
|
|
194
|
-
* xmlIsPubidChar_ch:
|
|
195
|
-
* @c: char to validate
|
|
196
|
-
*
|
|
197
176
|
* Automatically generated by genChRanges.py
|
|
177
|
+
*
|
|
178
|
+
* @param c char to validate
|
|
198
179
|
*/
|
|
199
180
|
#define xmlIsPubidChar_ch(c) (xmlIsPubidChar_tab[(c)])
|
|
200
181
|
|
|
201
182
|
/**
|
|
202
|
-
* xmlIsPubidCharQ:
|
|
203
|
-
* @c: char to validate
|
|
204
|
-
*
|
|
205
183
|
* Automatically generated by genChRanges.py
|
|
184
|
+
*
|
|
185
|
+
* @param c char to validate
|
|
206
186
|
*/
|
|
207
187
|
#define xmlIsPubidCharQ(c) (((c) < 0x100) ? \
|
|
208
188
|
xmlIsPubidChar_ch((c)) : 0)
|
|
209
189
|
|
|
190
|
+
XML_DEPRECATED
|
|
210
191
|
XMLPUBFUN int
|
|
211
192
|
xmlIsBaseChar(unsigned int ch);
|
|
193
|
+
XML_DEPRECATED
|
|
212
194
|
XMLPUBFUN int
|
|
213
195
|
xmlIsBlank(unsigned int ch);
|
|
196
|
+
XML_DEPRECATED
|
|
214
197
|
XMLPUBFUN int
|
|
215
198
|
xmlIsChar(unsigned int ch);
|
|
199
|
+
XML_DEPRECATED
|
|
216
200
|
XMLPUBFUN int
|
|
217
201
|
xmlIsCombining(unsigned int ch);
|
|
202
|
+
XML_DEPRECATED
|
|
218
203
|
XMLPUBFUN int
|
|
219
204
|
xmlIsDigit(unsigned int ch);
|
|
205
|
+
XML_DEPRECATED
|
|
220
206
|
XMLPUBFUN int
|
|
221
207
|
xmlIsExtender(unsigned int ch);
|
|
208
|
+
XML_DEPRECATED
|
|
222
209
|
XMLPUBFUN int
|
|
223
210
|
xmlIsIdeographic(unsigned int ch);
|
|
211
|
+
XML_DEPRECATED
|
|
224
212
|
XMLPUBFUN int
|
|
225
213
|
xmlIsPubidChar(unsigned int ch);
|
|
226
214
|
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
*
|
|
4
|
+
* @brief Tree debugging APIs
|
|
5
|
+
*
|
|
6
|
+
* Interfaces to a set of routines used for debugging the tree
|
|
4
7
|
* produced by the XML parser.
|
|
5
8
|
*
|
|
6
|
-
*
|
|
9
|
+
* @copyright See Copyright for the status of this software.
|
|
7
10
|
*
|
|
8
|
-
*
|
|
11
|
+
* @author Daniel Veillard
|
|
9
12
|
*/
|
|
10
13
|
|
|
11
14
|
#ifndef __DEBUG_XML__
|
|
@@ -30,36 +33,36 @@ XMLPUBFUN void
|
|
|
30
33
|
const xmlChar *str);
|
|
31
34
|
XMLPUBFUN void
|
|
32
35
|
xmlDebugDumpAttr (FILE *output,
|
|
33
|
-
|
|
36
|
+
xmlAttr *attr,
|
|
34
37
|
int depth);
|
|
35
38
|
XMLPUBFUN void
|
|
36
39
|
xmlDebugDumpAttrList (FILE *output,
|
|
37
|
-
|
|
40
|
+
xmlAttr *attr,
|
|
38
41
|
int depth);
|
|
39
42
|
XMLPUBFUN void
|
|
40
43
|
xmlDebugDumpOneNode (FILE *output,
|
|
41
|
-
|
|
44
|
+
xmlNode *node,
|
|
42
45
|
int depth);
|
|
43
46
|
XMLPUBFUN void
|
|
44
47
|
xmlDebugDumpNode (FILE *output,
|
|
45
|
-
|
|
48
|
+
xmlNode *node,
|
|
46
49
|
int depth);
|
|
47
50
|
XMLPUBFUN void
|
|
48
51
|
xmlDebugDumpNodeList (FILE *output,
|
|
49
|
-
|
|
52
|
+
xmlNode *node,
|
|
50
53
|
int depth);
|
|
51
54
|
XMLPUBFUN void
|
|
52
55
|
xmlDebugDumpDocumentHead(FILE *output,
|
|
53
|
-
|
|
56
|
+
xmlDoc *doc);
|
|
54
57
|
XMLPUBFUN void
|
|
55
58
|
xmlDebugDumpDocument (FILE *output,
|
|
56
|
-
|
|
59
|
+
xmlDoc *doc);
|
|
57
60
|
XMLPUBFUN void
|
|
58
61
|
xmlDebugDumpDTD (FILE *output,
|
|
59
|
-
|
|
62
|
+
xmlDtd *dtd);
|
|
60
63
|
XMLPUBFUN void
|
|
61
64
|
xmlDebugDumpEntities (FILE *output,
|
|
62
|
-
|
|
65
|
+
xmlDoc *doc);
|
|
63
66
|
|
|
64
67
|
/****************************************************************
|
|
65
68
|
* *
|
|
@@ -69,7 +72,7 @@ XMLPUBFUN void
|
|
|
69
72
|
|
|
70
73
|
XMLPUBFUN int
|
|
71
74
|
xmlDebugCheckDocument (FILE * output,
|
|
72
|
-
|
|
75
|
+
xmlDoc *doc);
|
|
73
76
|
|
|
74
77
|
#ifdef __cplusplus
|
|
75
78
|
}
|