Skip to content

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

Merged
DavidePastore 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#156
DavidePastore merged 1 commit into
php:masterfrom
lacatoire:ci/xinclude-structural-attrs

Conversation

@lacatoire

@lacatoirelacatoire 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.

@DavidePastore
DavidePastore merged commit ec2787e into php:masterJul 22, 2026
2 checks passed
@DavidePastoreDavidePastore added the enhancement New feature or request label Jul 22, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@lacatoire@DavidePastore