redhat-developer / redhat-developer/vscode-xml

Ignoring XML Schema 1.1 Errors

Open
#1,031 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.