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

Assertion failure when trying to read XML Schema #14

Open
smandell opened this issue Jan 3, 2017 · 5 comments
Open

Assertion failure when trying to read XML Schema #14

smandell opened this issue Jan 3, 2017 · 5 comments

Comments

@smandell
Copy link

smandell commented Jan 3, 2017

I've getting an assertion failed error when trying to load and use a schema file that I'm providing. I've gotten as far as I can stepping through the code, and don't understand what exactly the issue is being caused by.

I've attached the schema file that I'm passing into .addSchema(). You just need to rename the attached file to .xsd.

schema.txt

@mitar
Copy link
Member

mitar commented Jan 3, 2017

Sadly not complete XML schema is supported yet. So it might be that you are finding something like that.

@smandell
Copy link
Author

smandell commented Jan 3, 2017

@mitar - did you determine that the schema was not complete from looking at it? This is a schema that is provided by a software company of their product, so if it's not complete, or has an issue, I can file a bug against them, but I could use your help in understanding what about it isn't complete.

I ran it though a XML validator and it appears to be valid XML.

@mitar
Copy link
Member

mitar commented Jan 3, 2017

No, what I am saying is that this library does not support the full range of XML schema. So your schema probably uses constructs or directives not supported by this library.

@smandell
Copy link
Author

smandell commented Jan 3, 2017

Understood, thanks for clarifying. Should you ever feel the itch to add additional support to the tool I'd be grateful. I tried to debug on my own but am hitting the limitations of my current abilities.

@mitar
Copy link
Member

mitar commented Jan 4, 2017

Sadly, at the moment I do not have time. :-(

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

2 participants