Skip to content

Commit eb54381

Browse files
committed
[reference/dom/*.xml] sync with en / 8.4 の新クラスにリンク追加
1 parent 2049f7d commit eb54381

21 files changed

+242
-105
lines changed

reference/dom/book.xml

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 9b18516d6feb02d12056f8c7e88d0e83082e2e79 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: c1f37a6c270aadbbb3da56a3973ffd62197adf2b Maintainer: takagi Status: ready -->
44
<!-- Credits: mumumu -->
55

6-
<book xml:id="book.dom" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
6+
<book xml:id="book.dom" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" annotations="interactive">
77
<?phpdoc extension-membership="bundledexternal" ?>
88
<title>Document Object Model</title>
99
<titleabbrev>DOM</titleabbrev>
@@ -44,6 +44,35 @@
4444
&reference.dom.domtext;
4545
&reference.dom.domxpath;
4646

47+
&reference.dom.dom.dom-adjacentposition;
48+
&reference.dom.dom.dom-attr;
49+
&reference.dom.dom.dom-cdatasection;
50+
&reference.dom.dom.dom-characterdata;
51+
&reference.dom.dom.dom-childnode;
52+
&reference.dom.dom.dom-comment;
53+
&reference.dom.dom.dom-document;
54+
&reference.dom.dom.dom-documentfragment;
55+
&reference.dom.dom.dom-documenttype;
56+
&reference.dom.dom.dom-dtdnamednodemap;
57+
&reference.dom.dom.dom-element;
58+
&reference.dom.dom.dom-entity;
59+
&reference.dom.dom.dom-entityreference;
60+
&reference.dom.dom.dom-htmlcollection;
61+
&reference.dom.dom.dom-htmldocument;
62+
&reference.dom.dom.dom-htmlelement;
63+
&reference.dom.dom.dom-implementation;
64+
&reference.dom.dom.dom-namednodemap;
65+
&reference.dom.dom.dom-namespaceinfo;
66+
&reference.dom.dom.dom-node;
67+
&reference.dom.dom.dom-nodelist;
68+
&reference.dom.dom.dom-notation;
69+
&reference.dom.dom.dom-parentnode;
70+
&reference.dom.dom.dom-processinginstruction;
71+
&reference.dom.dom.dom-text;
72+
&reference.dom.dom.dom-tokenlist;
73+
&reference.dom.dom.dom-xmldocument;
74+
&reference.dom.dom.dom-xpath;
75+
4776
<!-- FIXME:
4877
<section xml:id="dom.class.domnamelist">
4978
<title><classname>DOMNameList</classname></title>

reference/dom/constants.xml

Lines changed: 70 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 38d0723a6e865c163527b252afbca7fc91ac473d Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: a8b6f4dd3a23875b066d4e47ea4a4977a63e0655 Maintainer: takagi Status: ready -->
44
<chapter xml:id="dom.constants" xmlns="http://docbook.org/ns/docbook">
55
&reftitle.constants;
66
&extension.constants;
@@ -9,9 +9,9 @@
99
<tgroup cols="3">
1010
<thead>
1111
<row>
12-
<entry>定数</entry>
12+
<entry>&Constants;</entry>
1313
<entry>値</entry>
14-
<entry>説明</entry>
14+
<entry>&Description;</entry>
1515
</row>
1616
</thead>
1717
<tbody>
@@ -21,95 +21,95 @@
2121
(<type>int</type>)
2222
</entry>
2323
<entry>1</entry>
24-
<entry>ノードは <classname>DOMElement</classname> です。</entry>
24+
<entry>ノードは <classname>DOMElement</classname> / <classname>Dom\Element</classname> です。</entry>
2525
</row>
2626
<row xml:id="constant.xml-attribute-node">
2727
<entry>
2828
<constant>XML_ATTRIBUTE_NODE</constant>
2929
(<type>int</type>)
3030
</entry>
3131
<entry>2</entry>
32-
<entry>ノードは <classname>DOMAttr</classname> です。</entry>
32+
<entry>ノードは <classname>DOMAttr</classname> / <classname>Dom\Attr</classname> です。</entry>
3333
</row>
3434
<row xml:id="constant.xml-text-node">
3535
<entry>
3636
<constant>XML_TEXT_NODE</constant>
3737
(<type>int</type>)
3838
</entry>
3939
<entry>3</entry>
40-
<entry>ノードは <classname>DOMText</classname> です。</entry>
40+
<entry>ノードは <classname>DOMText</classname> / <classname>Dom\Text</classname> です。</entry>
4141
</row>
4242
<row xml:id="constant.xml-cdata-section-node">
4343
<entry>
4444
<constant>XML_CDATA_SECTION_NODE</constant>
4545
(<type>int</type>)
4646
</entry>
4747
<entry>4</entry>
48-
<entry>ノードは <classname>DOMCharacterData</classname> です。</entry>
48+
<entry>ノードは <classname>DOMCharacterData</classname> / <classname>Dom\CharacterData</classname> です。</entry>
4949
</row>
5050
<row xml:id="constant.xml-entity-ref-node">
5151
<entry>
5252
<constant>XML_ENTITY_REF_NODE</constant>
5353
(<type>int</type>)
5454
</entry>
5555
<entry>5</entry>
56-
<entry>ノードは <classname>DOMEntityReference</classname> です。</entry>
56+
<entry>ノードは <classname>DOMEntityReference</classname> / <classname>Dom\EntityReference</classname> です。</entry>
5757
</row>
5858
<row xml:id="constant.xml-entity-node">
5959
<entry>
6060
<constant>XML_ENTITY_NODE</constant>
6161
(<type>int</type>)
6262
</entry>
6363
<entry>6</entry>
64-
<entry>ノードは <classname>DOMEntity</classname> です。</entry>
64+
<entry>ノードは <classname>DOMEntity</classname> / <classname>Dom\Entity</classname> です。</entry>
6565
</row>
6666
<row xml:id="constant.xml-pi-node">
6767
<entry>
6868
<constant>XML_PI_NODE</constant>
6969
(<type>int</type>)
7070
</entry>
7171
<entry>7</entry>
72-
<entry>ノードは <classname>DOMProcessingInstruction</classname> です。</entry>
72+
<entry>ノードは <classname>DOMProcessingInstruction</classname> / <classname>Dom\ProcessingInstruction</classname> です。</entry>
7373
</row>
7474
<row xml:id="constant.xml-comment-node">
7575
<entry>
7676
<constant>XML_COMMENT_NODE</constant>
7777
(<type>int</type>)
7878
</entry>
7979
<entry>8</entry>
80-
<entry>ノードは <classname>DOMComment</classname> です。</entry>
80+
<entry>ノードは <classname>DOMComment</classname> / <classname>Dom\Comment</classname>です。</entry>
8181
</row>
8282
<row xml:id="constant.xml-document-node">
8383
<entry>
8484
<constant>XML_DOCUMENT_NODE</constant>
8585
(<type>int</type>)
8686
</entry>
8787
<entry>9</entry>
88-
<entry>ノードは <classname>DOMDocument</classname> です。</entry>
88+
<entry>ノードは <classname>DOMDocument</classname> / <classname>Dom\Document</classname> です。</entry>
8989
</row>
9090
<row xml:id="constant.xml-document-type-node">
9191
<entry>
9292
<constant>XML_DOCUMENT_TYPE_NODE</constant>
9393
(<type>int</type>)
9494
</entry>
9595
<entry>10</entry>
96-
<entry>ノードは <classname>DOMDocumentType</classname> です。</entry>
96+
<entry>ノードは <classname>DOMDocumentType</classname> / <classname>Dom\DocumentType</classname> です。</entry>
9797
</row>
9898
<row xml:id="constant.xml-document-frag-node">
9999
<entry>
100100
<constant>XML_DOCUMENT_FRAG_NODE</constant>
101101
(<type>int</type>)
102102
</entry>
103103
<entry>11</entry>
104-
<entry>ノードは <classname>DOMDocumentFragment</classname> です。</entry>
104+
<entry>ノードは <classname>DOMDocumentFragment</classname> / <classname>Dom\DocumentFragment</classname> です。</entry>
105105
</row>
106106
<row xml:id="constant.xml-notation-node">
107107
<entry>
108108
<constant>XML_NOTATION_NODE</constant>
109109
(<type>int</type>)
110110
</entry>
111111
<entry>12</entry>
112-
<entry>ノードは <classname>DOMNotation</classname> です。</entry>
112+
<entry>ノードは <classname>DOMNotation</classname> / <classname>Dom\Notation</classname> です。</entry>
113113
</row>
114114
<row xml:id="constant.xml-html-document-node">
115115
<entry>
@@ -243,13 +243,48 @@
243243
</tgroup>
244244
</table>
245245
<table>
246-
<title>DOMException 定数</title>
246+
<title>HTML 定数</title>
247247
<tgroup cols="3">
248248
<thead>
249249
<row>
250-
<entry>定数</entry>
250+
<entry>&Constants;</entry>
251+
<entry>&Description;</entry>
252+
</row>
253+
</thead>
254+
<tbody>
255+
<row xml:id="constant.dom-html-no-default-ns">
256+
<entry>
257+
<constant>Dom\HTML_NO_DEFAULT_NS</constant>
258+
(<type>int</type>)
259+
</entry>
260+
<entry>
261+
<simpara>
262+
<classname>Dom\HTMLDocument</classname> を使ってパースする際に、
263+
要素の名前空間を設定する振る舞いを無効にします。
264+
これは、<classname>DOMDocument</classname>
265+
と後方互換性を取るために存在しています。
266+
</simpara>
267+
<caution>
268+
<simpara>
269+
DOM メソッドによっては、<acronym>HTML</acronym>
270+
名前空間が設定されているものがあります。
271+
このパーサーオプションを使うと、
272+
これらのメソッドの振る舞いに影響します。
273+
</simpara>
274+
</caution>
275+
</entry>
276+
</row>
277+
</tbody>
278+
</tgroup>
279+
</table>
280+
<table>
281+
<title><classname>DOMException</classname> / <classname>Dom\Exception</classname> の定数</title>
282+
<tgroup cols="3">
283+
<thead>
284+
<row>
285+
<entry>&Constants;</entry>
251286
<entry>値</entry>
252-
<entry>説明</entry>
287+
<entry>&Description;</entry>
253288
</row>
254289
</thead>
255290
<tbody>
@@ -262,12 +297,12 @@
262297
<entry>
263298
DOM の仕様にないエラーコードです。PHP のエラーを意味します。
264299
今後使用されないため、非推奨となりました。
265-
PHP8.4.0より前では、メモリ不足を示すために一貫性がなく使用されてきました。
300+
PHP8.4.0 より前では、メモリ不足を示すために一貫性がなく使用されてきました。
266301
</entry>
267302
</row>
268303
<row xml:id="constant.dom-index-size-err">
269304
<entry>
270-
<constant>DOM_INDEX_SIZE_ERR</constant>
305+
<constant>DOM_INDEX_SIZE_ERR</constant> / <constant>Dom\INDEX_SIZE_ERR</constant>
271306
(<type>int</type>)
272307
</entry>
273308
<entry>1</entry>
@@ -277,26 +312,25 @@
277312
</row>
278313
<row xml:id="constant.domstring-size-err">
279314
<entry>
280-
<constant>DOMSTRING_SIZE_ERR</constant>
315+
<constant>DOMSTRING_SIZE_ERR</constant> / / <constant>Dom\STRING_SIZE_ERR</constant>
281316
(<type>int</type>)
282317
</entry>
283318
<entry>2</entry>
284319
<entry>
285-
指定したテキストは
286-
<classname>DOMString</classname> 内に収まりません。
320+
指定したテキストは、文字列内に収まりません。
287321
</entry>
288322
</row>
289323
<row xml:id="constant.dom-hierarchy-request-err">
290324
<entry>
291-
<constant>DOM_HIERARCHY_REQUEST_ERR</constant>
325+
<constant>DOM_HIERARCHY_REQUEST_ERR</constant> / <constant>Dom\HIERARCHY_REQUEST_ERR</constant>
292326
(<type>int</type>)
293327
</entry>
294328
<entry>3</entry>
295329
<entry>そのノードが所属できない場所に挿入されました。</entry>
296330
</row>
297331
<row xml:id="constant.dom-wrong-document-err">
298332
<entry>
299-
<constant>DOM_WRONG_DOCUMENT_ERR</constant>
333+
<constant>DOM_WRONG_DOCUMENT_ERR</constant> / <constant>Dom\WRONG_DOCUMENT_ERR</constant>
300334
(<type>int</type>)
301335
</entry>
302336
<entry>4</entry>
@@ -306,7 +340,7 @@
306340
</row>
307341
<row xml:id="constant.dom-invalid-character-err">
308342
<entry>
309-
<constant>DOM_INVALID_CHARACTER_ERR</constant>
343+
<constant>DOM_INVALID_CHARACTER_ERR</constant> / <constant>Dom\INVALID_CHARACTER_ERR</constant>
310344
(<type>int</type>)
311345
</entry>
312346
<entry>5</entry>
@@ -316,7 +350,7 @@
316350
</row>
317351
<row xml:id="constant.dom-no-data-allowed-err">
318352
<entry>
319-
<constant>DOM_NO_DATA_ALLOWED_ERR</constant>
353+
<constant>DOM_NO_DATA_ALLOWED_ERR</constant> / <constant>Dom\NO_DATA_ALLOWED_ERR</constant>
320354
(<type>int</type>)
321355
</entry>
322356
<entry>6</entry>
@@ -326,7 +360,7 @@
326360
</row>
327361
<row xml:id="constant.dom-no-modification-allowed-err">
328362
<entry>
329-
<constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant>
363+
<constant>DOM_NO_MODIFICATION_ALLOWED_ERR</constant> / <constant>Dom\NO_MODIFICATION_ALLOWED_ERR</constant>
330364
(<type>int</type>)
331365
</entry>
332366
<entry>7</entry>
@@ -336,7 +370,7 @@
336370
</row>
337371
<row xml:id="constant.dom-not-found-err">
338372
<entry>
339-
<constant>DOM_NOT_FOUND_ERR</constant>
373+
<constant>DOM_NOT_FOUND_ERR</constant> / <constant>Dom\NOT_FOUND_ERR</constant>
340374
(<type>int</type>)
341375
</entry>
342376
<entry>8</entry>
@@ -346,7 +380,7 @@
346380
</row>
347381
<row xml:id="constant.dom-not-supported-err">
348382
<entry>
349-
<constant>DOM_NOT_SUPPORTED_ERR</constant>
383+
<constant>DOM_NOT_SUPPORTED_ERR</constant> / <constant>Dom\NOT_SUPPORTED_ERR</constant>
350384
(<type>int</type>)
351385
</entry>
352386
<entry>9</entry>
@@ -356,7 +390,7 @@
356390
</row>
357391
<row xml:id="constant.dom-inuse-attribute-err">
358392
<entry>
359-
<constant>DOM_INUSE_ATTRIBUTE_ERR</constant>
393+
<constant>DOM_INUSE_ATTRIBUTE_ERR</constant> / <constant>Dom\INUSE_ATTRIBUTE_ERR</constant>
360394
(<type>int</type>)
361395
</entry>
362396
<entry>10</entry>
@@ -366,7 +400,7 @@
366400
</row>
367401
<row xml:id="constant.dom-invalid-state-err">
368402
<entry>
369-
<constant>DOM_INVALID_STATE_ERR</constant>
403+
<constant>DOM_INVALID_STATE_ERR</constant> / <constant>Dom\INVALID_STATE_ERR</constant>
370404
(<type>int</type>)
371405
</entry>
372406
<entry>11</entry>
@@ -377,15 +411,15 @@
377411
</row>
378412
<row xml:id="constant.dom-syntax-err">
379413
<entry>
380-
<constant>DOM_SYNTAX_ERR</constant>
414+
<constant>DOM_SYNTAX_ERR</constant> / <constant>Dom\SYNTAX_ERR</constant>
381415
(<type>int</type>)
382416
</entry>
383417
<entry>12</entry>
384418
<entry>不正な文字列が指定されました。</entry>
385419
</row>
386420
<row xml:id="constant.dom-invalid-modification-err">
387421
<entry>
388-
<constant>DOM_INVALID_MODIFICATION_ERR</constant>
422+
<constant>DOM_INVALID_MODIFICATION_ERR</constant> / <constant>Dom\INVALID_MODIFICATION_ERR</constant>
389423
(<type>int</type>)
390424
</entry>
391425
<entry>13</entry>
@@ -403,7 +437,7 @@
403437
</row>
404438
<row xml:id="constant.dom-invalid-access-err">
405439
<entry>
406-
<constant>DOM_INVALID_ACCESS_ERR</constant>
440+
<constant>DOM_INVALID_ACCESS_ERR</constant> / <constant>Dom\INVALID_ACCESS_ERR</constant>
407441
(<type>int</type>)
408442
</entry>
409443
<entry>15</entry>
@@ -413,7 +447,7 @@
413447
</row>
414448
<row xml:id="constant.dom-validation-err">
415449
<entry>
416-
<constant>DOM_VALIDATION_ERR</constant>
450+
<constant>DOM_VALIDATION_ERR</constant> / <constant>Dom\VALIDATION_ERR</constant>
417451
(<type>int</type>)
418452
</entry>
419453
<entry>16</entry>

0 commit comments

Comments
 (0)