nokogiri 1.11.3-x86-linux → 1.11.4-x86-linux
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/dependencies.yml +12 -12
- data/ext/nokogiri/include/libxml2/libxml/c14n.h +6 -4
- data/ext/nokogiri/include/libxml2/libxml/parser.h +9 -7
- data/ext/nokogiri/include/libxml2/libxml/tree.h +3 -3
- data/ext/nokogiri/include/libxml2/libxml/xmlIO.h +2 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +39 -115
- data/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +1 -1
- data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +6 -6
- data/ext/nokogiri/include/libxml2/libxml/xpath.h +1 -3
- 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/version/constant.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a01da96f4f5bdc1a7269425ffdf4cd3b722d56d6d456814fbfd0d8853c388c3a
|
4
|
+
data.tar.gz: 806d43a39d4d0c25fe6e7a08786a8a4c9ef5cd78e4d9da14b792b0cff4098895
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efe46df1093b1bb99eb0bc480651cdb12748893eb27f07834597881b9c3f347a676ecb05a61405ee514d07fe0c96b2078084a1fdd4f99e9865fe8855ba2a7a24
|
7
|
+
data.tar.gz: e04baea92d1a259dfdcf218d2b0137e6e2bbfa5534df99f6c35c8505a8ca35cb9550b8c76800e3dc502e83629d69af5299303c0b7138ab64fa31b240fbbf5f11
|
data/dependencies.yml
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
libxml2:
|
2
|
-
version: "2.9.
|
3
|
-
sha256: "
|
2
|
+
version: "2.9.12"
|
3
|
+
sha256: "c8d6681e38c56f172892c85ddc0852e1fd4b53b4209e7f4ebf17f7e2eae71d92"
|
4
4
|
# manually verified checksum:
|
5
5
|
#
|
6
|
-
# $ gpg --verify libxml2-2.9.
|
7
|
-
# gpg: Signature made
|
6
|
+
# $ gpg --verify libxml2-2.9.12.tar.gz.asc ports/archives/libxml2-2.9.12.tar.gz
|
7
|
+
# gpg: Signature made Thu 13 May 2021 02:59:16 PM EDT
|
8
8
|
# gpg: using RSA key DB46681BB91ADCEA170FA2D415588B26596BEA5D
|
9
9
|
# gpg: Good signature from "Daniel Veillard (Red Hat work email) <veillard@redhat.com>" [unknown]
|
10
10
|
# gpg: aka "Daniel Veillard <Daniel.Veillard@w3.org>" [unknown]
|
@@ -17,14 +17,14 @@ libxml2:
|
|
17
17
|
#
|
18
18
|
# -----BEGIN PGP SIGNATURE-----
|
19
19
|
#
|
20
|
-
#
|
21
|
-
#
|
22
|
-
#
|
23
|
-
#
|
24
|
-
#
|
25
|
-
#
|
26
|
-
#
|
27
|
-
# =
|
20
|
+
# iQEzBAABCAAdFiEE20ZoG7ka3OoXD6LUFViLJllr6l0FAmCddwQACgkQFViLJllr
|
21
|
+
# 6l11LQgAioRTdfmcC+uK/7+6HPtF/3c5zkX6j8VGYuvFBwZ0jayqMRBAl++fcpjE
|
22
|
+
# JUU/JKebSZ/KCYjzyeOWK/i3Gq77iqm3UbZFB85rqu4a5P3gmj/4STWVyAx0KU3z
|
23
|
+
# G3jKqDhJOt7c0acXb5lh2DngfDa1dn/VGcQcIXsqplNxNr4ET7MnSJjZ3nlxYfW2
|
24
|
+
# E5vWBdPCMUeXDBl6MjYvw9XnGGBLUAaEJWoFToG6jKmVf4GAd9nza20jj5dtbcJq
|
25
|
+
# QEOaSDKDr+f9h2NS8haOhJ9vOpy52PdeGzaFlbRkXarGXuAr8kITgATVs8FAqcgv
|
26
|
+
# MoVhmrO5r2hJf0dCM9fZoYqzpMfmNA==
|
27
|
+
# =KfJ9
|
28
28
|
# -----END PGP SIGNATURE-----
|
29
29
|
#
|
30
30
|
|
@@ -16,17 +16,19 @@
|
|
16
16
|
*/
|
17
17
|
#ifndef __XML_C14N_H__
|
18
18
|
#define __XML_C14N_H__
|
19
|
+
|
20
|
+
#include <libxml/xmlversion.h>
|
21
|
+
|
19
22
|
#ifdef LIBXML_C14N_ENABLED
|
20
23
|
#ifdef LIBXML_OUTPUT_ENABLED
|
21
24
|
|
25
|
+
#include <libxml/tree.h>
|
26
|
+
#include <libxml/xpath.h>
|
27
|
+
|
22
28
|
#ifdef __cplusplus
|
23
29
|
extern "C" {
|
24
30
|
#endif /* __cplusplus */
|
25
31
|
|
26
|
-
#include <libxml/xmlversion.h>
|
27
|
-
#include <libxml/tree.h>
|
28
|
-
#include <libxml/xpath.h>
|
29
|
-
|
30
32
|
/*
|
31
33
|
* XML Canonicalization
|
32
34
|
* http://www.w3.org/TR/xml-c14n
|
@@ -79,7 +79,7 @@ struct _xmlParserInput {
|
|
79
79
|
/**
|
80
80
|
* xmlParserNodeInfo:
|
81
81
|
*
|
82
|
-
* The parser can be asked to collect Node
|
82
|
+
* The parser can be asked to collect Node information, i.e. at what
|
83
83
|
* place in the file they were detected.
|
84
84
|
* NOTE: This is off by default and not very well tested.
|
85
85
|
*/
|
@@ -169,6 +169,8 @@ typedef enum {
|
|
169
169
|
XML_PARSE_READER = 5
|
170
170
|
} xmlParserMode;
|
171
171
|
|
172
|
+
typedef struct _xmlStartTag xmlStartTag;
|
173
|
+
|
172
174
|
/**
|
173
175
|
* xmlParserCtxt:
|
174
176
|
*
|
@@ -231,7 +233,7 @@ struct _xmlParserCtxt {
|
|
231
233
|
int nameMax; /* Max depth of the parsing stack */
|
232
234
|
const xmlChar * *nameTab; /* array of nodes */
|
233
235
|
|
234
|
-
long nbChars; /*
|
236
|
+
long nbChars; /* unused */
|
235
237
|
long checkIndex; /* used by progressive parsing lookup */
|
236
238
|
int keepBlanks; /* ugly but ... */
|
237
239
|
int disableSAX; /* SAX callbacks are disabled */
|
@@ -280,7 +282,7 @@ struct _xmlParserCtxt {
|
|
280
282
|
int nsMax; /* the size of the arrays */
|
281
283
|
const xmlChar * *nsTab; /* the array of prefix/namespace name */
|
282
284
|
int *attallocs; /* which attribute were allocated */
|
283
|
-
|
285
|
+
xmlStartTag *pushTab; /* array of data for push */
|
284
286
|
xmlHashTablePtr attsDefault; /* defaulted attributes if any */
|
285
287
|
xmlHashTablePtr attsSpecial; /* non-CDATA attributes if any */
|
286
288
|
int nsWellFormed; /* is the document XML Namespace okay */
|
@@ -296,7 +298,7 @@ struct _xmlParserCtxt {
|
|
296
298
|
xmlAttrPtr freeAttrs; /* List of freed attributes nodes */
|
297
299
|
|
298
300
|
/*
|
299
|
-
* the complete error
|
301
|
+
* the complete error information for the last error.
|
300
302
|
*/
|
301
303
|
xmlError lastError;
|
302
304
|
xmlParserMode parseMode; /* the parser mode */
|
@@ -329,7 +331,7 @@ struct _xmlSAXLocator {
|
|
329
331
|
* xmlSAXHandler:
|
330
332
|
*
|
331
333
|
* A SAX handler is bunch of callbacks called by the parser when processing
|
332
|
-
* of the input generate data or structure
|
334
|
+
* of the input generate data or structure information.
|
333
335
|
*/
|
334
336
|
|
335
337
|
/**
|
@@ -685,7 +687,7 @@ typedef int (*hasExternalSubsetSAXFunc) (void *ctx);
|
|
685
687
|
* attribute values.
|
686
688
|
*
|
687
689
|
* SAX2 callback when an element start has been detected by the parser.
|
688
|
-
* It provides the namespace
|
690
|
+
* It provides the namespace information for the element, as well as
|
689
691
|
* the new namespace declarations on the element.
|
690
692
|
*/
|
691
693
|
|
@@ -707,7 +709,7 @@ typedef void (*startElementNsSAX2Func) (void *ctx,
|
|
707
709
|
* @URI: the element namespace name if available
|
708
710
|
*
|
709
711
|
* SAX2 callback when an element end has been detected by the parser.
|
710
|
-
* It provides the namespace
|
712
|
+
* It provides the namespace information for the element.
|
711
713
|
*/
|
712
714
|
|
713
715
|
typedef void (*endElementNsSAX2Func) (void *ctx,
|
@@ -443,7 +443,7 @@ struct _xmlAttr {
|
|
443
443
|
struct _xmlDoc *doc; /* the containing document */
|
444
444
|
xmlNs *ns; /* pointer to the associated namespace */
|
445
445
|
xmlAttributeType atype; /* the attribute type if validating */
|
446
|
-
void *psvi; /* for type/PSVI
|
446
|
+
void *psvi; /* for type/PSVI information */
|
447
447
|
};
|
448
448
|
|
449
449
|
/**
|
@@ -502,7 +502,7 @@ struct _xmlNode {
|
|
502
502
|
xmlChar *content; /* the content */
|
503
503
|
struct _xmlAttr *properties;/* properties list */
|
504
504
|
xmlNs *nsDef; /* namespace definitions on this node */
|
505
|
-
void *psvi; /* for type/PSVI
|
505
|
+
void *psvi; /* for type/PSVI information */
|
506
506
|
unsigned short line; /* line number */
|
507
507
|
unsigned short extra; /* extra data for XPath/XSLT */
|
508
508
|
};
|
@@ -578,7 +578,7 @@ struct _xmlDoc {
|
|
578
578
|
int charset; /* Internal flag for charset handling,
|
579
579
|
actually an xmlCharEncoding */
|
580
580
|
struct _xmlDict *dict; /* dict used to allocate names or NULL */
|
581
|
-
void *psvi; /* for type/PSVI
|
581
|
+
void *psvi; /* for type/PSVI information */
|
582
582
|
int parseFlags; /* set of xmlParserOption used to parse the
|
583
583
|
document */
|
584
584
|
int properties; /* set of xmlDocProperties for this document
|
@@ -217,6 +217,8 @@ xmlParserInputBufferPtr
|
|
217
217
|
*/
|
218
218
|
XMLPUBFUN void XMLCALL
|
219
219
|
xmlCleanupOutputCallbacks (void);
|
220
|
+
XMLPUBFUN int XMLCALL
|
221
|
+
xmlPopOutputCallbacks (void);
|
220
222
|
XMLPUBFUN void XMLCALL
|
221
223
|
xmlRegisterDefaultOutputCallbacks(void);
|
222
224
|
XMLPUBFUN xmlOutputBufferPtr XMLCALL
|
@@ -3,43 +3,46 @@
|
|
3
3
|
* Description: macros for marking symbols as exportable/importable.
|
4
4
|
*
|
5
5
|
* Copy: See Copyright for the status of this software.
|
6
|
-
*
|
7
|
-
* Author: Igor Zlatovic <igor@zlatkovic.com>
|
8
6
|
*/
|
9
7
|
|
10
8
|
#ifndef __XML_EXPORTS_H__
|
11
9
|
#define __XML_EXPORTS_H__
|
12
10
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
11
|
+
#if defined(_WIN32) || defined(__CYGWIN__)
|
12
|
+
/** DOC_DISABLE */
|
13
|
+
|
14
|
+
#ifdef LIBXML_STATIC
|
15
|
+
#define XMLPUBLIC
|
16
|
+
#elif defined(IN_LIBXML)
|
17
|
+
#define XMLPUBLIC __declspec(dllexport)
|
18
|
+
#else
|
19
|
+
#define XMLPUBLIC __declspec(dllimport)
|
20
|
+
#endif
|
21
|
+
|
22
|
+
#if defined(LIBXML_FASTCALL)
|
23
|
+
#define XMLCALL __fastcall
|
24
|
+
#else
|
25
|
+
#define XMLCALL __cdecl
|
26
|
+
#endif
|
27
|
+
#define XMLCDECL __cdecl
|
28
|
+
|
29
|
+
/** DOC_ENABLE */
|
30
|
+
#else /* not Windows */
|
24
31
|
|
25
32
|
/**
|
26
|
-
*
|
27
|
-
*
|
28
|
-
* Macros which declare an exportable function
|
29
|
-
*/
|
30
|
-
#define XMLPUBFUN
|
31
|
-
/**
|
32
|
-
* XMLPUBVAR:
|
33
|
+
* XMLPUBLIC:
|
33
34
|
*
|
34
|
-
*
|
35
|
+
* Macro which declares a public symbol
|
35
36
|
*/
|
36
|
-
#define
|
37
|
+
#define XMLPUBLIC
|
38
|
+
|
37
39
|
/**
|
38
40
|
* XMLCALL:
|
39
41
|
*
|
40
|
-
*
|
42
|
+
* Macro which declares the calling convention for exported functions
|
41
43
|
*/
|
42
44
|
#define XMLCALL
|
45
|
+
|
43
46
|
/**
|
44
47
|
* XMLCDECL:
|
45
48
|
*
|
@@ -48,100 +51,21 @@
|
|
48
51
|
*/
|
49
52
|
#define XMLCDECL
|
50
53
|
|
51
|
-
|
52
|
-
|
53
|
-
/* Windows platform with MS compiler */
|
54
|
-
#if defined(_WIN32) && defined(_MSC_VER)
|
55
|
-
#undef XMLPUBFUN
|
56
|
-
#undef XMLPUBVAR
|
57
|
-
#undef XMLCALL
|
58
|
-
#undef XMLCDECL
|
59
|
-
#if defined(IN_LIBXML) && !defined(LIBXML_STATIC)
|
60
|
-
#define XMLPUBFUN __declspec(dllexport)
|
61
|
-
#define XMLPUBVAR __declspec(dllexport)
|
62
|
-
#else
|
63
|
-
#define XMLPUBFUN
|
64
|
-
#if !defined(LIBXML_STATIC)
|
65
|
-
#define XMLPUBVAR __declspec(dllimport) extern
|
66
|
-
#else
|
67
|
-
#define XMLPUBVAR extern
|
68
|
-
#endif
|
69
|
-
#endif
|
70
|
-
#if defined(LIBXML_FASTCALL)
|
71
|
-
#define XMLCALL __fastcall
|
72
|
-
#else
|
73
|
-
#define XMLCALL __cdecl
|
74
|
-
#endif
|
75
|
-
#define XMLCDECL __cdecl
|
76
|
-
#endif
|
54
|
+
#endif /* platform switch */
|
77
55
|
|
78
|
-
/*
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
#if defined(IN_LIBXML) && !defined(LIBXML_STATIC)
|
85
|
-
#define XMLPUBFUN __declspec(dllexport)
|
86
|
-
#define XMLPUBVAR __declspec(dllexport) extern
|
87
|
-
#else
|
88
|
-
#define XMLPUBFUN
|
89
|
-
#if !defined(LIBXML_STATIC)
|
90
|
-
#define XMLPUBVAR __declspec(dllimport) extern
|
91
|
-
#else
|
92
|
-
#define XMLPUBVAR extern
|
93
|
-
#endif
|
94
|
-
#endif
|
95
|
-
#define XMLCALL __cdecl
|
96
|
-
#define XMLCDECL __cdecl
|
97
|
-
#endif
|
98
|
-
|
99
|
-
/* Windows platform with GNU compiler (Mingw) */
|
100
|
-
#if defined(_WIN32) && defined(__MINGW32__)
|
101
|
-
#undef XMLPUBFUN
|
102
|
-
#undef XMLPUBVAR
|
103
|
-
#undef XMLCALL
|
104
|
-
#undef XMLCDECL
|
105
|
-
/*
|
106
|
-
* if defined(IN_LIBXML) this raises problems on mingw with msys
|
107
|
-
* _imp__xmlFree listed as missing. Try to workaround the problem
|
108
|
-
* by also making that declaration when compiling client code.
|
109
|
-
*/
|
110
|
-
#if defined(IN_LIBXML) && !defined(LIBXML_STATIC)
|
111
|
-
#define XMLPUBFUN __declspec(dllexport)
|
112
|
-
#define XMLPUBVAR __declspec(dllexport) extern
|
113
|
-
#else
|
114
|
-
#define XMLPUBFUN
|
115
|
-
#if !defined(LIBXML_STATIC)
|
116
|
-
#define XMLPUBVAR __declspec(dllimport) extern
|
117
|
-
#else
|
118
|
-
#define XMLPUBVAR extern
|
119
|
-
#endif
|
120
|
-
#endif
|
121
|
-
#define XMLCALL __cdecl
|
122
|
-
#define XMLCDECL __cdecl
|
123
|
-
#endif
|
56
|
+
/*
|
57
|
+
* XMLPUBFUN:
|
58
|
+
*
|
59
|
+
* Macro which declares an exportable function
|
60
|
+
*/
|
61
|
+
#define XMLPUBFUN XMLPUBLIC
|
124
62
|
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
#if defined(IN_LIBXML) && !defined(LIBXML_STATIC)
|
132
|
-
#define XMLPUBFUN __declspec(dllexport)
|
133
|
-
#define XMLPUBVAR __declspec(dllexport)
|
134
|
-
#else
|
135
|
-
#define XMLPUBFUN
|
136
|
-
#if !defined(LIBXML_STATIC)
|
137
|
-
#define XMLPUBVAR __declspec(dllimport) extern
|
138
|
-
#else
|
139
|
-
#define XMLPUBVAR extern
|
140
|
-
#endif
|
141
|
-
#endif
|
142
|
-
#define XMLCALL __cdecl
|
143
|
-
#define XMLCDECL __cdecl
|
144
|
-
#endif
|
63
|
+
/**
|
64
|
+
* XMLPUBVAR:
|
65
|
+
*
|
66
|
+
* Macro which declares an exportable variable
|
67
|
+
*/
|
68
|
+
#define XMLPUBVAR XMLPUBLIC extern
|
145
69
|
|
146
70
|
/* Compatibility */
|
147
71
|
#if !defined(LIBXML_DLL_IMPORT)
|
@@ -122,7 +122,7 @@ typedef xmlSchemaValidCtxt *xmlSchemaValidCtxtPtr;
|
|
122
122
|
* @line: returned line information
|
123
123
|
*
|
124
124
|
* A schemas validation locator, a callback called by the validator.
|
125
|
-
* This is used when file or node
|
125
|
+
* This is used when file or node information are not available
|
126
126
|
* to find out what file and line number are affected
|
127
127
|
*
|
128
128
|
* Returns: 0 in case of success and -1 in case of error
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
|
-
* Summary: compile-time version
|
3
|
-
* Description: compile-time version
|
2
|
+
* Summary: compile-time version information
|
3
|
+
* Description: compile-time version information for the XML library
|
4
4
|
*
|
5
5
|
* Copy: See Copyright for the status of this software.
|
6
6
|
*
|
@@ -29,21 +29,21 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
|
|
29
29
|
*
|
30
30
|
* the version string like "1.2.3"
|
31
31
|
*/
|
32
|
-
#define LIBXML_DOTTED_VERSION "2.9.
|
32
|
+
#define LIBXML_DOTTED_VERSION "2.9.12"
|
33
33
|
|
34
34
|
/**
|
35
35
|
* LIBXML_VERSION:
|
36
36
|
*
|
37
37
|
* the version number: 1.2.3 value is 10203
|
38
38
|
*/
|
39
|
-
#define LIBXML_VERSION
|
39
|
+
#define LIBXML_VERSION 20912
|
40
40
|
|
41
41
|
/**
|
42
42
|
* LIBXML_VERSION_STRING:
|
43
43
|
*
|
44
44
|
* the version number string, 1.2.3 value is "10203"
|
45
45
|
*/
|
46
|
-
#define LIBXML_VERSION_STRING "
|
46
|
+
#define LIBXML_VERSION_STRING "20912"
|
47
47
|
|
48
48
|
/**
|
49
49
|
* LIBXML_VERSION_EXTRA:
|
@@ -58,7 +58,7 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
|
|
58
58
|
* Macro to check that the libxml version in use is compatible with
|
59
59
|
* the version the software has been compiled against
|
60
60
|
*/
|
61
|
-
#define LIBXML_TEST_VERSION xmlCheckVersion(
|
61
|
+
#define LIBXML_TEST_VERSION xmlCheckVersion(20912);
|
62
62
|
|
63
63
|
#ifndef VMS
|
64
64
|
#if 0
|
@@ -359,8 +359,6 @@ struct _xmlXPathContext {
|
|
359
359
|
unsigned long opLimit;
|
360
360
|
unsigned long opCount;
|
361
361
|
int depth;
|
362
|
-
int maxDepth;
|
363
|
-
int maxParserDepth;
|
364
362
|
};
|
365
363
|
|
366
364
|
/*
|
@@ -373,7 +371,7 @@ typedef xmlXPathCompExpr *xmlXPathCompExprPtr;
|
|
373
371
|
/**
|
374
372
|
* xmlXPathParserContext:
|
375
373
|
*
|
376
|
-
* An XPath parser context. It contains pure parsing
|
374
|
+
* An XPath parser context. It contains pure parsing information,
|
377
375
|
* an xmlXPathContext, and the stack of objects.
|
378
376
|
*/
|
379
377
|
struct _xmlXPathParserContext {
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nokogiri
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.11.
|
4
|
+
version: 1.11.4
|
5
5
|
platform: x86-linux
|
6
6
|
authors:
|
7
7
|
- Mike Dalessio
|
@@ -17,7 +17,7 @@ authors:
|
|
17
17
|
autorequire:
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
|
-
date: 2021-
|
20
|
+
date: 2021-05-14 00:00:00.000000000 Z
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
name: racc
|