redhat-developer / redhat-developer/vscode-xml

DTD files defined via `xml.fileAssociations` not used as fallback for DOCTYPE SYSTEM

Open
#693 6 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

In previous versions (18.1 was the last one I know worked to be exact) when the DTD defined in the DOCTYPE SYSTEM statement in the xml file was not available, the DTD file defined to be associated with the xml file via the xml.fileAssociations vscode setting was used as fallback instead, but in the latest version that's not the case anymore, e.g. I have to remove the DOCTYPE statement for autocomplete to work correctly.
Is is it possible to restore the previous functionality?

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

Reproduce the case where a DOCTYPE SYSTEM DTD is unavailable while a fallback is configured through xml.fileAssociations. Trace the extension's DOCTYPE and file-association handling, then verify that XML autocomplete uses the associated DTD without removing the DOCTYPE statement.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.