redhat-developer / redhat-developer/vscode-xml

compile/validate complete document; dont fail fast on first error

Open
#956 4 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

title/summary:

compile/validate complete document; dont fail fast on first error

details:
  • currently, the xml extension (v0.26.1) shows only the very first error it encounters in the document.
  • which makes fixing procedure cognitively tedious - fix, wait, check, repeat.
  • it would be nice shows all errors together
Additional details:

screenrecording:

https://github.com/redhat-developer/vscode-xml/assets/19423063/8693ef94-1842-46b9-982c-ef122903dea7

MWE:
<?xml version="1.0" encoding="UTF-8"?>

<!-- <!DOCTYPE html> -->
<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -->

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=80%, initial-scale=1.0"/>
    <title>HTML with XML</title>
</head>

<body>
    <p hidden>Attribute value validation</p>
    Entity validation: &
</body>

</html>

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

Start by reproducing the supplied XML document in the VS Code XML extension and trace how validation reports errors. Done means the complete document is compiled or validated and all encountered errors are shown together rather than stopping after the first one.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.