redhat-developer / redhat-developer/vscode-xml
Ignoring XML Schema 1.1 Errors
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 328
- Forks
- 101
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 7
Description
I am building XML schemas based on the XSD 1.1 specification, which is not supported by vscode-xml. I would like to ignore errors on lines that use XSD 1.1 features to avoid being distracted by these error messages while working. I tried the following options, but none of them work.
<xs:unique ref="my-xsd:myUniqueConstraint" /> <!-- xsd(s4s-att-must-appear): ignore -->
<xs:unique ref="my-xsd:myUniqueConstraint" /> <!-- ignore: xsd(s4s-att-must-appear) -->
Is it possible to ignore such errors with vscode-xml? Please help.
Many thanks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by reviewing how vscode-xml reports schema validation diagnostics and whether existing diagnostic-ignore settings support the shown XSD 1.1 error; done means providing a documented or implemented way to suppress that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- xml
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100