redhat-developer / redhat-developer/vscode-xml
error message refers {the schema}
Open
Nobody has claimed this yet.
validation
- Dominant language
- TypeScript
- Stars
- 328
- Forks
- 101
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 7
Description
{
"resource": "/tmp/file.xml",
"owner": "_generated_diagnostic_collection_name_#0",
"code": "cvc-complex-type.2.4.b",
"severity": 8,
"message": "Child elements are missing from element:\n - field\n\nThe following elements are expected:\n - field_owners\n - field_name\n\nError indicated by\n {the schema}\nwith code:",
"source": "xml",
"startLineNumber": 1598,
"startColumn": 14,
"endLineNumber": 1598,
"endColumn": 18
}
I guess that {the schema} should contain the actual schemaname, possibly as a link?
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
No source file or test is named. Reproduce the XML diagnostic from the example and trace where the message containing {the schema} is assembled; done means the diagnostic reports the actual schema name, optionally as a link, instead of the placeholder.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100