Skip to content

ci: track XInclude href and xpointer in the structure check#892

Merged
PhilDaiguille merged 1 commit into
php:masterfrom
lacatoire:ci/xinclude-structural-attrs
Jul 22, 2026
Merged

ci: track XInclude href and xpointer in the structure check#892
PhilDaiguille merged 1 commit into
php:masterfrom
lacatoire:ci/xinclude-structural-attrs

Conversation

@lacatoire

@lacatoire lacatoire commented Jul 22, 2026

Copy link
Copy Markdown
Member

Follow-up to a review remark on php/doc-pt_br#787: XInclude xpointer (and href) are structural, so they belong in the element signature. A translated target selects nothing and breaks the build.

Checked over every file using XInclude in this repo: no new false positive. The same run on doc-es surfaced a real one (@role='procedimental' inside an xpointer predicate), which is exactly the class of bug this is meant to catch.

@PhilDaiguille
PhilDaiguille merged commit 954a0d9 into php:master Jul 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants