From 8a01eb8fd9c908f5b891422515e596297340caaf Mon Sep 17 00:00:00 2001 From: Louis-Arnaud Date: Thu, 23 Jul 2026 10:23:36 +0200 Subject: [PATCH] imagick: fix broken methodsynopsis xpointers in exception classes These five exception classes have no own methods, so the &Methods; include pointed at a non-existent refentry. The &InheritedMethods; include used the class's own name as methodsynopsis role instead of 'Exception', so both selected an empty node set, which older libxml (2.9, CI) reports as a failed XInclude while newer libxml (2.15) silently swallows. Drop the own-methods include and mirror the working jsonexception pattern: inherit the Exception constructor and methods with role='Exception'. --- reference/imagick/imagickdrawexception.xml | 14 +++----------- reference/imagick/imagickexception.xml | 14 +++----------- reference/imagick/imagickkernelexception.xml | 14 +++----------- reference/imagick/imagickpixelexception.xml | 14 +++----------- .../imagick/imagickpixeliteratorexception.xml | 14 +++----------- 5 files changed, 15 insertions(+), 55 deletions(-) diff --git a/reference/imagick/imagickdrawexception.xml b/reference/imagick/imagickdrawexception.xml index f3924bf725fb..a4a7465e17c2 100644 --- a/reference/imagick/imagickdrawexception.xml +++ b/reference/imagick/imagickdrawexception.xml @@ -38,20 +38,12 @@ &InheritedProperties; - - - + - &Methods; - - - - &InheritedMethods; - - - + + diff --git a/reference/imagick/imagickexception.xml b/reference/imagick/imagickexception.xml index 3b67119ef90d..11b90c849859 100644 --- a/reference/imagick/imagickexception.xml +++ b/reference/imagick/imagickexception.xml @@ -38,20 +38,12 @@ &InheritedProperties; - - - + - &Methods; - - - - &InheritedMethods; - - - + + diff --git a/reference/imagick/imagickkernelexception.xml b/reference/imagick/imagickkernelexception.xml index 3e47ee979a8f..712bf1e9e17b 100644 --- a/reference/imagick/imagickkernelexception.xml +++ b/reference/imagick/imagickkernelexception.xml @@ -37,20 +37,12 @@ &InheritedProperties; - - - + - &Methods; - - - - &InheritedMethods; - - - + + diff --git a/reference/imagick/imagickpixelexception.xml b/reference/imagick/imagickpixelexception.xml index 64cd28b3e197..f2cb22a4359c 100644 --- a/reference/imagick/imagickpixelexception.xml +++ b/reference/imagick/imagickpixelexception.xml @@ -38,20 +38,12 @@ &InheritedProperties; - - - + - &Methods; - - - - &InheritedMethods; - - - + + diff --git a/reference/imagick/imagickpixeliteratorexception.xml b/reference/imagick/imagickpixeliteratorexception.xml index 0ecef58e09db..8ce45c77ccfa 100644 --- a/reference/imagick/imagickpixeliteratorexception.xml +++ b/reference/imagick/imagickpixeliteratorexception.xml @@ -38,20 +38,12 @@ &InheritedProperties; - - - + - &Methods; - - - - &InheritedMethods; - - - + +