Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse .ent and .mod files as DTD files #380

Closed
zwaldowski opened this issue May 20, 2019 · 3 comments
Closed

Parse .ent and .mod files as DTD files #380

zwaldowski opened this issue May 20, 2019 · 3 comments
Assignees
Labels
DTD enhancement New feature or request
Milestone

Comments

@zwaldowski
Copy link

DTDs frequently modularize long lists of entities using external files with the .ent extension. These should get syntax-checked as DTDs as well.

Technically, any extension can be used for this purpose; I've also seen .mod.

@angelozerr
Copy link
Contributor

Perhaps lsp4xml should provide a preference for thoses DTD file extensions?

@angelozerr
Copy link
Contributor

Technically, any extension can be used for this purpose; I've also seen .mod.

Yes sure but it's a little hard to do that because there are synatx coloration to manage in vscode, etc. After reading some documentation, it seems there are 3 extensions (as you said):

  • dtd
  • mod
  • ent

We need to support those extension

@angelozerr angelozerr self-assigned this Jul 17, 2019
@angelozerr angelozerr added this to the v0.8.0 milestone Jul 17, 2019
@angelozerr
Copy link
Contributor

For syntax coloration, we need wait for accept of my PR for vscode microsoft/vscode#77496

@angelozerr angelozerr changed the title .ent files should be parsed as DTDs .ent and .mod files should be parsed as DTDs Jul 17, 2019
angelozerr added a commit that referenced this issue Jul 17, 2019
angelozerr added a commit to angelozerr/vscode-xml that referenced this issue Jul 17, 2019
@angelozerr angelozerr added the DTD label Jul 17, 2019
angelozerr added a commit that referenced this issue Jul 17, 2019
angelozerr added a commit that referenced this issue Jul 17, 2019
fbricon pushed a commit that referenced this issue Jul 17, 2019
fbricon pushed a commit to redhat-developer/vscode-xml that referenced this issue Jul 17, 2019
@fbricon fbricon added the enhancement New feature or request label Jul 17, 2019
@fbricon fbricon closed this as completed Jul 17, 2019
@angelozerr angelozerr changed the title .ent and .mod files should be parsed as DTDs .ent and .mod files should be parsed as DTDs Jul 23, 2019
@angelozerr angelozerr changed the title .ent and .mod files should be parsed as DTDs Parse .ent and .mod files as DTD files Jul 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DTD enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants