Skip to content

Commit e1f44fc

Browse files
authored
PHP 8.4: Document errors for XSLTProcessor::importStylesheet() を取り込み (#4136) (#284)
1 parent 4cd5dd3 commit e1f44fc

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

reference/xsl/xsltprocessor/importstylesheet.xml

+33-1
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: 07e6a4aaa2d28b6218a362b05e573fb13267358d Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: d5ae08740fd16598ce24f7191a06665bf0ad370f Maintainer: takagi Status: ready -->
44
<!-- Credits: mumumu -->
55
<refentry xml:id="xsltprocessor.importstylesheet" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -41,6 +41,38 @@
4141
&return.success;
4242
</para>
4343
</refsect1>
44+
45+
<refsect1 role="errors">
46+
&reftitle.errors;
47+
<simpara>
48+
<parameter>stylesheet</parameter> が XML オブジェクトでない場合、
49+
<exceptionname>TypeError</exceptionname> をスローします。
50+
</simpara>
51+
</refsect1>
52+
53+
<refsect1 role="changelog">
54+
&reftitle.changelog;
55+
<informaltable>
56+
<tgroup cols="2">
57+
<thead>
58+
<row>
59+
<entry>&Version;</entry>
60+
<entry>&Description;</entry>
61+
</row>
62+
</thead>
63+
<tbody>
64+
<row>
65+
<entry>8.4.0</entry>
66+
<entry>
67+
<parameter>stylesheet</parameter> が XML オブジェクトでない場合、
68+
<exceptionname>ValueError</exceptionname> の代わりに
69+
<exceptionname>TypeError</exceptionname> をスローするようになりました。
70+
</entry>
71+
</row>
72+
</tbody>
73+
</tgroup>
74+
</informaltable>
75+
</refsect1>
4476
</refentry>
4577
<!-- Keep this comment at the end of the file
4678
Local variables:

0 commit comments

Comments
 (0)