From af9b3b41bcaf0dca57f50fcee907dfd25c123ff2 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 26 Apr 2025 01:04:56 +0900 Subject: [PATCH] =?UTF-8?q?PHP=208.4:=20Document=20errors=20for=20XSLTProc?= =?UTF-8?q?essor::importStylesheet()=20=E3=82=92=E5=8F=96=E3=82=8A?= =?UTF-8?q?=E8=BE=BC=E3=81=BF=20(#4136)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xsl/xsltprocessor/importstylesheet.xml | 34 ++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/reference/xsl/xsltprocessor/importstylesheet.xml b/reference/xsl/xsltprocessor/importstylesheet.xml index f79ecb863b5..dc34bf7a9b7 100644 --- a/reference/xsl/xsltprocessor/importstylesheet.xml +++ b/reference/xsl/xsltprocessor/importstylesheet.xml @@ -1,6 +1,6 @@ - + @@ -41,6 +41,38 @@ &return.success; + + + &reftitle.errors; + + stylesheet が XML オブジェクトでない場合、 + TypeError をスローします。 + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.4.0 + + stylesheet が XML オブジェクトでない場合、 + ValueError の代わりに + TypeError をスローするようになりました。 + + + + + +