@revizly/sharp-libvips-dev 1.0.21 → 1.0.23
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/aom/aom_decoder.h +1 -1
- package/include/aom/aom_encoder.h +2 -0
- package/include/aom/aomcx.h +106 -25
- package/include/expat.h +37 -24
- package/include/expat_config.h +9 -9
- package/include/expat_external.h +62 -61
- package/include/freetype2/freetype/config/ftconfig.h +1 -1
- package/include/freetype2/freetype/config/ftheader.h +1 -1
- package/include/freetype2/freetype/config/ftoption.h +37 -12
- package/include/freetype2/freetype/config/ftstdlib.h +1 -1
- package/include/freetype2/freetype/config/integer-types.h +29 -2
- package/include/freetype2/freetype/config/mac-support.h +1 -1
- package/include/freetype2/freetype/config/public-macros.h +3 -3
- package/include/freetype2/freetype/freetype.h +51 -47
- package/include/freetype2/freetype/ftadvanc.h +1 -1
- package/include/freetype2/freetype/ftbbox.h +1 -1
- package/include/freetype2/freetype/ftbdf.h +1 -1
- package/include/freetype2/freetype/ftbitmap.h +1 -1
- package/include/freetype2/freetype/ftbzip2.h +1 -1
- package/include/freetype2/freetype/ftcache.h +1 -1
- package/include/freetype2/freetype/ftcid.h +1 -1
- package/include/freetype2/freetype/ftcolor.h +13 -4
- package/include/freetype2/freetype/ftdriver.h +3 -3
- package/include/freetype2/freetype/fterrdef.h +1 -1
- package/include/freetype2/freetype/fterrors.h +1 -1
- package/include/freetype2/freetype/ftfntfmt.h +1 -1
- package/include/freetype2/freetype/ftgasp.h +1 -1
- package/include/freetype2/freetype/ftglyph.h +1 -1
- package/include/freetype2/freetype/ftgxval.h +1 -1
- package/include/freetype2/freetype/ftgzip.h +1 -1
- package/include/freetype2/freetype/ftimage.h +6 -2
- package/include/freetype2/freetype/ftincrem.h +1 -1
- package/include/freetype2/freetype/ftlcdfil.h +1 -1
- package/include/freetype2/freetype/ftlist.h +1 -1
- package/include/freetype2/freetype/ftlogging.h +184 -0
- package/include/freetype2/freetype/ftlzw.h +1 -1
- package/include/freetype2/freetype/ftmac.h +1 -1
- package/include/freetype2/freetype/ftmm.h +159 -103
- package/include/freetype2/freetype/ftmodapi.h +1 -1
- package/include/freetype2/freetype/ftmoderr.h +1 -1
- package/include/freetype2/freetype/ftotval.h +1 -1
- package/include/freetype2/freetype/ftoutln.h +1 -1
- package/include/freetype2/freetype/ftparams.h +1 -1
- package/include/freetype2/freetype/ftpfr.h +1 -1
- package/include/freetype2/freetype/ftrender.h +1 -1
- package/include/freetype2/freetype/ftsizes.h +1 -1
- package/include/freetype2/freetype/ftsnames.h +1 -1
- package/include/freetype2/freetype/ftstroke.h +1 -1
- package/include/freetype2/freetype/ftsynth.h +1 -1
- package/include/freetype2/freetype/ftsystem.h +1 -1
- package/include/freetype2/freetype/fttrigon.h +1 -1
- package/include/freetype2/freetype/fttypes.h +1 -1
- package/include/freetype2/freetype/ftwinfnt.h +2 -3
- package/include/freetype2/freetype/otsvg.h +1 -1
- package/include/freetype2/freetype/t1tables.h +1 -1
- package/include/freetype2/freetype/ttnameid.h +129 -129
- package/include/freetype2/freetype/tttables.h +8 -5
- package/include/freetype2/freetype/tttags.h +1 -1
- package/include/freetype2/ft2build.h +1 -1
- package/include/glib-2.0/gio/gdbuserror.h +9 -8
- package/include/glib-2.0/gio/ginetaddress.h +12 -0
- package/include/glib-2.0/gio/gioenums.h +9 -2
- package/include/glib-2.0/glib/gstring.h +2 -2
- package/include/glib-2.0/glib/gunicode.h +1 -1
- package/include/glib-2.0/gobject/glib-types.h +1 -1
- package/include/glib-2.0/gobject/gparam.h +1 -1
- package/include/glib-2.0/gobject/gvalue.h +78 -35
- package/include/harfbuzz/hb-script-list.h +12 -0
- package/include/harfbuzz/hb-subset.h +5 -0
- package/include/harfbuzz/hb-version.h +3 -3
- package/include/hwy/ops/set_macros-inl.h +5 -0
- package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
- 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 -202
- 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 +198 -95
- 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/include/pango-1.0/pango/pango-enum-types.h +3 -0
- package/include/pango-1.0/pango/pango-features.h +3 -3
- package/include/pango-1.0/pango/pango-font.h +30 -0
- package/include/pango-1.0/pango/pango-version-macros.h +26 -0
- package/include/tiff.h +1 -0
- package/include/tiffconf.h +1 -1
- package/include/tiffio.h +23 -5
- package/include/tiffvers.h +4 -4
- package/include/vips/connection.h +4 -4
- package/include/vips/version.h +4 -4
- package/package.json +1 -1
- package/versions.json +11 -11
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
1
|
+
/**
|
|
2
|
+
* @file
|
|
3
|
+
*
|
|
4
|
+
* @brief DTD validator
|
|
5
|
+
*
|
|
6
|
+
* API to handle XML Document Type Definitions and validate
|
|
7
|
+
* documents.
|
|
4
8
|
*
|
|
5
|
-
*
|
|
9
|
+
* @copyright See Copyright for the status of this software.
|
|
6
10
|
*
|
|
7
|
-
*
|
|
11
|
+
* @author Daniel Veillard
|
|
8
12
|
*/
|
|
9
13
|
|
|
10
14
|
|
|
11
15
|
#ifndef __XML_VALID_H__
|
|
12
16
|
#define __XML_VALID_H__
|
|
13
17
|
|
|
14
|
-
/** DOC_DISABLE */
|
|
15
18
|
#include <libxml/xmlversion.h>
|
|
16
19
|
#include <libxml/xmlerror.h>
|
|
17
20
|
#define XML_TREE_INTERNALS
|
|
@@ -20,67 +23,57 @@
|
|
|
20
23
|
#include <libxml/list.h>
|
|
21
24
|
#include <libxml/xmlautomata.h>
|
|
22
25
|
#include <libxml/xmlregexp.h>
|
|
23
|
-
/** DOC_ENABLE */
|
|
24
26
|
|
|
25
27
|
#ifdef __cplusplus
|
|
26
28
|
extern "C" {
|
|
27
29
|
#endif
|
|
28
30
|
|
|
29
31
|
/*
|
|
30
|
-
* Validation state added for non-
|
|
32
|
+
* Validation state added for non-deterministic content model.
|
|
31
33
|
*/
|
|
32
34
|
typedef struct _xmlValidState xmlValidState;
|
|
33
35
|
typedef xmlValidState *xmlValidStatePtr;
|
|
34
36
|
|
|
35
37
|
/**
|
|
36
|
-
*
|
|
37
|
-
* @ctx: usually an xmlValidCtxtPtr to a validity error context,
|
|
38
|
-
* but comes from ctxt->userData (which normally contains such
|
|
39
|
-
* a pointer); ctxt->userData can be changed by the user.
|
|
40
|
-
* @msg: the string to format *printf like vararg
|
|
41
|
-
* @...: remaining arguments to the format
|
|
38
|
+
* Report a validity error.
|
|
42
39
|
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
40
|
+
* @param ctx user data (usually an xmlValidCtxt)
|
|
41
|
+
* @param msg printf-like format string
|
|
42
|
+
* @param ... arguments to format
|
|
45
43
|
*/
|
|
46
44
|
typedef void (*xmlValidityErrorFunc) (void *ctx,
|
|
47
45
|
const char *msg,
|
|
48
46
|
...) LIBXML_ATTR_FORMAT(2,3);
|
|
49
47
|
|
|
50
48
|
/**
|
|
51
|
-
*
|
|
52
|
-
* @ctx: usually an xmlValidCtxtPtr to a validity error context,
|
|
53
|
-
* but comes from ctxt->userData (which normally contains such
|
|
54
|
-
* a pointer); ctxt->userData can be changed by the user.
|
|
55
|
-
* @msg: the string to format *printf like vararg
|
|
56
|
-
* @...: remaining arguments to the format
|
|
49
|
+
* Report a validity warning.
|
|
57
50
|
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
51
|
+
* @param ctx user data (usually an xmlValidCtxt)
|
|
52
|
+
* @param msg printf-like format string
|
|
53
|
+
* @param ... arguments to format
|
|
60
54
|
*/
|
|
61
55
|
typedef void (*xmlValidityWarningFunc) (void *ctx,
|
|
62
56
|
const char *msg,
|
|
63
57
|
...) LIBXML_ATTR_FORMAT(2,3);
|
|
64
58
|
|
|
65
|
-
/*
|
|
66
|
-
* xmlValidCtxt:
|
|
67
|
-
* An xmlValidCtxt is used for error reporting when validating.
|
|
68
|
-
*/
|
|
69
59
|
typedef struct _xmlValidCtxt xmlValidCtxt;
|
|
70
60
|
typedef xmlValidCtxt *xmlValidCtxtPtr;
|
|
61
|
+
/**
|
|
62
|
+
* An xmlValidCtxt is used for error reporting when validating.
|
|
63
|
+
*/
|
|
71
64
|
struct _xmlValidCtxt {
|
|
72
65
|
void *userData; /* user specific data block */
|
|
73
66
|
xmlValidityErrorFunc error; /* the callback in case of errors */
|
|
74
67
|
xmlValidityWarningFunc warning; /* the callback in case of warning */
|
|
75
68
|
|
|
76
69
|
/* Node analysis stack used when validating within entities */
|
|
77
|
-
|
|
70
|
+
xmlNode *node; /* Current parsed Node */
|
|
78
71
|
int nodeNr; /* Depth of the parsing stack */
|
|
79
72
|
int nodeMax; /* Max depth of the parsing stack */
|
|
80
|
-
|
|
73
|
+
xmlNode **nodeTab; /* array of nodes */
|
|
81
74
|
|
|
82
75
|
unsigned int flags; /* internal flags */
|
|
83
|
-
|
|
76
|
+
xmlDoc *doc; /* the document */
|
|
84
77
|
int valid; /* temporary validity check result */
|
|
85
78
|
|
|
86
79
|
/* state state used for non-determinist content validation */
|
|
@@ -90,228 +83,198 @@ struct _xmlValidCtxt {
|
|
|
90
83
|
xmlValidState *vstateTab; /* array of validation states */
|
|
91
84
|
|
|
92
85
|
#ifdef LIBXML_REGEXP_ENABLED
|
|
93
|
-
|
|
94
|
-
|
|
86
|
+
xmlAutomata *am; /* the automata */
|
|
87
|
+
xmlAutomataState *state; /* used to build the automata */
|
|
95
88
|
#else
|
|
96
89
|
void *am;
|
|
97
90
|
void *state;
|
|
98
91
|
#endif
|
|
99
92
|
};
|
|
100
93
|
|
|
101
|
-
/*
|
|
102
|
-
* ALL notation declarations are stored in a table.
|
|
103
|
-
* There is one table per DTD.
|
|
104
|
-
*/
|
|
105
|
-
|
|
106
94
|
typedef struct _xmlHashTable xmlNotationTable;
|
|
107
95
|
typedef xmlNotationTable *xmlNotationTablePtr;
|
|
108
96
|
|
|
109
|
-
/*
|
|
110
|
-
* ALL element declarations are stored in a table.
|
|
111
|
-
* There is one table per DTD.
|
|
112
|
-
*/
|
|
113
|
-
|
|
114
97
|
typedef struct _xmlHashTable xmlElementTable;
|
|
115
98
|
typedef xmlElementTable *xmlElementTablePtr;
|
|
116
99
|
|
|
117
|
-
/*
|
|
118
|
-
* ALL attribute declarations are stored in a table.
|
|
119
|
-
* There is one table per DTD.
|
|
120
|
-
*/
|
|
121
|
-
|
|
122
100
|
typedef struct _xmlHashTable xmlAttributeTable;
|
|
123
101
|
typedef xmlAttributeTable *xmlAttributeTablePtr;
|
|
124
102
|
|
|
125
|
-
/*
|
|
126
|
-
* ALL IDs attributes are stored in a table.
|
|
127
|
-
* There is one table per document.
|
|
128
|
-
*/
|
|
129
|
-
|
|
130
103
|
typedef struct _xmlHashTable xmlIDTable;
|
|
131
104
|
typedef xmlIDTable *xmlIDTablePtr;
|
|
132
105
|
|
|
133
|
-
/*
|
|
134
|
-
* ALL Refs attributes are stored in a table.
|
|
135
|
-
* There is one table per document.
|
|
136
|
-
*/
|
|
137
|
-
|
|
138
106
|
typedef struct _xmlHashTable xmlRefTable;
|
|
139
107
|
typedef xmlRefTable *xmlRefTablePtr;
|
|
140
108
|
|
|
141
109
|
/* Notation */
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
xmlDtdPtr dtd,
|
|
110
|
+
XMLPUBFUN xmlNotation *
|
|
111
|
+
xmlAddNotationDecl (xmlValidCtxt *ctxt,
|
|
112
|
+
xmlDtd *dtd,
|
|
146
113
|
const xmlChar *name,
|
|
147
|
-
const xmlChar *
|
|
148
|
-
const xmlChar *
|
|
114
|
+
const xmlChar *publicId,
|
|
115
|
+
const xmlChar *systemId);
|
|
149
116
|
XML_DEPRECATED
|
|
150
|
-
XMLPUBFUN
|
|
151
|
-
xmlCopyNotationTable (
|
|
117
|
+
XMLPUBFUN xmlNotationTable *
|
|
118
|
+
xmlCopyNotationTable (xmlNotationTable *table);
|
|
152
119
|
XML_DEPRECATED
|
|
153
120
|
XMLPUBFUN void
|
|
154
|
-
xmlFreeNotationTable (
|
|
121
|
+
xmlFreeNotationTable (xmlNotationTable *table);
|
|
155
122
|
#ifdef LIBXML_OUTPUT_ENABLED
|
|
156
123
|
XML_DEPRECATED
|
|
157
124
|
XMLPUBFUN void
|
|
158
|
-
xmlDumpNotationDecl (
|
|
159
|
-
|
|
125
|
+
xmlDumpNotationDecl (xmlBuffer *buf,
|
|
126
|
+
xmlNotation *nota);
|
|
160
127
|
/* XML_DEPRECATED, still used in lxml */
|
|
161
128
|
XMLPUBFUN void
|
|
162
|
-
xmlDumpNotationTable (
|
|
163
|
-
|
|
129
|
+
xmlDumpNotationTable (xmlBuffer *buf,
|
|
130
|
+
xmlNotationTable *table);
|
|
164
131
|
#endif /* LIBXML_OUTPUT_ENABLED */
|
|
165
132
|
|
|
166
133
|
/* Element Content */
|
|
167
|
-
/* the non Doc version are being deprecated */
|
|
168
134
|
XML_DEPRECATED
|
|
169
|
-
XMLPUBFUN
|
|
135
|
+
XMLPUBFUN xmlElementContent *
|
|
170
136
|
xmlNewElementContent (const xmlChar *name,
|
|
171
137
|
xmlElementContentType type);
|
|
172
138
|
XML_DEPRECATED
|
|
173
|
-
XMLPUBFUN
|
|
174
|
-
xmlCopyElementContent (
|
|
139
|
+
XMLPUBFUN xmlElementContent *
|
|
140
|
+
xmlCopyElementContent (xmlElementContent *content);
|
|
175
141
|
XML_DEPRECATED
|
|
176
142
|
XMLPUBFUN void
|
|
177
|
-
xmlFreeElementContent (
|
|
178
|
-
/* the new versions with doc argument */
|
|
143
|
+
xmlFreeElementContent (xmlElementContent *cur);
|
|
179
144
|
XML_DEPRECATED
|
|
180
|
-
XMLPUBFUN
|
|
181
|
-
xmlNewDocElementContent (
|
|
145
|
+
XMLPUBFUN xmlElementContent *
|
|
146
|
+
xmlNewDocElementContent (xmlDoc *doc,
|
|
182
147
|
const xmlChar *name,
|
|
183
148
|
xmlElementContentType type);
|
|
184
149
|
XML_DEPRECATED
|
|
185
|
-
XMLPUBFUN
|
|
186
|
-
xmlCopyDocElementContent(
|
|
187
|
-
|
|
150
|
+
XMLPUBFUN xmlElementContent *
|
|
151
|
+
xmlCopyDocElementContent(xmlDoc *doc,
|
|
152
|
+
xmlElementContent *content);
|
|
188
153
|
XML_DEPRECATED
|
|
189
154
|
XMLPUBFUN void
|
|
190
|
-
xmlFreeDocElementContent(
|
|
191
|
-
|
|
155
|
+
xmlFreeDocElementContent(xmlDoc *doc,
|
|
156
|
+
xmlElementContent *cur);
|
|
192
157
|
XML_DEPRECATED
|
|
193
158
|
XMLPUBFUN void
|
|
194
159
|
xmlSnprintfElementContent(char *buf,
|
|
195
160
|
int size,
|
|
196
|
-
|
|
161
|
+
xmlElementContent *content,
|
|
197
162
|
int englob);
|
|
198
163
|
#ifdef LIBXML_OUTPUT_ENABLED
|
|
199
164
|
XML_DEPRECATED
|
|
200
165
|
XMLPUBFUN void
|
|
201
166
|
xmlSprintfElementContent(char *buf,
|
|
202
|
-
|
|
167
|
+
xmlElementContent *content,
|
|
203
168
|
int englob);
|
|
204
169
|
#endif /* LIBXML_OUTPUT_ENABLED */
|
|
205
170
|
|
|
206
171
|
/* Element */
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
xmlDtdPtr dtd,
|
|
172
|
+
XMLPUBFUN xmlElement *
|
|
173
|
+
xmlAddElementDecl (xmlValidCtxt *ctxt,
|
|
174
|
+
xmlDtd *dtd,
|
|
211
175
|
const xmlChar *name,
|
|
212
176
|
xmlElementTypeVal type,
|
|
213
|
-
|
|
177
|
+
xmlElementContent *content);
|
|
214
178
|
XML_DEPRECATED
|
|
215
|
-
XMLPUBFUN
|
|
216
|
-
xmlCopyElementTable (
|
|
179
|
+
XMLPUBFUN xmlElementTable *
|
|
180
|
+
xmlCopyElementTable (xmlElementTable *table);
|
|
217
181
|
XML_DEPRECATED
|
|
218
182
|
XMLPUBFUN void
|
|
219
|
-
xmlFreeElementTable (
|
|
183
|
+
xmlFreeElementTable (xmlElementTable *table);
|
|
220
184
|
#ifdef LIBXML_OUTPUT_ENABLED
|
|
221
185
|
XML_DEPRECATED
|
|
222
186
|
XMLPUBFUN void
|
|
223
|
-
xmlDumpElementTable (
|
|
224
|
-
|
|
187
|
+
xmlDumpElementTable (xmlBuffer *buf,
|
|
188
|
+
xmlElementTable *table);
|
|
225
189
|
XML_DEPRECATED
|
|
226
190
|
XMLPUBFUN void
|
|
227
|
-
xmlDumpElementDecl (
|
|
228
|
-
|
|
191
|
+
xmlDumpElementDecl (xmlBuffer *buf,
|
|
192
|
+
xmlElement *elem);
|
|
229
193
|
#endif /* LIBXML_OUTPUT_ENABLED */
|
|
230
194
|
|
|
231
195
|
/* Enumeration */
|
|
232
196
|
XML_DEPRECATED
|
|
233
|
-
XMLPUBFUN
|
|
197
|
+
XMLPUBFUN xmlEnumeration *
|
|
234
198
|
xmlCreateEnumeration (const xmlChar *name);
|
|
235
199
|
/* XML_DEPRECATED, needed for custom attributeDecl SAX handler */
|
|
236
200
|
XMLPUBFUN void
|
|
237
|
-
xmlFreeEnumeration (
|
|
201
|
+
xmlFreeEnumeration (xmlEnumeration *cur);
|
|
238
202
|
XML_DEPRECATED
|
|
239
|
-
XMLPUBFUN
|
|
240
|
-
xmlCopyEnumeration (
|
|
203
|
+
XMLPUBFUN xmlEnumeration *
|
|
204
|
+
xmlCopyEnumeration (xmlEnumeration *cur);
|
|
241
205
|
|
|
242
206
|
/* Attribute */
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
xmlDtdPtr dtd,
|
|
207
|
+
XMLPUBFUN xmlAttribute *
|
|
208
|
+
xmlAddAttributeDecl (xmlValidCtxt *ctxt,
|
|
209
|
+
xmlDtd *dtd,
|
|
247
210
|
const xmlChar *elem,
|
|
248
211
|
const xmlChar *name,
|
|
249
212
|
const xmlChar *ns,
|
|
250
213
|
xmlAttributeType type,
|
|
251
214
|
xmlAttributeDefault def,
|
|
252
215
|
const xmlChar *defaultValue,
|
|
253
|
-
|
|
216
|
+
xmlEnumeration *tree);
|
|
254
217
|
XML_DEPRECATED
|
|
255
|
-
XMLPUBFUN
|
|
256
|
-
xmlCopyAttributeTable (
|
|
218
|
+
XMLPUBFUN xmlAttributeTable *
|
|
219
|
+
xmlCopyAttributeTable (xmlAttributeTable *table);
|
|
257
220
|
XML_DEPRECATED
|
|
258
221
|
XMLPUBFUN void
|
|
259
|
-
xmlFreeAttributeTable (
|
|
222
|
+
xmlFreeAttributeTable (xmlAttributeTable *table);
|
|
260
223
|
#ifdef LIBXML_OUTPUT_ENABLED
|
|
261
224
|
XML_DEPRECATED
|
|
262
225
|
XMLPUBFUN void
|
|
263
|
-
xmlDumpAttributeTable (
|
|
264
|
-
|
|
226
|
+
xmlDumpAttributeTable (xmlBuffer *buf,
|
|
227
|
+
xmlAttributeTable *table);
|
|
265
228
|
XML_DEPRECATED
|
|
266
229
|
XMLPUBFUN void
|
|
267
|
-
xmlDumpAttributeDecl (
|
|
268
|
-
|
|
230
|
+
xmlDumpAttributeDecl (xmlBuffer *buf,
|
|
231
|
+
xmlAttribute *attr);
|
|
269
232
|
#endif /* LIBXML_OUTPUT_ENABLED */
|
|
270
233
|
|
|
271
234
|
/* IDs */
|
|
272
235
|
XMLPUBFUN int
|
|
273
|
-
xmlAddIDSafe (
|
|
236
|
+
xmlAddIDSafe (xmlAttr *attr,
|
|
274
237
|
const xmlChar *value);
|
|
275
|
-
XMLPUBFUN
|
|
276
|
-
xmlAddID (
|
|
277
|
-
|
|
238
|
+
XMLPUBFUN xmlID *
|
|
239
|
+
xmlAddID (xmlValidCtxt *ctxt,
|
|
240
|
+
xmlDoc *doc,
|
|
278
241
|
const xmlChar *value,
|
|
279
|
-
|
|
242
|
+
xmlAttr *attr);
|
|
280
243
|
XMLPUBFUN void
|
|
281
|
-
xmlFreeIDTable (
|
|
282
|
-
XMLPUBFUN
|
|
283
|
-
xmlGetID (
|
|
244
|
+
xmlFreeIDTable (xmlIDTable *table);
|
|
245
|
+
XMLPUBFUN xmlAttr *
|
|
246
|
+
xmlGetID (xmlDoc *doc,
|
|
284
247
|
const xmlChar *ID);
|
|
285
248
|
XMLPUBFUN int
|
|
286
|
-
xmlIsID (
|
|
287
|
-
|
|
288
|
-
|
|
249
|
+
xmlIsID (xmlDoc *doc,
|
|
250
|
+
xmlNode *elem,
|
|
251
|
+
xmlAttr *attr);
|
|
289
252
|
XMLPUBFUN int
|
|
290
|
-
xmlRemoveID (
|
|
291
|
-
|
|
253
|
+
xmlRemoveID (xmlDoc *doc,
|
|
254
|
+
xmlAttr *attr);
|
|
292
255
|
|
|
293
256
|
/* IDREFs */
|
|
294
257
|
XML_DEPRECATED
|
|
295
|
-
XMLPUBFUN
|
|
296
|
-
xmlAddRef (
|
|
297
|
-
|
|
258
|
+
XMLPUBFUN xmlRef *
|
|
259
|
+
xmlAddRef (xmlValidCtxt *ctxt,
|
|
260
|
+
xmlDoc *doc,
|
|
298
261
|
const xmlChar *value,
|
|
299
|
-
|
|
262
|
+
xmlAttr *attr);
|
|
300
263
|
XML_DEPRECATED
|
|
301
264
|
XMLPUBFUN void
|
|
302
|
-
xmlFreeRefTable (
|
|
265
|
+
xmlFreeRefTable (xmlRefTable *table);
|
|
303
266
|
XML_DEPRECATED
|
|
304
267
|
XMLPUBFUN int
|
|
305
|
-
xmlIsRef (
|
|
306
|
-
|
|
307
|
-
|
|
268
|
+
xmlIsRef (xmlDoc *doc,
|
|
269
|
+
xmlNode *elem,
|
|
270
|
+
xmlAttr *attr);
|
|
308
271
|
XML_DEPRECATED
|
|
309
272
|
XMLPUBFUN int
|
|
310
|
-
xmlRemoveRef (
|
|
311
|
-
|
|
273
|
+
xmlRemoveRef (xmlDoc *doc,
|
|
274
|
+
xmlAttr *attr);
|
|
312
275
|
XML_DEPRECATED
|
|
313
|
-
XMLPUBFUN
|
|
314
|
-
xmlGetRefs (
|
|
276
|
+
XMLPUBFUN xmlList *
|
|
277
|
+
xmlGetRefs (xmlDoc *doc,
|
|
315
278
|
const xmlChar *ID);
|
|
316
279
|
|
|
317
280
|
/**
|
|
@@ -319,124 +282,127 @@ XMLPUBFUN xmlListPtr
|
|
|
319
282
|
*/
|
|
320
283
|
#ifdef LIBXML_VALID_ENABLED
|
|
321
284
|
/* Allocate/Release Validation Contexts */
|
|
322
|
-
XMLPUBFUN
|
|
285
|
+
XMLPUBFUN xmlValidCtxt *
|
|
323
286
|
xmlNewValidCtxt(void);
|
|
324
287
|
XMLPUBFUN void
|
|
325
|
-
xmlFreeValidCtxt(
|
|
288
|
+
xmlFreeValidCtxt(xmlValidCtxt *);
|
|
326
289
|
|
|
327
290
|
XML_DEPRECATED
|
|
328
291
|
XMLPUBFUN int
|
|
329
|
-
xmlValidateRoot (
|
|
330
|
-
|
|
292
|
+
xmlValidateRoot (xmlValidCtxt *ctxt,
|
|
293
|
+
xmlDoc *doc);
|
|
331
294
|
XML_DEPRECATED
|
|
332
295
|
XMLPUBFUN int
|
|
333
|
-
xmlValidateElementDecl (
|
|
334
|
-
|
|
335
|
-
|
|
296
|
+
xmlValidateElementDecl (xmlValidCtxt *ctxt,
|
|
297
|
+
xmlDoc *doc,
|
|
298
|
+
xmlElement *elem);
|
|
336
299
|
XML_DEPRECATED
|
|
337
300
|
XMLPUBFUN xmlChar *
|
|
338
|
-
xmlValidNormalizeAttributeValue(
|
|
339
|
-
|
|
301
|
+
xmlValidNormalizeAttributeValue(xmlDoc *doc,
|
|
302
|
+
xmlNode *elem,
|
|
340
303
|
const xmlChar *name,
|
|
341
304
|
const xmlChar *value);
|
|
342
305
|
XML_DEPRECATED
|
|
343
306
|
XMLPUBFUN xmlChar *
|
|
344
|
-
xmlValidCtxtNormalizeAttributeValue(
|
|
345
|
-
|
|
346
|
-
|
|
307
|
+
xmlValidCtxtNormalizeAttributeValue(xmlValidCtxt *ctxt,
|
|
308
|
+
xmlDoc *doc,
|
|
309
|
+
xmlNode *elem,
|
|
347
310
|
const xmlChar *name,
|
|
348
311
|
const xmlChar *value);
|
|
349
312
|
XML_DEPRECATED
|
|
350
313
|
XMLPUBFUN int
|
|
351
|
-
xmlValidateAttributeDecl(
|
|
352
|
-
|
|
353
|
-
|
|
314
|
+
xmlValidateAttributeDecl(xmlValidCtxt *ctxt,
|
|
315
|
+
xmlDoc *doc,
|
|
316
|
+
xmlAttribute *attr);
|
|
354
317
|
XML_DEPRECATED
|
|
355
318
|
XMLPUBFUN int
|
|
356
319
|
xmlValidateAttributeValue(xmlAttributeType type,
|
|
357
320
|
const xmlChar *value);
|
|
358
321
|
XML_DEPRECATED
|
|
359
322
|
XMLPUBFUN int
|
|
360
|
-
xmlValidateNotationDecl (
|
|
361
|
-
|
|
362
|
-
|
|
323
|
+
xmlValidateNotationDecl (xmlValidCtxt *ctxt,
|
|
324
|
+
xmlDoc *doc,
|
|
325
|
+
xmlNotation *nota);
|
|
363
326
|
XMLPUBFUN int
|
|
364
|
-
xmlValidateDtd (
|
|
365
|
-
|
|
366
|
-
|
|
327
|
+
xmlValidateDtd (xmlValidCtxt *ctxt,
|
|
328
|
+
xmlDoc *doc,
|
|
329
|
+
xmlDtd *dtd);
|
|
367
330
|
XML_DEPRECATED
|
|
368
331
|
XMLPUBFUN int
|
|
369
|
-
xmlValidateDtdFinal (
|
|
370
|
-
|
|
332
|
+
xmlValidateDtdFinal (xmlValidCtxt *ctxt,
|
|
333
|
+
xmlDoc *doc);
|
|
371
334
|
XMLPUBFUN int
|
|
372
|
-
xmlValidateDocument (
|
|
373
|
-
|
|
335
|
+
xmlValidateDocument (xmlValidCtxt *ctxt,
|
|
336
|
+
xmlDoc *doc);
|
|
374
337
|
XMLPUBFUN int
|
|
375
|
-
xmlValidateElement (
|
|
376
|
-
|
|
377
|
-
|
|
338
|
+
xmlValidateElement (xmlValidCtxt *ctxt,
|
|
339
|
+
xmlDoc *doc,
|
|
340
|
+
xmlNode *elem);
|
|
378
341
|
XML_DEPRECATED
|
|
379
342
|
XMLPUBFUN int
|
|
380
|
-
xmlValidateOneElement (
|
|
381
|
-
|
|
382
|
-
|
|
343
|
+
xmlValidateOneElement (xmlValidCtxt *ctxt,
|
|
344
|
+
xmlDoc *doc,
|
|
345
|
+
xmlNode *elem);
|
|
383
346
|
XML_DEPRECATED
|
|
384
347
|
XMLPUBFUN int
|
|
385
|
-
xmlValidateOneAttribute (
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
348
|
+
xmlValidateOneAttribute (xmlValidCtxt *ctxt,
|
|
349
|
+
xmlDoc *doc,
|
|
350
|
+
xmlNode *elem,
|
|
351
|
+
xmlAttr *attr,
|
|
389
352
|
const xmlChar *value);
|
|
390
353
|
XML_DEPRECATED
|
|
391
354
|
XMLPUBFUN int
|
|
392
|
-
xmlValidateOneNamespace (
|
|
393
|
-
|
|
394
|
-
|
|
355
|
+
xmlValidateOneNamespace (xmlValidCtxt *ctxt,
|
|
356
|
+
xmlDoc *doc,
|
|
357
|
+
xmlNode *elem,
|
|
395
358
|
const xmlChar *prefix,
|
|
396
|
-
|
|
359
|
+
xmlNs *ns,
|
|
397
360
|
const xmlChar *value);
|
|
398
361
|
XML_DEPRECATED
|
|
399
362
|
XMLPUBFUN int
|
|
400
|
-
xmlValidateDocumentFinal(
|
|
401
|
-
|
|
363
|
+
xmlValidateDocumentFinal(xmlValidCtxt *ctxt,
|
|
364
|
+
xmlDoc *doc);
|
|
402
365
|
XML_DEPRECATED
|
|
403
366
|
XMLPUBFUN int
|
|
404
|
-
xmlValidateNotationUse (
|
|
405
|
-
|
|
367
|
+
xmlValidateNotationUse (xmlValidCtxt *ctxt,
|
|
368
|
+
xmlDoc *doc,
|
|
406
369
|
const xmlChar *notationName);
|
|
407
370
|
#endif /* LIBXML_VALID_ENABLED */
|
|
408
371
|
|
|
372
|
+
XML_DEPRECATED
|
|
409
373
|
XMLPUBFUN int
|
|
410
|
-
xmlIsMixedElement (
|
|
374
|
+
xmlIsMixedElement (xmlDoc *doc,
|
|
411
375
|
const xmlChar *name);
|
|
412
|
-
XMLPUBFUN
|
|
413
|
-
xmlGetDtdAttrDesc (
|
|
376
|
+
XMLPUBFUN xmlAttribute *
|
|
377
|
+
xmlGetDtdAttrDesc (xmlDtd *dtd,
|
|
414
378
|
const xmlChar *elem,
|
|
415
379
|
const xmlChar *name);
|
|
416
|
-
XMLPUBFUN
|
|
417
|
-
xmlGetDtdQAttrDesc (
|
|
380
|
+
XMLPUBFUN xmlAttribute *
|
|
381
|
+
xmlGetDtdQAttrDesc (xmlDtd *dtd,
|
|
418
382
|
const xmlChar *elem,
|
|
419
383
|
const xmlChar *name,
|
|
420
384
|
const xmlChar *prefix);
|
|
421
|
-
XMLPUBFUN
|
|
422
|
-
xmlGetDtdNotationDesc (
|
|
385
|
+
XMLPUBFUN xmlNotation *
|
|
386
|
+
xmlGetDtdNotationDesc (xmlDtd *dtd,
|
|
423
387
|
const xmlChar *name);
|
|
424
|
-
XMLPUBFUN
|
|
425
|
-
xmlGetDtdQElementDesc (
|
|
388
|
+
XMLPUBFUN xmlElement *
|
|
389
|
+
xmlGetDtdQElementDesc (xmlDtd *dtd,
|
|
426
390
|
const xmlChar *name,
|
|
427
391
|
const xmlChar *prefix);
|
|
428
|
-
XMLPUBFUN
|
|
429
|
-
xmlGetDtdElementDesc (
|
|
392
|
+
XMLPUBFUN xmlElement *
|
|
393
|
+
xmlGetDtdElementDesc (xmlDtd *dtd,
|
|
430
394
|
const xmlChar *name);
|
|
431
395
|
|
|
432
396
|
#ifdef LIBXML_VALID_ENABLED
|
|
433
397
|
|
|
398
|
+
XML_DEPRECATED
|
|
434
399
|
XMLPUBFUN int
|
|
435
400
|
xmlValidGetPotentialChildren(xmlElementContent *ctree,
|
|
436
401
|
const xmlChar **names,
|
|
437
402
|
int *len,
|
|
438
403
|
int max);
|
|
439
404
|
|
|
405
|
+
/* only needed for `xmllint --insert` */
|
|
440
406
|
XMLPUBFUN int
|
|
441
407
|
xmlValidGetValidElements(xmlNode *prev,
|
|
442
408
|
xmlNode *next,
|
|
@@ -457,28 +423,30 @@ XMLPUBFUN int
|
|
|
457
423
|
*/
|
|
458
424
|
XML_DEPRECATED
|
|
459
425
|
XMLPUBFUN int
|
|
460
|
-
xmlValidBuildContentModel(
|
|
461
|
-
|
|
426
|
+
xmlValidBuildContentModel(xmlValidCtxt *ctxt,
|
|
427
|
+
xmlElement *elem);
|
|
462
428
|
|
|
463
429
|
XML_DEPRECATED
|
|
464
430
|
XMLPUBFUN int
|
|
465
|
-
xmlValidatePushElement (
|
|
466
|
-
|
|
467
|
-
|
|
431
|
+
xmlValidatePushElement (xmlValidCtxt *ctxt,
|
|
432
|
+
xmlDoc *doc,
|
|
433
|
+
xmlNode *elem,
|
|
468
434
|
const xmlChar *qname);
|
|
469
435
|
XML_DEPRECATED
|
|
470
436
|
XMLPUBFUN int
|
|
471
|
-
xmlValidatePushCData (
|
|
437
|
+
xmlValidatePushCData (xmlValidCtxt *ctxt,
|
|
472
438
|
const xmlChar *data,
|
|
473
439
|
int len);
|
|
474
440
|
XML_DEPRECATED
|
|
475
441
|
XMLPUBFUN int
|
|
476
|
-
xmlValidatePopElement (
|
|
477
|
-
|
|
478
|
-
|
|
442
|
+
xmlValidatePopElement (xmlValidCtxt *ctxt,
|
|
443
|
+
xmlDoc *doc,
|
|
444
|
+
xmlNode *elem,
|
|
479
445
|
const xmlChar *qname);
|
|
480
446
|
#endif /* LIBXML_REGEXP_ENABLED */
|
|
447
|
+
|
|
481
448
|
#endif /* LIBXML_VALID_ENABLED */
|
|
449
|
+
|
|
482
450
|
#ifdef __cplusplus
|
|
483
451
|
}
|
|
484
452
|
#endif
|