redhat-developer / redhat-developer/vscode-xml

Bind schema / grammar should provide the capability to associate the XML with an entry of XML catalog

Open
#838 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

catalog
Dominant language
TypeScript
Stars
328
Forks
101
Avg merge
1d 17h
Merged PRs (30d)
7

Description

When this XML catalog is registered:

<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<!--DITA Base Map Shell-->

   <public publicId="-//OASIS//DTD DITA 2.0 Base Map//EN" uri="basemap.dtd"/>
   <public publicId="-//OASIS//DTD DITA 2.x Base Map//EN" uri="basemap.dtd"/>
   <public publicId="-//OASIS//DTD DITA 2.0 Base Topic//EN"
           uri="basetopic.dtd"/>

and we create an empty file, the Bind schema / grammarcodelens should appear (it should be fixed with https://github.com/redhat-developer/vscode-xml/issues/819)

Click on this codelens should display an new entry catalog:

image

If user click on catalog, it should open a list with all catalog entries of registered catalog like -//OASIS//DTD DITA 2.0 Base Map//EN, when it select it, the XML should be generated with the proper namespace.

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 with the registered XML catalog flow and the Bind schema / grammar codelens behavior described here. Verify that an empty XML file shows the codelens, that selecting the catalog lists entries such as the DITA public ID, and that choosing one generates XML with the proper namespace.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, xml
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.