Skip to content

Fix optional attributes in RelaxNG schema for VSCode#2003

Open
mallowmew wants to merge 2 commits intophingofficial:mainfrom
mallowmew:fix-optional-in-grammar
Open

Fix optional attributes in RelaxNG schema for VSCode#2003
mallowmew wants to merge 2 commits intophingofficial:mainfrom
mallowmew:fix-optional-in-grammar

Conversation

@mallowmew
Copy link
Copy Markdown

@mallowmew mallowmew commented Apr 14, 2026

The RelaxNG schema support in VSCode via the Red Hat XML extension needs an <optional> tag around each attribute that is optional. It doesn't seem to work with a number of attributes nested within a single <optional> tag. I don't know if this is necessary in other editors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant