-
Notifications
You must be signed in to change notification settings - Fork 166
Expand file tree
/
Copy pathconstants.xml
More file actions
485 lines (485 loc) · 15 KB
/
constants.xml
File metadata and controls
485 lines (485 loc) · 15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: a8b6f4dd3a23875b066d4e47ea4a4977a63e0655 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<chapter xml:id="dom.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
<table>
<title>Constantes XML</title>
<tgroup cols="3">
<thead>
<row>
<entry>&Constants;</entry>
<entry>Valeur</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.xml-element-node">
<entry>
<constant>XML_ELEMENT_NODE</constant>
(<type>int</type>)
</entry>
<entry>1</entry>
<entry>Le nœud est un <classname>DOMElement</classname> / <classname>Dom\Element</classname></entry>
</row>
<row xml:id="constant.xml-attribute-node">
<entry>
<constant>XML_ATTRIBUTE_NODE</constant>
(<type>int</type>)
</entry>
<entry>2</entry>
<entry>Le nœud est un <classname>DOMAttr</classname> / <classname>Dom\Attr</classname></entry>
</row>
<row xml:id="constant.xml-text-node">
<entry>
<constant>XML_TEXT_NODE</constant>
(<type>int</type>)
</entry>
<entry>3</entry>
<entry>Le nœud est un <classname>DOMText</classname> / <classname>Dom\Text</classname></entry>
</row>
<row xml:id="constant.xml-cdata-section-node">
<entry>
<constant>XML_CDATA_SECTION_NODE</constant>
(<type>int</type>)
</entry>
<entry>4</entry>
<entry>Le nœud est un <classname>DOMCharacterData</classname> / <classname>Dom\CharacterData</classname></entry>
</row>
<row xml:id="constant.xml-entity-ref-node">
<entry>
<constant>XML_ENTITY_REF_NODE</constant>
(<type>int</type>)
</entry>
<entry>5</entry>
<entry>Le nœud est un <classname>DOMEntityReference</classname> / <classname>Dom\EntityReference</classname></entry>
</row>
<row xml:id="constant.xml-entity-node">
<entry>
<constant>XML_ENTITY_NODE</constant>
(<type>int</type>)
</entry>
<entry>6</entry>
<entry>Le nœud est un <classname>DOMEntity</classname> / <classname>Dom\Entity</classname></entry>
</row>
<row xml:id="constant.xml-pi-node">
<entry>
<constant>XML_PI_NODE</constant>
(<type>int</type>)
</entry>
<entry>7</entry>
<entry>Le nœud est un <classname>DOMProcessingInstruction</classname> / <classname>Dom\ProcessingInstruction</classname></entry>
</row>
<row xml:id="constant.xml-comment-node">
<entry>
<constant>XML_COMMENT_NODE</constant>
(<type>int</type>)
</entry>
<entry>8</entry>
<entry>Le nœud est un <classname>DOMComment</classname> / <classname>Dom\Comment</classname></entry>
</row>
<row xml:id="constant.xml-document-node">
<entry>
<constant>XML_DOCUMENT_NODE</constant>
(<type>int</type>)
</entry>
<entry>9</entry>
<entry>Le nœud est un <classname>DOMDocument</classname> / <classname>Dom\Document</classname></entry>
</row>
<row xml:id="constant.xml-document-type-node">
<entry>
<constant>XML_DOCUMENT_TYPE_NODE</constant>
(<type>int</type>)
</entry>
<entry>10</entry>
<entry>Le nœud est un <classname>DOMDocumentType</classname> / <classname>Dom\DocumentType</classname></entry>
</row>
<row xml:id="constant.xml-document-frag-node">
<entry>
<constant>XML_DOCUMENT_FRAG_NODE</constant>
(<type>int</type>)
</entry>
<entry>11</entry>
<entry>Le nœud est un <classname>DOMDocumentFragment</classname> / <classname>Dom\DocumentFragment</classname></entry>
</row>
<row xml:id="constant.xml-notation-node">
<entry>
<constant>XML_NOTATION_NODE</constant>
(<type>int</type>)
</entry>
<entry>12</entry>
<entry>Le nœud est un <classname>DOMNotation</classname> / <classname>Dom\Notation</classname></entry>
</row>
<row xml:id="constant.xml-html-document-node">
<entry>
<constant>XML_HTML_DOCUMENT_NODE</constant>
(<type>int</type>)
</entry>
<entry>13</entry>
<entry/>
</row>
<row xml:id="constant.xml-dtd-node">
<entry>
<constant>XML_DTD_NODE</constant>
(<type>int</type>)
</entry>
<entry>14</entry>
<entry/>
</row>
<row xml:id="constant.xml-element-decl-node">
<entry>
<constant>XML_ELEMENT_DECL_NODE</constant>
(<type>int</type>)
</entry>
<entry>15</entry>
<entry/>
</row>
<row xml:id="constant.xml-attribute-decl-node">
<entry>
<constant>XML_ATTRIBUTE_DECL_NODE</constant>
(<type>int</type>)
</entry>
<entry>16</entry>
<entry/>
</row>
<row xml:id="constant.xml-entity-decl-node">
<entry>
<constant>XML_ENTITY_DECL_NODE</constant>
(<type>int</type>)
</entry>
<entry>17</entry>
<entry/>
</row>
<row xml:id="constant.xml-namespace-decl-node">
<entry>
<constant>XML_NAMESPACE_DECL_NODE</constant>
(<type>int</type>)
</entry>
<entry>18</entry>
<entry/>
</row>
<row xml:id="constant.xml-attribute-cdata">
<entry>
<constant>XML_ATTRIBUTE_CDATA</constant>
(<type>int</type>)
</entry>
<entry>1</entry>
<entry/>
</row>
<row xml:id="constant.xml-attribute-id">
<entry>
<constant>XML_ATTRIBUTE_ID</constant>
(<type>int</type>)
</entry>
<entry>2</entry>
<entry/>
</row>
<row xml:id="constant.xml-attribute-idref">
<entry>
<constant>XML_ATTRIBUTE_IDREF</constant>
(<type>int</type>)
</entry>
<entry>3</entry>
<entry/>
</row>
<row xml:id="constant.xml-attribute-idrefs">
<entry>
<constant>XML_ATTRIBUTE_IDREFS</constant>
(<type>int</type>)
</entry>
<entry>4</entry>
<entry/>
</row>
<row xml:id="constant.xml-attribute-entity">
<entry>
<constant>XML_ATTRIBUTE_ENTITY</constant>
(<type>int</type>)
</entry>
<entry>5</entry>
<entry/>
</row>
<row xml:id="constant.xml-attribute-nmtoken">
<entry>
<constant>XML_ATTRIBUTE_NMTOKEN</constant>
(<type>int</type>)
</entry>
<entry>7</entry>
<entry/>
</row>
<row xml:id="constant.xml-attribute-nmtokens">
<entry>
<constant>XML_ATTRIBUTE_NMTOKENS</constant>
(<type>int</type>)
</entry>
<entry>8</entry>
<entry/>
</row>
<row xml:id="constant.xml-attribute-enumeration">
<entry>
<constant>XML_ATTRIBUTE_ENUMERATION</constant>
(<type>int</type>)
</entry>
<entry>9</entry>
<entry/>
</row>
<row xml:id="constant.xml-attribute-notation">
<entry>
<constant>XML_ATTRIBUTE_NOTATION</constant>
(<type>int</type>)
</entry>
<entry>10</entry>
<entry/>
</row>
<row xml:id="constant.xml-local-namespace">
<entry>
<constant>XML_LOCAL_NAMESPACE</constant>
(<type>int</type>)
</entry>
<entry></entry>
<entry>Un nœud de déclaration d'espace de noms.</entry>
</row>
</tbody>
</tgroup>
</table>
<table>
<title>Constantes HTML</title>
<tgroup cols="3">
<thead>
<row>
<entry>&Constants;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.dom-html-no-default-ns">
<entry>
<constant>Dom\HTML_NO_DEFAULT_NS</constant>
(<type>int</type>)
</entry>
<entry>
<simpara>
Cela désactive la définition de l'espace de noms des éléments lors de l'analyse
lors de l'utilisation de <classname>Dom\HTMLDocument</classname>.
Ceci existe pour la compatibilité ascendante avec
<classname>DOMDocument</classname>.
</simpara>
<caution>
<simpara>
Certaines méthodes DOM dépendent de la définition de l'espace de noms
<acronym>HTML</acronym>.
En utilisant cette option de parseur, le comportement de ces méthodes peut être
influencé.
</simpara>
</caution>
</entry>
</row>
</tbody>
</tgroup>
</table>
<table>
<title>Constantes <classname>DOMException</classname> / <classname>Dom\Exception</classname></title>
<tgroup cols="3">
<thead>
<row>
<entry>&Constants;</entry>
<entry>Valeur</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.dom-php-err">
<entry>
<constant>DOM_PHP_ERR</constant>
(<type>int</type>)
</entry>
<entry>0</entry>
<entry>
Code d'erreur ne faisant pas partie de la spécification DOM. Destiné aux erreurs PHP.
Obsolète à partir de PHP 8.4.0 car il n'est plus utilisé.
Avant PHP 8.4.0, il était utilisé de manière incohérente pour indiquer
des situations de manque de mémoire.
</entry>
</row>
<row xml:id="constant.dom-index-size-err">
<entry>
<constant>DOM_INDEX_SIZE_ERR</constant> / <constant>Dom\INDEX_SIZE_ERR</constant>
(<type>int</type>)
</entry>
<entry>1</entry>
<entry>
Si l'index ou la taille est négatif, ou supérieur à la valeur autorisée.
</entry>
</row>
<row xml:id="constant.domstring-size-err">
<entry>
<constant>DOMSTRING_SIZE_ERR</constant> / <constant>Dom\STRING_SIZE_ERR</constant>
(<type>int</type>)
</entry>
<entry>2</entry>
<entry>
Si la plage de texte spécifiée ne tient pas dans une
<type>string</type>.
</entry>
</row>
<row xml:id="constant.dom-hierarchy-request-err">
<entry>
<constant>DOM_HIERARCHY_REQUEST_ERR</constant> / <constant>Dom\HIERARCHY_REQUEST_ERR</constant>
(<type>int</type>)
</entry>
<entry>3</entry>
<entry>Si un nœud est inséré à un endroit où il n'a pas sa place</entry>
</row>
<row xml:id="constant.dom-wrong-document-err">
<entry>
<constant>DOM_WRONG_DOCUMENT_ERR</constant> / <constant>Dom\WRONG_DOCUMENT_ERR</constant>
(<type>int</type>)
</entry>
<entry>4</entry>
<entry>
Si un nœud est utilisé dans un document différent de celui qui l'a créé.
</entry>
</row>
<row xml:id="constant.dom-invalid-character-err">
<entry>
<constant>DOM_INVALID_CHARACTER_ERR</constant> / <constant>Dom\INVALID_CHARACTER_ERR</constant>
(<type>int</type>)
</entry>
<entry>5</entry>
<entry>
Si un caractère invalide ou illégal est spécifié, comme dans un nom.
</entry>
</row>
<row xml:id="constant.dom-no-data-allowed-err">
<entry>
<constant>DOM_NO_DATA_ALLOWED_ERR</constant> / <constant>Dom\NO_DATA_ALLOWED_ERR</constant>
(<type>int</type>)
</entry>
<entry>6</entry>
<entry>
Si des données sont spécifiées pour un nœud qui ne supporte pas les données.
</entry>
</row>
<row xml:id="constant.dom-no-modification-allowed-err">
<entry>
<constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant> / <constant>Dom\NO_MODIFICATION_ALLOWED_ERR</constant>
(<type>int</type>)
</entry>
<entry>7</entry>
<entry>
Si une tentative de modification d'un objet est faite alors que les modifications ne sont pas autorisées.
</entry>
</row>
<row xml:id="constant.dom-not-found-err">
<entry>
<constant>DOM_NOT_FOUND_ERR</constant> / <constant>Dom\NOT_FOUND_ERR</constant>
(<type>int</type>)
</entry>
<entry>8</entry>
<entry>
Si une tentative de référence à un nœud est faite dans un contexte où il n'existe pas.
</entry>
</row>
<row xml:id="constant.dom-not-supported-err">
<entry>
<constant>DOM_NOT_SUPPORTED_ERR</constant> / <constant>Dom\NOT_SUPPORTED_ERR</constant>
(<type>int</type>)
</entry>
<entry>9</entry>
<entry>
Si l'implémentation ne supporte pas le type d'objet ou l'opération demandée.
</entry>
</row>
<row xml:id="constant.dom-inuse-attribute-err">
<entry>
<constant>DOM_INUSE_ATTRIBUTE_ERR</constant> / <constant>Dom\INUSE_ATTRIBUTE_ERR</constant>
(<type>int</type>)
</entry>
<entry>10</entry>
<entry>
Si une tentative d'ajout d'un attribut déjà utilisé ailleurs est faite.
</entry>
</row>
<row xml:id="constant.dom-invalid-state-err">
<entry>
<constant>DOM_INVALID_STATE_ERR</constant> / <constant>Dom\INVALID_STATE_ERR</constant>
(<type>int</type>)
</entry>
<entry>11</entry>
<entry>
Si une tentative d'utilisation d'un objet qui n'est pas, ou n'est plus, utilisable est faite.
</entry>
</row>
<row xml:id="constant.dom-syntax-err">
<entry>
<constant>DOM_SYNTAX_ERR</constant> / <constant>Dom\SYNTAX_ERR</constant>
(<type>int</type>)
</entry>
<entry>12</entry>
<entry>Si une chaîne de caractères invalide ou illégale est spécifiée.</entry>
</row>
<row xml:id="constant.dom-invalid-modification-err">
<entry>
<constant>DOM_INVALID_MODIFICATION_ERR</constant> / <constant>Dom\INVALID_MODIFICATION_ERR</constant>
(<type>int</type>)
</entry>
<entry>13</entry>
<entry>Si une tentative de modification du type de l'objet sous-jacent est faite.</entry>
</row>
<row xml:id="constant.dom-namespace-err">
<entry>
<constant>DOM_NAMESPACE_ERR</constant> / <constant>Dom\NAMESPACE_ERR</constant>
(<type>int</type>)
</entry>
<entry>14</entry>
<entry>
Si une tentative de création ou de modification d'un objet est faite d'une manière incorrecte
par rapport aux espaces de noms.
</entry>
</row>
<row xml:id="constant.dom-invalid-access-err">
<entry>
<constant>DOM_INVALID_ACCESS_ERR</constant> / <constant>Dom\INVALID_ACCESS_ERR</constant>
(<type>int</type>)
</entry>
<entry>15</entry>
<entry>
Si un paramètre ou une opération n'est pas supporté par l'objet sous-jacent.
</entry>
</row>
<row xml:id="constant.dom-validation-err">
<entry>
<constant>DOM_VALIDATION_ERR</constant> / <constant>Dom\VALIDATION_ERR</constant>
(<type>int</type>)
</entry>
<entry>16</entry>
<entry>
Si un appel à une méthode telle que insertBefore ou removeChild rendrait le nœud
invalide par rapport à la "validité partielle", cette exception serait levée et
l'opération ne serait pas effectuée.
</entry>
</row>
</tbody>
</tgroup>
</table>
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->