nokogiri 1.14.5-x86-linux → 1.15.0-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.

Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +9 -8
  3. data/dependencies.yml +6 -6
  4. data/ext/nokogiri/extconf.rb +66 -22
  5. data/ext/nokogiri/html4_document.c +1 -2
  6. data/ext/nokogiri/html4_element_description.c +19 -14
  7. data/ext/nokogiri/html4_sax_parser_context.c +10 -16
  8. data/ext/nokogiri/html4_sax_push_parser.c +2 -2
  9. data/ext/nokogiri/include/libexslt/exsltconfig.h +3 -3
  10. data/ext/nokogiri/include/libxml2/libxml/HTMLparser.h +52 -38
  11. data/ext/nokogiri/include/libxml2/libxml/HTMLtree.h +18 -18
  12. data/ext/nokogiri/include/libxml2/libxml/SAX.h +36 -36
  13. data/ext/nokogiri/include/libxml2/libxml/SAX2.h +37 -36
  14. data/ext/nokogiri/include/libxml2/libxml/c14n.h +4 -4
  15. data/ext/nokogiri/include/libxml2/libxml/catalog.h +36 -36
  16. data/ext/nokogiri/include/libxml2/libxml/chvalid.h +9 -9
  17. data/ext/nokogiri/include/libxml2/libxml/debugXML.h +28 -28
  18. data/ext/nokogiri/include/libxml2/libxml/dict.h +13 -13
  19. data/ext/nokogiri/include/libxml2/libxml/encoding.h +20 -19
  20. data/ext/nokogiri/include/libxml2/libxml/entities.h +19 -21
  21. data/ext/nokogiri/include/libxml2/libxml/globals.h +89 -59
  22. data/ext/nokogiri/include/libxml2/libxml/hash.h +25 -25
  23. data/ext/nokogiri/include/libxml2/libxml/list.h +26 -26
  24. data/ext/nokogiri/include/libxml2/libxml/nanoftp.h +22 -22
  25. data/ext/nokogiri/include/libxml2/libxml/nanohttp.h +17 -17
  26. data/ext/nokogiri/include/libxml2/libxml/parser.h +100 -79
  27. data/ext/nokogiri/include/libxml2/libxml/parserInternals.h +149 -143
  28. data/ext/nokogiri/include/libxml2/libxml/pattern.h +15 -15
  29. data/ext/nokogiri/include/libxml2/libxml/relaxng.h +26 -26
  30. data/ext/nokogiri/include/libxml2/libxml/schemasInternals.h +2 -2
  31. data/ext/nokogiri/include/libxml2/libxml/schematron.h +18 -18
  32. data/ext/nokogiri/include/libxml2/libxml/threads.h +23 -20
  33. data/ext/nokogiri/include/libxml2/libxml/tree.h +166 -164
  34. data/ext/nokogiri/include/libxml2/libxml/uri.h +15 -15
  35. data/ext/nokogiri/include/libxml2/libxml/valid.h +72 -87
  36. data/ext/nokogiri/include/libxml2/libxml/xinclude.h +10 -10
  37. data/ext/nokogiri/include/libxml2/libxml/xlink.h +5 -5
  38. data/ext/nokogiri/include/libxml2/libxml/xmlIO.h +60 -59
  39. data/ext/nokogiri/include/libxml2/libxml/xmlautomata.h +21 -21
  40. data/ext/nokogiri/include/libxml2/libxml/xmlerror.h +18 -46
  41. data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +14 -41
  42. data/ext/nokogiri/include/libxml2/libxml/xmlmemory.h +26 -24
  43. data/ext/nokogiri/include/libxml2/libxml/xmlmodule.h +4 -4
  44. data/ext/nokogiri/include/libxml2/libxml/xmlreader.h +87 -87
  45. data/ext/nokogiri/include/libxml2/libxml/xmlregexp.h +30 -30
  46. data/ext/nokogiri/include/libxml2/libxml/xmlsave.h +10 -10
  47. data/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +30 -30
  48. data/ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h +34 -34
  49. data/ext/nokogiri/include/libxml2/libxml/xmlstring.h +30 -30
  50. data/ext/nokogiri/include/libxml2/libxml/xmlunicode.h +166 -166
  51. data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +50 -27
  52. data/ext/nokogiri/include/libxml2/libxml/xmlwriter.h +80 -80
  53. data/ext/nokogiri/include/libxml2/libxml/xpath.h +41 -41
  54. data/ext/nokogiri/include/libxml2/libxml/xpathInternals.h +117 -117
  55. data/ext/nokogiri/include/libxml2/libxml/xpointer.h +21 -21
  56. data/ext/nokogiri/include/libxslt/attributes.h +1 -0
  57. data/ext/nokogiri/include/libxslt/variables.h +3 -3
  58. data/ext/nokogiri/include/libxslt/xsltInternals.h +14 -4
  59. data/ext/nokogiri/include/libxslt/xsltconfig.h +4 -4
  60. data/ext/nokogiri/include/libxslt/xsltlocale.h +14 -54
  61. data/ext/nokogiri/include/libxslt/xsltutils.h +35 -2
  62. data/ext/nokogiri/nokogiri.c +46 -24
  63. data/ext/nokogiri/nokogiri.h +13 -2
  64. data/ext/nokogiri/xml_attr.c +1 -1
  65. data/ext/nokogiri/xml_cdata.c +10 -2
  66. data/ext/nokogiri/xml_comment.c +1 -1
  67. data/ext/nokogiri/xml_document.c +102 -22
  68. data/ext/nokogiri/xml_document_fragment.c +1 -1
  69. data/ext/nokogiri/xml_dtd.c +1 -1
  70. data/ext/nokogiri/xml_element_content.c +32 -29
  71. data/ext/nokogiri/xml_element_decl.c +5 -5
  72. data/ext/nokogiri/xml_encoding_handler.c +12 -4
  73. data/ext/nokogiri/xml_entity_reference.c +1 -1
  74. data/ext/nokogiri/xml_namespace.c +11 -12
  75. data/ext/nokogiri/xml_node.c +7 -7
  76. data/ext/nokogiri/xml_node_set.c +125 -105
  77. data/ext/nokogiri/xml_processing_instruction.c +1 -1
  78. data/ext/nokogiri/xml_reader.c +37 -28
  79. data/ext/nokogiri/xml_relax_ng.c +65 -78
  80. data/ext/nokogiri/xml_sax_parser.c +24 -5
  81. data/ext/nokogiri/xml_sax_parser_context.c +46 -25
  82. data/ext/nokogiri/xml_sax_push_parser.c +29 -8
  83. data/ext/nokogiri/xml_schema.c +90 -116
  84. data/ext/nokogiri/xml_text.c +10 -2
  85. data/ext/nokogiri/xml_xpath_context.c +156 -83
  86. data/ext/nokogiri/xslt_stylesheet.c +103 -50
  87. data/lib/nokogiri/2.7/nokogiri.so +0 -0
  88. data/lib/nokogiri/3.0/nokogiri.so +0 -0
  89. data/lib/nokogiri/3.1/nokogiri.so +0 -0
  90. data/lib/nokogiri/3.2/nokogiri.so +0 -0
  91. data/lib/nokogiri/css/xpath_visitor.rb +2 -2
  92. data/lib/nokogiri/extension.rb +1 -1
  93. data/lib/nokogiri/html4/document_fragment.rb +1 -1
  94. data/lib/nokogiri/html4/element_description_defaults.rb +1821 -353
  95. data/lib/nokogiri/html5/document_fragment.rb +1 -1
  96. data/lib/nokogiri/html5/node.rb +5 -0
  97. data/lib/nokogiri/html5.rb +5 -2
  98. data/lib/nokogiri/jruby/nokogiri_jars.rb +3 -3
  99. data/lib/nokogiri/version/constant.rb +1 -1
  100. data/lib/nokogiri/xml/attribute_decl.rb +4 -2
  101. data/lib/nokogiri/xml/document_fragment.rb +1 -1
  102. data/lib/nokogiri/xml/element_content.rb +10 -2
  103. data/lib/nokogiri/xml/element_decl.rb +4 -2
  104. data/lib/nokogiri/xml/entity_decl.rb +4 -2
  105. data/lib/nokogiri/xml/node/save_options.rb +8 -0
  106. data/lib/nokogiri/xml/node.rb +22 -13
  107. data/lib/nokogiri/xml/pp/node.rb +23 -12
  108. data/lib/nokogiri/xml/sax/document.rb +1 -1
  109. data/lib/nokogiri/xml/searchable.rb +18 -10
  110. data/lib/nokogiri/xslt.rb +73 -3
  111. data/lib/nokogiri.rb +12 -4
  112. data/lib/xsd/xmlparser/nokogiri.rb +1 -1
  113. metadata +2 -2
@@ -59,73 +59,73 @@ extern "C" {
59
59
  */
60
60
  #define HTML_PI_NODE XML_PI_NODE
61
61
 
62
- XMLPUBFUN htmlDocPtr XMLCALL
62
+ XMLPUBFUN htmlDocPtr
63
63
  htmlNewDoc (const xmlChar *URI,
64
64
  const xmlChar *ExternalID);
65
- XMLPUBFUN htmlDocPtr XMLCALL
65
+ XMLPUBFUN htmlDocPtr
66
66
  htmlNewDocNoDtD (const xmlChar *URI,
67
67
  const xmlChar *ExternalID);
68
- XMLPUBFUN const xmlChar * XMLCALL
68
+ XMLPUBFUN const xmlChar *
69
69
  htmlGetMetaEncoding (htmlDocPtr doc);
70
- XMLPUBFUN int XMLCALL
70
+ XMLPUBFUN int
71
71
  htmlSetMetaEncoding (htmlDocPtr doc,
72
72
  const xmlChar *encoding);
73
73
  #ifdef LIBXML_OUTPUT_ENABLED
74
- XMLPUBFUN void XMLCALL
74
+ XMLPUBFUN void
75
75
  htmlDocDumpMemory (xmlDocPtr cur,
76
76
  xmlChar **mem,
77
77
  int *size);
78
- XMLPUBFUN void XMLCALL
78
+ XMLPUBFUN void
79
79
  htmlDocDumpMemoryFormat (xmlDocPtr cur,
80
80
  xmlChar **mem,
81
81
  int *size,
82
82
  int format);
83
- XMLPUBFUN int XMLCALL
83
+ XMLPUBFUN int
84
84
  htmlDocDump (FILE *f,
85
85
  xmlDocPtr cur);
86
- XMLPUBFUN int XMLCALL
86
+ XMLPUBFUN int
87
87
  htmlSaveFile (const char *filename,
88
88
  xmlDocPtr cur);
89
- XMLPUBFUN int XMLCALL
89
+ XMLPUBFUN int
90
90
  htmlNodeDump (xmlBufferPtr buf,
91
91
  xmlDocPtr doc,
92
92
  xmlNodePtr cur);
93
- XMLPUBFUN void XMLCALL
93
+ XMLPUBFUN void
94
94
  htmlNodeDumpFile (FILE *out,
95
95
  xmlDocPtr doc,
96
96
  xmlNodePtr cur);
97
- XMLPUBFUN int XMLCALL
97
+ XMLPUBFUN int
98
98
  htmlNodeDumpFileFormat (FILE *out,
99
99
  xmlDocPtr doc,
100
100
  xmlNodePtr cur,
101
101
  const char *encoding,
102
102
  int format);
103
- XMLPUBFUN int XMLCALL
103
+ XMLPUBFUN int
104
104
  htmlSaveFileEnc (const char *filename,
105
105
  xmlDocPtr cur,
106
106
  const char *encoding);
107
- XMLPUBFUN int XMLCALL
107
+ XMLPUBFUN int
108
108
  htmlSaveFileFormat (const char *filename,
109
109
  xmlDocPtr cur,
110
110
  const char *encoding,
111
111
  int format);
112
112
 
113
- XMLPUBFUN void XMLCALL
113
+ XMLPUBFUN void
114
114
  htmlNodeDumpFormatOutput(xmlOutputBufferPtr buf,
115
115
  xmlDocPtr doc,
116
116
  xmlNodePtr cur,
117
117
  const char *encoding,
118
118
  int format);
119
- XMLPUBFUN void XMLCALL
119
+ XMLPUBFUN void
120
120
  htmlDocContentDumpOutput(xmlOutputBufferPtr buf,
121
121
  xmlDocPtr cur,
122
122
  const char *encoding);
123
- XMLPUBFUN void XMLCALL
123
+ XMLPUBFUN void
124
124
  htmlDocContentDumpFormatOutput(xmlOutputBufferPtr buf,
125
125
  xmlDocPtr cur,
126
126
  const char *encoding,
127
127
  int format);
128
- XMLPUBFUN void XMLCALL
128
+ XMLPUBFUN void
129
129
  htmlNodeDumpOutput (xmlOutputBufferPtr buf,
130
130
  xmlDocPtr doc,
131
131
  xmlNodePtr cur,
@@ -133,7 +133,7 @@ XMLPUBFUN void XMLCALL
133
133
 
134
134
  #endif /* LIBXML_OUTPUT_ENABLED */
135
135
 
136
- XMLPUBFUN int XMLCALL
136
+ XMLPUBFUN int
137
137
  htmlIsBooleanAttr (const xmlChar *name);
138
138
 
139
139
 
@@ -23,61 +23,61 @@
23
23
  extern "C" {
24
24
  #endif
25
25
  XML_DEPRECATED
26
- XMLPUBFUN const xmlChar * XMLCALL
26
+ XMLPUBFUN const xmlChar *
27
27
  getPublicId (void *ctx);
28
28
  XML_DEPRECATED
29
- XMLPUBFUN const xmlChar * XMLCALL
29
+ XMLPUBFUN const xmlChar *
30
30
  getSystemId (void *ctx);
31
31
  XML_DEPRECATED
32
- XMLPUBFUN void XMLCALL
32
+ XMLPUBFUN void
33
33
  setDocumentLocator (void *ctx,
34
34
  xmlSAXLocatorPtr loc);
35
35
 
36
36
  XML_DEPRECATED
37
- XMLPUBFUN int XMLCALL
37
+ XMLPUBFUN int
38
38
  getLineNumber (void *ctx);
39
39
  XML_DEPRECATED
40
- XMLPUBFUN int XMLCALL
40
+ XMLPUBFUN int
41
41
  getColumnNumber (void *ctx);
42
42
 
43
43
  XML_DEPRECATED
44
- XMLPUBFUN int XMLCALL
44
+ XMLPUBFUN int
45
45
  isStandalone (void *ctx);
46
46
  XML_DEPRECATED
47
- XMLPUBFUN int XMLCALL
47
+ XMLPUBFUN int
48
48
  hasInternalSubset (void *ctx);
49
49
  XML_DEPRECATED
50
- XMLPUBFUN int XMLCALL
50
+ XMLPUBFUN int
51
51
  hasExternalSubset (void *ctx);
52
52
 
53
53
  XML_DEPRECATED
54
- XMLPUBFUN void XMLCALL
54
+ XMLPUBFUN void
55
55
  internalSubset (void *ctx,
56
56
  const xmlChar *name,
57
57
  const xmlChar *ExternalID,
58
58
  const xmlChar *SystemID);
59
59
  XML_DEPRECATED
60
- XMLPUBFUN void XMLCALL
60
+ XMLPUBFUN void
61
61
  externalSubset (void *ctx,
62
62
  const xmlChar *name,
63
63
  const xmlChar *ExternalID,
64
64
  const xmlChar *SystemID);
65
65
  XML_DEPRECATED
66
- XMLPUBFUN xmlEntityPtr XMLCALL
66
+ XMLPUBFUN xmlEntityPtr
67
67
  getEntity (void *ctx,
68
68
  const xmlChar *name);
69
69
  XML_DEPRECATED
70
- XMLPUBFUN xmlEntityPtr XMLCALL
70
+ XMLPUBFUN xmlEntityPtr
71
71
  getParameterEntity (void *ctx,
72
72
  const xmlChar *name);
73
73
  XML_DEPRECATED
74
- XMLPUBFUN xmlParserInputPtr XMLCALL
74
+ XMLPUBFUN xmlParserInputPtr
75
75
  resolveEntity (void *ctx,
76
76
  const xmlChar *publicId,
77
77
  const xmlChar *systemId);
78
78
 
79
79
  XML_DEPRECATED
80
- XMLPUBFUN void XMLCALL
80
+ XMLPUBFUN void
81
81
  entityDecl (void *ctx,
82
82
  const xmlChar *name,
83
83
  int type,
@@ -85,7 +85,7 @@ XMLPUBFUN void XMLCALL
85
85
  const xmlChar *systemId,
86
86
  xmlChar *content);
87
87
  XML_DEPRECATED
88
- XMLPUBFUN void XMLCALL
88
+ XMLPUBFUN void
89
89
  attributeDecl (void *ctx,
90
90
  const xmlChar *elem,
91
91
  const xmlChar *fullname,
@@ -94,19 +94,19 @@ XMLPUBFUN void XMLCALL
94
94
  const xmlChar *defaultValue,
95
95
  xmlEnumerationPtr tree);
96
96
  XML_DEPRECATED
97
- XMLPUBFUN void XMLCALL
97
+ XMLPUBFUN void
98
98
  elementDecl (void *ctx,
99
99
  const xmlChar *name,
100
100
  int type,
101
101
  xmlElementContentPtr content);
102
102
  XML_DEPRECATED
103
- XMLPUBFUN void XMLCALL
103
+ XMLPUBFUN void
104
104
  notationDecl (void *ctx,
105
105
  const xmlChar *name,
106
106
  const xmlChar *publicId,
107
107
  const xmlChar *systemId);
108
108
  XML_DEPRECATED
109
- XMLPUBFUN void XMLCALL
109
+ XMLPUBFUN void
110
110
  unparsedEntityDecl (void *ctx,
111
111
  const xmlChar *name,
112
112
  const xmlChar *publicId,
@@ -114,83 +114,83 @@ XMLPUBFUN void XMLCALL
114
114
  const xmlChar *notationName);
115
115
 
116
116
  XML_DEPRECATED
117
- XMLPUBFUN void XMLCALL
117
+ XMLPUBFUN void
118
118
  startDocument (void *ctx);
119
119
  XML_DEPRECATED
120
- XMLPUBFUN void XMLCALL
120
+ XMLPUBFUN void
121
121
  endDocument (void *ctx);
122
122
  XML_DEPRECATED
123
- XMLPUBFUN void XMLCALL
123
+ XMLPUBFUN void
124
124
  attribute (void *ctx,
125
125
  const xmlChar *fullname,
126
126
  const xmlChar *value);
127
127
  XML_DEPRECATED
128
- XMLPUBFUN void XMLCALL
128
+ XMLPUBFUN void
129
129
  startElement (void *ctx,
130
130
  const xmlChar *fullname,
131
131
  const xmlChar **atts);
132
132
  XML_DEPRECATED
133
- XMLPUBFUN void XMLCALL
133
+ XMLPUBFUN void
134
134
  endElement (void *ctx,
135
135
  const xmlChar *name);
136
136
  XML_DEPRECATED
137
- XMLPUBFUN void XMLCALL
137
+ XMLPUBFUN void
138
138
  reference (void *ctx,
139
139
  const xmlChar *name);
140
140
  XML_DEPRECATED
141
- XMLPUBFUN void XMLCALL
141
+ XMLPUBFUN void
142
142
  characters (void *ctx,
143
143
  const xmlChar *ch,
144
144
  int len);
145
145
  XML_DEPRECATED
146
- XMLPUBFUN void XMLCALL
146
+ XMLPUBFUN void
147
147
  ignorableWhitespace (void *ctx,
148
148
  const xmlChar *ch,
149
149
  int len);
150
150
  XML_DEPRECATED
151
- XMLPUBFUN void XMLCALL
151
+ XMLPUBFUN void
152
152
  processingInstruction (void *ctx,
153
153
  const xmlChar *target,
154
154
  const xmlChar *data);
155
155
  XML_DEPRECATED
156
- XMLPUBFUN void XMLCALL
156
+ XMLPUBFUN void
157
157
  globalNamespace (void *ctx,
158
158
  const xmlChar *href,
159
159
  const xmlChar *prefix);
160
160
  XML_DEPRECATED
161
- XMLPUBFUN void XMLCALL
161
+ XMLPUBFUN void
162
162
  setNamespace (void *ctx,
163
163
  const xmlChar *name);
164
164
  XML_DEPRECATED
165
- XMLPUBFUN xmlNsPtr XMLCALL
165
+ XMLPUBFUN xmlNsPtr
166
166
  getNamespace (void *ctx);
167
167
  XML_DEPRECATED
168
- XMLPUBFUN int XMLCALL
168
+ XMLPUBFUN int
169
169
  checkNamespace (void *ctx,
170
170
  xmlChar *nameSpace);
171
171
  XML_DEPRECATED
172
- XMLPUBFUN void XMLCALL
172
+ XMLPUBFUN void
173
173
  namespaceDecl (void *ctx,
174
174
  const xmlChar *href,
175
175
  const xmlChar *prefix);
176
176
  XML_DEPRECATED
177
- XMLPUBFUN void XMLCALL
177
+ XMLPUBFUN void
178
178
  comment (void *ctx,
179
179
  const xmlChar *value);
180
180
  XML_DEPRECATED
181
- XMLPUBFUN void XMLCALL
181
+ XMLPUBFUN void
182
182
  cdataBlock (void *ctx,
183
183
  const xmlChar *value,
184
184
  int len);
185
185
 
186
186
  #ifdef LIBXML_SAX1_ENABLED
187
187
  XML_DEPRECATED
188
- XMLPUBFUN void XMLCALL
188
+ XMLPUBFUN void
189
189
  initxmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr,
190
190
  int warning);
191
191
  #ifdef LIBXML_HTML_ENABLED
192
192
  XML_DEPRECATED
193
- XMLPUBFUN void XMLCALL
193
+ XMLPUBFUN void
194
194
  inithtmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr);
195
195
  #endif
196
196
  #endif /* LIBXML_SAX1_ENABLED */
@@ -20,55 +20,55 @@
20
20
  #ifdef __cplusplus
21
21
  extern "C" {
22
22
  #endif
23
- XMLPUBFUN const xmlChar * XMLCALL
23
+ XMLPUBFUN const xmlChar *
24
24
  xmlSAX2GetPublicId (void *ctx);
25
- XMLPUBFUN const xmlChar * XMLCALL
25
+ XMLPUBFUN const xmlChar *
26
26
  xmlSAX2GetSystemId (void *ctx);
27
- XMLPUBFUN void XMLCALL
27
+ XMLPUBFUN void
28
28
  xmlSAX2SetDocumentLocator (void *ctx,
29
29
  xmlSAXLocatorPtr loc);
30
30
 
31
- XMLPUBFUN int XMLCALL
31
+ XMLPUBFUN int
32
32
  xmlSAX2GetLineNumber (void *ctx);
33
- XMLPUBFUN int XMLCALL
33
+ XMLPUBFUN int
34
34
  xmlSAX2GetColumnNumber (void *ctx);
35
35
 
36
- XMLPUBFUN int XMLCALL
36
+ XMLPUBFUN int
37
37
  xmlSAX2IsStandalone (void *ctx);
38
- XMLPUBFUN int XMLCALL
38
+ XMLPUBFUN int
39
39
  xmlSAX2HasInternalSubset (void *ctx);
40
- XMLPUBFUN int XMLCALL
40
+ XMLPUBFUN int
41
41
  xmlSAX2HasExternalSubset (void *ctx);
42
42
 
43
- XMLPUBFUN void XMLCALL
43
+ XMLPUBFUN void
44
44
  xmlSAX2InternalSubset (void *ctx,
45
45
  const xmlChar *name,
46
46
  const xmlChar *ExternalID,
47
47
  const xmlChar *SystemID);
48
- XMLPUBFUN void XMLCALL
48
+ XMLPUBFUN void
49
49
  xmlSAX2ExternalSubset (void *ctx,
50
50
  const xmlChar *name,
51
51
  const xmlChar *ExternalID,
52
52
  const xmlChar *SystemID);
53
- XMLPUBFUN xmlEntityPtr XMLCALL
53
+ XMLPUBFUN xmlEntityPtr
54
54
  xmlSAX2GetEntity (void *ctx,
55
55
  const xmlChar *name);
56
- XMLPUBFUN xmlEntityPtr XMLCALL
56
+ XMLPUBFUN xmlEntityPtr
57
57
  xmlSAX2GetParameterEntity (void *ctx,
58
58
  const xmlChar *name);
59
- XMLPUBFUN xmlParserInputPtr XMLCALL
59
+ XMLPUBFUN xmlParserInputPtr
60
60
  xmlSAX2ResolveEntity (void *ctx,
61
61
  const xmlChar *publicId,
62
62
  const xmlChar *systemId);
63
63
 
64
- XMLPUBFUN void XMLCALL
64
+ XMLPUBFUN void
65
65
  xmlSAX2EntityDecl (void *ctx,
66
66
  const xmlChar *name,
67
67
  int type,
68
68
  const xmlChar *publicId,
69
69
  const xmlChar *systemId,
70
70
  xmlChar *content);
71
- XMLPUBFUN void XMLCALL
71
+ XMLPUBFUN void
72
72
  xmlSAX2AttributeDecl (void *ctx,
73
73
  const xmlChar *elem,
74
74
  const xmlChar *fullname,
@@ -76,38 +76,38 @@ XMLPUBFUN void XMLCALL
76
76
  int def,
77
77
  const xmlChar *defaultValue,
78
78
  xmlEnumerationPtr tree);
79
- XMLPUBFUN void XMLCALL
79
+ XMLPUBFUN void
80
80
  xmlSAX2ElementDecl (void *ctx,
81
81
  const xmlChar *name,
82
82
  int type,
83
83
  xmlElementContentPtr content);
84
- XMLPUBFUN void XMLCALL
84
+ XMLPUBFUN void
85
85
  xmlSAX2NotationDecl (void *ctx,
86
86
  const xmlChar *name,
87
87
  const xmlChar *publicId,
88
88
  const xmlChar *systemId);
89
- XMLPUBFUN void XMLCALL
89
+ XMLPUBFUN void
90
90
  xmlSAX2UnparsedEntityDecl (void *ctx,
91
91
  const xmlChar *name,
92
92
  const xmlChar *publicId,
93
93
  const xmlChar *systemId,
94
94
  const xmlChar *notationName);
95
95
 
96
- XMLPUBFUN void XMLCALL
96
+ XMLPUBFUN void
97
97
  xmlSAX2StartDocument (void *ctx);
98
- XMLPUBFUN void XMLCALL
98
+ XMLPUBFUN void
99
99
  xmlSAX2EndDocument (void *ctx);
100
100
  #if defined(LIBXML_SAX1_ENABLED) || defined(LIBXML_HTML_ENABLED) || \
101
101
  defined(LIBXML_WRITER_ENABLED) || defined(LIBXML_LEGACY_ENABLED)
102
- XMLPUBFUN void XMLCALL
102
+ XMLPUBFUN void
103
103
  xmlSAX2StartElement (void *ctx,
104
104
  const xmlChar *fullname,
105
105
  const xmlChar **atts);
106
- XMLPUBFUN void XMLCALL
106
+ XMLPUBFUN void
107
107
  xmlSAX2EndElement (void *ctx,
108
108
  const xmlChar *name);
109
109
  #endif /* LIBXML_SAX1_ENABLED or LIBXML_HTML_ENABLED or LIBXML_LEGACY_ENABLED */
110
- XMLPUBFUN void XMLCALL
110
+ XMLPUBFUN void
111
111
  xmlSAX2StartElementNs (void *ctx,
112
112
  const xmlChar *localname,
113
113
  const xmlChar *prefix,
@@ -117,54 +117,55 @@ XMLPUBFUN void XMLCALL
117
117
  int nb_attributes,
118
118
  int nb_defaulted,
119
119
  const xmlChar **attributes);
120
- XMLPUBFUN void XMLCALL
120
+ XMLPUBFUN void
121
121
  xmlSAX2EndElementNs (void *ctx,
122
122
  const xmlChar *localname,
123
123
  const xmlChar *prefix,
124
124
  const xmlChar *URI);
125
- XMLPUBFUN void XMLCALL
125
+ XMLPUBFUN void
126
126
  xmlSAX2Reference (void *ctx,
127
127
  const xmlChar *name);
128
- XMLPUBFUN void XMLCALL
128
+ XMLPUBFUN void
129
129
  xmlSAX2Characters (void *ctx,
130
130
  const xmlChar *ch,
131
131
  int len);
132
- XMLPUBFUN void XMLCALL
132
+ XMLPUBFUN void
133
133
  xmlSAX2IgnorableWhitespace (void *ctx,
134
134
  const xmlChar *ch,
135
135
  int len);
136
- XMLPUBFUN void XMLCALL
136
+ XMLPUBFUN void
137
137
  xmlSAX2ProcessingInstruction (void *ctx,
138
138
  const xmlChar *target,
139
139
  const xmlChar *data);
140
- XMLPUBFUN void XMLCALL
140
+ XMLPUBFUN void
141
141
  xmlSAX2Comment (void *ctx,
142
142
  const xmlChar *value);
143
- XMLPUBFUN void XMLCALL
143
+ XMLPUBFUN void
144
144
  xmlSAX2CDataBlock (void *ctx,
145
145
  const xmlChar *value,
146
146
  int len);
147
147
 
148
148
  #ifdef LIBXML_SAX1_ENABLED
149
- XMLPUBFUN int XMLCALL
149
+ XML_DEPRECATED
150
+ XMLPUBFUN int
150
151
  xmlSAXDefaultVersion (int version);
151
152
  #endif /* LIBXML_SAX1_ENABLED */
152
153
 
153
- XMLPUBFUN int XMLCALL
154
+ XMLPUBFUN int
154
155
  xmlSAXVersion (xmlSAXHandler *hdlr,
155
156
  int version);
156
- XMLPUBFUN void XMLCALL
157
+ XMLPUBFUN void
157
158
  xmlSAX2InitDefaultSAXHandler (xmlSAXHandler *hdlr,
158
159
  int warning);
159
160
  #ifdef LIBXML_HTML_ENABLED
160
- XMLPUBFUN void XMLCALL
161
+ XMLPUBFUN void
161
162
  xmlSAX2InitHtmlDefaultSAXHandler(xmlSAXHandler *hdlr);
162
163
  XML_DEPRECATED
163
- XMLPUBFUN void XMLCALL
164
+ XMLPUBFUN void
164
165
  htmlDefaultSAXHandlerInit (void);
165
166
  #endif
166
167
  XML_DEPRECATED
167
- XMLPUBFUN void XMLCALL
168
+ XMLPUBFUN void
168
169
  xmlDefaultSAXHandlerInit (void);
169
170
  #ifdef __cplusplus
170
171
  }
@@ -66,7 +66,7 @@ typedef enum {
66
66
  XML_C14N_1_1 = 2 /* C14N 1.1 spec */
67
67
  } xmlC14NMode;
68
68
 
69
- XMLPUBFUN int XMLCALL
69
+ XMLPUBFUN int
70
70
  xmlC14NDocSaveTo (xmlDocPtr doc,
71
71
  xmlNodeSetPtr nodes,
72
72
  int mode, /* a xmlC14NMode */
@@ -74,7 +74,7 @@ XMLPUBFUN int XMLCALL
74
74
  int with_comments,
75
75
  xmlOutputBufferPtr buf);
76
76
 
77
- XMLPUBFUN int XMLCALL
77
+ XMLPUBFUN int
78
78
  xmlC14NDocDumpMemory (xmlDocPtr doc,
79
79
  xmlNodeSetPtr nodes,
80
80
  int mode, /* a xmlC14NMode */
@@ -82,7 +82,7 @@ XMLPUBFUN int XMLCALL
82
82
  int with_comments,
83
83
  xmlChar **doc_txt_ptr);
84
84
 
85
- XMLPUBFUN int XMLCALL
85
+ XMLPUBFUN int
86
86
  xmlC14NDocSave (xmlDocPtr doc,
87
87
  xmlNodeSetPtr nodes,
88
88
  int mode, /* a xmlC14NMode */
@@ -109,7 +109,7 @@ typedef int (*xmlC14NIsVisibleCallback) (void* user_data,
109
109
  xmlNodePtr node,
110
110
  xmlNodePtr parent);
111
111
 
112
- XMLPUBFUN int XMLCALL
112
+ XMLPUBFUN int
113
113
  xmlC14NExecute (xmlDocPtr doc,
114
114
  xmlC14NIsVisibleCallback is_visible_callback,
115
115
  void* user_data,
@@ -66,113 +66,113 @@ typedef xmlCatalog *xmlCatalogPtr;
66
66
  /*
67
67
  * Operations on a given catalog.
68
68
  */
69
- XMLPUBFUN xmlCatalogPtr XMLCALL
69
+ XMLPUBFUN xmlCatalogPtr
70
70
  xmlNewCatalog (int sgml);
71
- XMLPUBFUN xmlCatalogPtr XMLCALL
71
+ XMLPUBFUN xmlCatalogPtr
72
72
  xmlLoadACatalog (const char *filename);
73
- XMLPUBFUN xmlCatalogPtr XMLCALL
73
+ XMLPUBFUN xmlCatalogPtr
74
74
  xmlLoadSGMLSuperCatalog (const char *filename);
75
- XMLPUBFUN int XMLCALL
75
+ XMLPUBFUN int
76
76
  xmlConvertSGMLCatalog (xmlCatalogPtr catal);
77
- XMLPUBFUN int XMLCALL
77
+ XMLPUBFUN int
78
78
  xmlACatalogAdd (xmlCatalogPtr catal,
79
79
  const xmlChar *type,
80
80
  const xmlChar *orig,
81
81
  const xmlChar *replace);
82
- XMLPUBFUN int XMLCALL
82
+ XMLPUBFUN int
83
83
  xmlACatalogRemove (xmlCatalogPtr catal,
84
84
  const xmlChar *value);
85
- XMLPUBFUN xmlChar * XMLCALL
85
+ XMLPUBFUN xmlChar *
86
86
  xmlACatalogResolve (xmlCatalogPtr catal,
87
87
  const xmlChar *pubID,
88
88
  const xmlChar *sysID);
89
- XMLPUBFUN xmlChar * XMLCALL
89
+ XMLPUBFUN xmlChar *
90
90
  xmlACatalogResolveSystem(xmlCatalogPtr catal,
91
91
  const xmlChar *sysID);
92
- XMLPUBFUN xmlChar * XMLCALL
92
+ XMLPUBFUN xmlChar *
93
93
  xmlACatalogResolvePublic(xmlCatalogPtr catal,
94
94
  const xmlChar *pubID);
95
- XMLPUBFUN xmlChar * XMLCALL
95
+ XMLPUBFUN xmlChar *
96
96
  xmlACatalogResolveURI (xmlCatalogPtr catal,
97
97
  const xmlChar *URI);
98
98
  #ifdef LIBXML_OUTPUT_ENABLED
99
- XMLPUBFUN void XMLCALL
99
+ XMLPUBFUN void
100
100
  xmlACatalogDump (xmlCatalogPtr catal,
101
101
  FILE *out);
102
102
  #endif /* LIBXML_OUTPUT_ENABLED */
103
- XMLPUBFUN void XMLCALL
103
+ XMLPUBFUN void
104
104
  xmlFreeCatalog (xmlCatalogPtr catal);
105
- XMLPUBFUN int XMLCALL
105
+ XMLPUBFUN int
106
106
  xmlCatalogIsEmpty (xmlCatalogPtr catal);
107
107
 
108
108
  /*
109
109
  * Global operations.
110
110
  */
111
- XMLPUBFUN void XMLCALL
111
+ XMLPUBFUN void
112
112
  xmlInitializeCatalog (void);
113
- XMLPUBFUN int XMLCALL
113
+ XMLPUBFUN int
114
114
  xmlLoadCatalog (const char *filename);
115
- XMLPUBFUN void XMLCALL
115
+ XMLPUBFUN void
116
116
  xmlLoadCatalogs (const char *paths);
117
- XMLPUBFUN void XMLCALL
117
+ XMLPUBFUN void
118
118
  xmlCatalogCleanup (void);
119
119
  #ifdef LIBXML_OUTPUT_ENABLED
120
- XMLPUBFUN void XMLCALL
120
+ XMLPUBFUN void
121
121
  xmlCatalogDump (FILE *out);
122
122
  #endif /* LIBXML_OUTPUT_ENABLED */
123
- XMLPUBFUN xmlChar * XMLCALL
123
+ XMLPUBFUN xmlChar *
124
124
  xmlCatalogResolve (const xmlChar *pubID,
125
125
  const xmlChar *sysID);
126
- XMLPUBFUN xmlChar * XMLCALL
126
+ XMLPUBFUN xmlChar *
127
127
  xmlCatalogResolveSystem (const xmlChar *sysID);
128
- XMLPUBFUN xmlChar * XMLCALL
128
+ XMLPUBFUN xmlChar *
129
129
  xmlCatalogResolvePublic (const xmlChar *pubID);
130
- XMLPUBFUN xmlChar * XMLCALL
130
+ XMLPUBFUN xmlChar *
131
131
  xmlCatalogResolveURI (const xmlChar *URI);
132
- XMLPUBFUN int XMLCALL
132
+ XMLPUBFUN int
133
133
  xmlCatalogAdd (const xmlChar *type,
134
134
  const xmlChar *orig,
135
135
  const xmlChar *replace);
136
- XMLPUBFUN int XMLCALL
136
+ XMLPUBFUN int
137
137
  xmlCatalogRemove (const xmlChar *value);
138
- XMLPUBFUN xmlDocPtr XMLCALL
138
+ XMLPUBFUN xmlDocPtr
139
139
  xmlParseCatalogFile (const char *filename);
140
- XMLPUBFUN int XMLCALL
140
+ XMLPUBFUN int
141
141
  xmlCatalogConvert (void);
142
142
 
143
143
  /*
144
144
  * Strictly minimal interfaces for per-document catalogs used
145
145
  * by the parser.
146
146
  */
147
- XMLPUBFUN void XMLCALL
147
+ XMLPUBFUN void
148
148
  xmlCatalogFreeLocal (void *catalogs);
149
- XMLPUBFUN void * XMLCALL
149
+ XMLPUBFUN void *
150
150
  xmlCatalogAddLocal (void *catalogs,
151
151
  const xmlChar *URL);
152
- XMLPUBFUN xmlChar * XMLCALL
152
+ XMLPUBFUN xmlChar *
153
153
  xmlCatalogLocalResolve (void *catalogs,
154
154
  const xmlChar *pubID,
155
155
  const xmlChar *sysID);
156
- XMLPUBFUN xmlChar * XMLCALL
156
+ XMLPUBFUN xmlChar *
157
157
  xmlCatalogLocalResolveURI(void *catalogs,
158
158
  const xmlChar *URI);
159
159
  /*
160
160
  * Preference settings.
161
161
  */
162
- XMLPUBFUN int XMLCALL
162
+ XMLPUBFUN int
163
163
  xmlCatalogSetDebug (int level);
164
- XMLPUBFUN xmlCatalogPrefer XMLCALL
164
+ XMLPUBFUN xmlCatalogPrefer
165
165
  xmlCatalogSetDefaultPrefer(xmlCatalogPrefer prefer);
166
- XMLPUBFUN void XMLCALL
166
+ XMLPUBFUN void
167
167
  xmlCatalogSetDefaults (xmlCatalogAllow allow);
168
- XMLPUBFUN xmlCatalogAllow XMLCALL
168
+ XMLPUBFUN xmlCatalogAllow
169
169
  xmlCatalogGetDefaults (void);
170
170
 
171
171
 
172
172
  /* DEPRECATED interfaces */
173
- XMLPUBFUN const xmlChar * XMLCALL
173
+ XMLPUBFUN const xmlChar *
174
174
  xmlCatalogGetSystem (const xmlChar *sysID);
175
- XMLPUBFUN const xmlChar * XMLCALL
175
+ XMLPUBFUN const xmlChar *
176
176
  xmlCatalogGetPublic (const xmlChar *pubID);
177
177
 
178
178
  #ifdef __cplusplus