redhat-developer / redhat-developer/vscode-xml
compile/validate complete document; dont fail fast on first error
Open
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
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
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