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

create useful feedback message if someone tries to load an xml document that declares an .xsd schema #67

Open
ilovan opened this issue Jan 21, 2020 · 4 comments
Assignees

Comments

@ilovan
Copy link
Contributor

ilovan commented Jan 21, 2020

Example:
https://dev-cwrc-writer.cwrc.ca/?githubPath=XML%2FCareOfTheDead_chap1-revised.xml&githubRepo=ilovan%2FCiteLens-Documentation

image.png

Add something like:

Unable to read the schema declared in the document. Please make sure the uploaded document declares a compact RelaxNG schema. "

@ajmacdonald , is it correct that we can only handle compact syntax relaxNG?

@ajmacdonald
Copy link
Collaborator

Yes, currently only RelaxNG is supported

@ajmacdonald
Copy link
Collaborator

xsd schemas are associated with the document in a different way than RelaxNG. Is it worthwhile to check for them even if we don't support them, or is it enough to display the missing schema message?

@ilovan
Copy link
Contributor Author

ilovan commented Jan 22, 2020

let's go with message for now - I can't think of any strong reason for checking for XSD schemas if we don't support them anyway.

@ajmacdonald
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants