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

Unable to validate xml against its schema #65

Open
MocniMax opened this issue Oct 23, 2019 · 4 comments
Open

Unable to validate xml against its schema #65

MocniMax opened this issue Oct 23, 2019 · 4 comments
Assignees

Comments

@MocniMax
Copy link

Hi.

First of all thank you for such a nice and useful XML tool!

I am new to QXmlEdit and maybe I am doing something wrong but am not able to get xml validated against is schema. No matter what I am doing, result is the same:

image

I tried with specifying schema file in Validate Using New Schema File and with explicitly defining schema in xml itself but with same result.

Both xml and schema files are valid and correct and validation in other XML tools works fine.
Any idea where issue can be?

And yes, the QXmlEdit likes to crash very often especially when file open dialog is open and selected file need to be read.

Environment data:
QXmlEdit version: 0.9.13
Operating system: MS Windows Server 2008 R2

Regards

@lbellonda lbellonda self-assigned this Oct 23, 2019
@lbellonda
Copy link
Owner

To diagnose I need some data to test. Please remember to avoid publishing personal data.

About the crash, are you using the 32 or the 64 bit version? What size is the XML file you are loading?

@MocniMax
Copy link
Author

I am using pretty simple xml and schema definitions.
If you have some standard xml and xsd files you are using in your tests, please post them here and I will use them.

@lbellonda
Copy link
Owner

To get a sample, in the folder qxmledit/test/data/xsd/validation/data/ of the sources you will find data_schema.xml and its schema data_schema.xsd.
You can open the XML and use the XSD as external XSD file.

Best regards

@MocniMax
Copy link
Author

There are no issues using test files you mentioned, data_schema.xml and data_schema.xsd.
I will depersonalize my xml and xsd files and post them here, but that will take a little bit more time.

Regards

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