reference/libxml/constants.xml
5e9500ddad6dbc2f1b01d7da8b53379c8b7c386c
...
...
@@ -4,10 +4,26 @@
4
4
&reftitle.constants;
5
5
&extension.constants;
6
6
<variablelist>
7
+
<varlistentry xml:id="constant.libxml-biglines">
8
+
<term>
9
+
<constant>LIBXML_BIGLINES</constant>
10
+
(<type>int</type>)
11
+
</term>
12
+
<listitem>
13
+
<simpara>
14
+
Allows line numbers greater than 65535 to be reported correctly.
15
+
</simpara>
16
+
<note>
17
+
<para>
18
+
Only available as of PHP 7.0.0 with Libxml &gt;= 2.9.0
19
+
</para>
20
+
</note>
21
+
</listitem>
22
+
</varlistentry>
7
23
<varlistentry xml:id="constant.libxml-compact">
8
24
<term>
9
25
<constant>LIBXML_COMPACT</constant>
10
-
(<type>integer</type>)
26
+
(<type>int</type>)
11
27
</term>
12
28
<listitem>
13
29
<simpara>
...
...
@@ -24,7 +40,7 @@
24
40
<varlistentry xml:id="constant.libxml-dtdattr">
25
41
<term>
26
42
<constant>LIBXML_DTDATTR</constant>
27
-
(<type>integer</type>)
43
+
(<type>int</type>)
28
44
</term>
29
45
<listitem>
30
46
<simpara>
...
...
@@ -35,7 +51,7 @@
35
51
<varlistentry xml:id="constant.libxml-dtdload">
36
52
<term>
37
53
<constant>LIBXML_DTDLOAD</constant>
38
-
(<type>integer</type>)
54
+
(<type>int</type>)
39
55
</term>
40
56
<listitem>
41
57
<simpara>
...
...
@@ -46,18 +62,23 @@
46
62
<varlistentry xml:id="constant.libxml-dtdvalid">
47
63
<term>
48
64
<constant>LIBXML_DTDVALID</constant>
49
-
(<type>integer</type>)
65
+
(<type>int</type>)
50
66
</term>
51
67
<listitem>
52
68
<simpara>
53
69
Validate with the DTD
54
70
</simpara>
71
+
<caution>
72
+
<simpara>
73
+
Enabling validating the DTD may facilitate XML External Entity (XXE) attacks.
74
+
</simpara>
75
+
</caution>
55
76
</listitem>
56
77
</varlistentry>
57
78
<varlistentry xml:id="constant.libxml-html-noimplied">
58
79
<term>
59
80
<constant>LIBXML_HTML_NOIMPLIED</constant>
60
-
(<type>integer</type>)
81
+
(<type>int</type>)
61
82
</term>
62
83
<listitem>
63
84
<simpara>
...
...
@@ -74,7 +95,7 @@
74
95
<varlistentry xml:id="constant.libxml-html-nodefdtd">
75
96
<term>
76
97
<constant>LIBXML_HTML_NODEFDTD</constant>
77
-
(<type>integer</type>)
98
+
(<type>int</type>)
78
99
</term>
79
100
<listitem>
80
101
<simpara>
...
...
@@ -91,7 +112,7 @@
91
112
<varlistentry xml:id="constant.libxml-noblanks">
92
113
<term>
93
114
<constant>LIBXML_NOBLANKS</constant>
94
-
(<type>integer</type>)
115
+
(<type>int</type>)
95
116
</term>
96
117
<listitem>
97
118
<simpara>
...
...
@@ -102,7 +123,7 @@
102
123
<varlistentry xml:id="constant.libxml-nocdata">
103
124
<term>
104
125
<constant>LIBXML_NOCDATA</constant>
105
-
(<type>integer</type>)
126
+
(<type>int</type>)
106
127
</term>
107
128
<listitem>
108
129
<simpara>
...
...
@@ -113,7 +134,7 @@
113
134
<varlistentry xml:id="constant.libxml-noemptytag">
114
135
<term>
115
136
<constant>LIBXML_NOEMPTYTAG</constant>
116
-
(<type>integer</type>)
137
+
(<type>int</type>)
117
138
</term>
118
139
<listitem>
119
140
<simpara>
...
...
@@ -123,8 +144,8 @@
123
144
<note>
124
145
<para>
125
146
This option is currently just available in the
126
-
<xref linkend="domdocument.save" /> and
127
-
<xref linkend="domdocument.savexml" /> functions.
147
+
<xref linkend="domdocument.save"/> and
148
+
<xref linkend="domdocument.savexml"/> functions.
128
149
</para>
129
150
</note>
130
151
</listitem>
...
...
@@ -132,18 +153,23 @@
132
153
<varlistentry xml:id="constant.libxml-noent">
133
154
<term>
134
155
<constant>LIBXML_NOENT</constant>
135
-
(<type>integer</type>)
156
+
(<type>int</type>)
136
157
</term>
137
158
<listitem>
138
159
<simpara>
139
160
Substitute entities
140
161
</simpara>
162
+
<caution>
163
+
<simpara>
164
+
Enabling entity substitution may facilitate XML External Entity (XXE) attacks.
165
+
</simpara>
166
+
</caution>
141
167
</listitem>
142
168
</varlistentry>
143
169
<varlistentry xml:id="constant.libxml-noerror">
144
170
<term>
145
171
<constant>LIBXML_NOERROR</constant>
146
-
(<type>integer</type>)
172
+
(<type>int</type>)
147
173
</term>
148
174
<listitem>
149
175
<simpara>
...
...
@@ -154,7 +180,7 @@
154
180
<varlistentry xml:id="constant.libxml-nonet">
155
181
<term>
156
182
<constant>LIBXML_NONET</constant>
157
-
(<type>integer</type>)
183
+
(<type>int</type>)
158
184
</term>
159
185
<listitem>
160
186
<simpara>
...
...
@@ -165,7 +191,7 @@
165
191
<varlistentry xml:id="constant.libxml-nowarning">
166
192
<term>
167
193
<constant>LIBXML_NOWARNING</constant>
168
-
(<type>integer</type>)
194
+
(<type>int</type>)
169
195
</term>
170
196
<listitem>
171
197
<simpara>
...
...
@@ -176,7 +202,7 @@
176
202
<varlistentry xml:id="constant.libxml-noxmldecl">
177
203
<term>
178
204
<constant>LIBXML_NOXMLDECL</constant>
179
-
(<type>integer</type>)
205
+
(<type>int</type>)
180
206
</term>
181
207
<listitem>
182
208
<simpara>
...
...
@@ -192,18 +218,18 @@
192
218
<varlistentry xml:id="constant.libxml-nsclean">
193
219
<term>
194
220
<constant>LIBXML_NSCLEAN</constant>
195
-
(<type>integer</type>)
221
+
(<type>int</type>)
196
222
</term>
197
223
<listitem>
198
224
<simpara>
199
-
Remove redundant namespaces declarations
225
+
Remove redundant namespace declarations
200
226
</simpara>
201
227
</listitem>
202
228
</varlistentry>
203
229
<varlistentry xml:id="constant.libxml-parsehuge">
204
230
<term>
205
231
<constant>LIBXML_PARSEHUGE</constant>
206
-
(<type>integer</type>)
232
+
(<type>int</type>)
207
233
</term>
208
234
<listitem>
209
235
<simpara>
...
...
@@ -221,11 +247,11 @@
221
247
<varlistentry xml:id="constant.libxml-pedantic">
222
248
<term>
223
249
<constant>LIBXML_PEDANTIC</constant>
224
-
(<type>integer</type>)
250
+
(<type>int</type>)
225
251
</term>
226
252
<listitem>
227
253
<simpara>
228
-
Sets XML_PARSE_PEDANTIC flag, which enables pedentic error reporting.
254
+
Sets XML_PARSE_PEDANTIC flag, which enables pedantic error reporting.
229
255
</simpara>
230
256
<note>
231
257
<para>
...
...
@@ -237,7 +263,7 @@
237
263
<varlistentry xml:id="constant.libxml-xinclude">
238
264
<term>
239
265
<constant>LIBXML_XINCLUDE</constant>
240
-
(<type>integer</type>)
266
+
(<type>int</type>)
241
267
</term>
242
268
<listitem>
243
269
<simpara>
...
...
@@ -248,7 +274,7 @@
248
274
<varlistentry xml:id="constant.libxml-err-error">
249
275
<term>
250
276
<constant>LIBXML_ERR_ERROR</constant>
251
-
(<type>integer</type>)
277
+
(<type>int</type>)
252
278
</term>
253
279
<listitem>
254
280
<simpara>
...
...
@@ -259,7 +285,7 @@
259
285
<varlistentry xml:id="constant.libxml-err-fatal">
260
286
<term>
261
287
<constant>LIBXML_ERR_FATAL</constant>
262
-
(<type>integer</type>)
288
+
(<type>int</type>)
263
289
</term>
264
290
<listitem>
265
291
<simpara>
...
...
@@ -270,7 +296,7 @@
270
296
<varlistentry xml:id="constant.libxml-err-none">
271
297
<term>
272
298
<constant>LIBXML_ERR_NONE</constant>
273
-
(<type>integer</type>)
299
+
(<type>int</type>)
274
300
</term>
275
301
<listitem>
276
302
<simpara>
...
...
@@ -281,7 +307,7 @@
281
307
<varlistentry xml:id="constant.libxml-err-warning">
282
308
<term>
283
309
<constant>LIBXML_ERR_WARNING</constant>
284
-
(<type>integer</type>)
310
+
(<type>int</type>)
285
311
</term>
286
312
<listitem>
287
313
<simpara>
...
...
@@ -292,7 +318,7 @@
292
318
<varlistentry xml:id="constant.libxml-version">
293
319
<term>
294
320
<constant>LIBXML_VERSION</constant>
295
-
(<type>integer</type>)
321
+
(<type>int</type>)
296
322
</term>
297
323
<listitem>
298
324
<simpara>
...
...
@@ -303,7 +329,7 @@
303
329
<varlistentry xml:id="constant.libxml-dotted-version">
304
330
<term>
305
331
<constant>LIBXML_DOTTED_VERSION</constant>
306
-
(<type>string</type>)
332
+
(<type>string</type>)
307
333
</term>
308
334
<listitem>
309
335
<simpara>
...
...
@@ -314,7 +340,7 @@
314
340
<varlistentry xml:id="constant.libxml-schema-create">
315
341
<term>
316
342
<constant>LIBXML_SCHEMA_CREATE</constant>
317
-
(<type>integer</type>)
343
+
(<type>int</type>)
318
344
</term>
319
345
<listitem>
320
346
<simpara>
...
...
@@ -329,7 +355,6 @@
329
355
</varlistentry>
330
356
</variablelist>
331
357
</appendix>
332
-

333
358
<!-- Keep this comment at the end of the file
334
359
Local variables:
335
360
mode: sgml
336
361