Skip to content

Add CI warning for xml:id before xmlns attribute order#5445

Open
lacatoire wants to merge 1 commit intophp:masterfrom
lacatoire:ci/check-attr-order
Open

Add CI warning for xml:id before xmlns attribute order#5445
lacatoire wants to merge 1 commit intophp:masterfrom
lacatoire:ci/check-attr-order

Conversation

@lacatoire
Copy link
Copy Markdown
Member

@lacatoire lacatoire commented Mar 29, 2026

Following the great work tracked in #5155 to clean up XML markup inconsistencies, I thought it might be helpful to add a small CI check that gently warns contributors when xml:id is placed before xmlns declarations, which is the most common pattern to fix.
Just wanted to propose it as a small step forward.

Add a lightweight GitHub Actions workflow that warns (without blocking)
when modified XML files have xml:id placed before xmlns declarations,
as described in the style guide.
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