lbellonda / qxmledit

QXmlEdit XML editor. Downloads: https://sourceforge.net/projects/qxmledit/files
http://qxmledit.org
Other
160 stars 46 forks source link

Unable to validate xml against its schema #65

Open MocniMax opened 4 years ago

MocniMax commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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