Skip to content

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

Merged
lacatoire 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#3129
lacatoire 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.

@lacatoire
lacatoire merged commit 3c13d6d into php:master Jul 22, 2026
5 checks passed
@lacatoire
lacatoire deleted the ci/xinclude-structural-attrs branch July 22, 2026 08:24
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.

1 participant