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

Add log when catalog is loading #205

Closed
angelozerr opened this issue Nov 8, 2018 · 1 comment
Closed

Add log when catalog is loading #205

angelozerr opened this issue Nov 8, 2018 · 1 comment
Assignees
Labels
catalog enhancement New feature or request
Milestone

Comments

@angelozerr
Copy link
Contributor

XML catalog configuration is a nightmare to detect the problem when it doesn't work. Problems can occurs from:

  • catalog path configuration (file path is not valid)
  • XML catalog file not valid as syntax XML
  • XML catalag file content configuration

We could already support the 1 problem by logging catalog patch which is valid or not.

@angelozerr
Copy link
Contributor Author

angelozerr commented Nov 9, 2018

This issue was done in #206

If log is enable, you can see :

  • when XML catalog path is OK:

Adding XML catalog './catalog.xml' with expand system id 'file:///C/vscode-xml-test/catalog.xml' and root URI 'file:///C/vscode-xml-test/'.

  • when XML catalog path is bad :

Cannot add XML catalog './bad-catalog.xml' with expand system id 'file:///C/vscode-xml-test/bad-catalog.xml' and root URI 'file:///C/vscode-xml-test/'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
catalog enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant