[doc-en] master: Remove the odd class.exception..code xml:id (#6111)
| From: | Jordi Kroon via GitHub | Date: | Wed, 18 Nov 2026 19:54:29 +0000 |
| Subject: | [doc-en] master: Remove the odd class.exception..code xml:id (#6111) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23979@lists.php.net to get a copy of this message | ||
Author: Jordi Kroon (jordikroon)
Committer: GitHub (web-flow)
Pusher: jordikroon
Date: 2026-11-18T20:54:26+01:00
Commit: https://github.com/php/doc-en/commit/eb3bd8f4d41ba473f467e8d2d028ddeb074c505b
Raw diff: https://github.com/php/doc-en/commit/eb3bd8f4d41ba473f467e8d2d028ddeb074c505b.diff
Remove the odd class.exception..code xml:id (#6111)
Changed paths:
M language/predefined/exception.xml
M reference/pdo/pdoexception.xml
Diff:
diff --git a/language/predefined/exception.xml b/language/predefined/exception.xml
index 1019d793d545..f20368c346fa 100644
--- a/language/predefined/exception.xml
+++ b/language/predefined/exception.xml
@@ -40,7 +40,7 @@
<varname linkend="exception.props.string">string</varname>
<initializer>""</initializer>
</fieldsynopsis>
- <fieldsynopsis xml:id="class.exception..code">
+ <fieldsynopsis>
<modifier>protected</modifier>
<type>int</type>
<varname linkend="exception.props.code">code</varname>
diff --git a/reference/pdo/pdoexception.xml b/reference/pdo/pdoexception.xml
index 671ff801f324..2cd822385941 100644
--- a/reference/pdo/pdoexception.xml
+++ b/reference/pdo/pdoexception.xml
@@ -44,7 +44,7 @@
</fieldsynopsis>
<classsynopsisinfo
role="comment">&InheritedProperties;</classsynopsisinfo>
- <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook)
xpointer(id('class.exception')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment'
and text()='&Properties;'] and (not(@xml:id) or @xml:id !=
'class.exception..code')]))"/>
+ <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook)
xpointer(id('class.exception')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment'
and text()='&Properties;'] and not(db:varname = 'code')]))"/>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook)
xpointer(id('class.pdoexception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='PDOException'])"/>