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

Check the public ID against the list of supported DTDs #9

Open
hubgit opened this issue May 15, 2019 · 0 comments
Open

Check the public ID against the list of supported DTDs #9

hubgit opened this issue May 15, 2019 · 0 comments

Comments

@hubgit
Copy link
Member

hubgit commented May 15, 2019

  1. Generate a JSON array of supported public IDs alongside the catalog file.
  2. Before attempting validation, load the XML file without DTD validation and check the public ID against the list of supported DTDs, giving a useful error message if it's not supported.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant