XML Validation against XSD
-
wrote on 15 Dec 2015, 08:41 last edited by
Hi,
Is there some other Qt way then QXmlSchemaValidator from xmlpatterns how to check XML conforming XSD? Or I have to use external library? (currently xmllint) I'm on Qt4I cannot use QXmlSchemaValidator as its allocating all RAM(12GB)+swap and then failing on out of memory. It's generating permutation 11 deep inside Qt code :-/ (Shared between Qt4 and Qt5)
Thanks.
-
12GB of RAM?!
How big are your XML files?
Could be a bug in QXmlSchemaValidator. -
wrote on 15 Dec 2015, 10:02 last edited by
Yep It's valid using the online validator, it's valid in Notepad++, It's valid with xmllint.
-
wrote on 15 Dec 2015, 10:10 last edited by
looks like a bug. I suggest to open a BugReport
-
wrote on 15 Dec 2015, 10:18 last edited by
Yes it's a bug and on Qt4 it will stay so. QTBUG-12534, QTBUG-26824, QTBUG-6485 I' was trying to solve it but it's above my mental abilities :-/ But my question was, is there some other Qt way how to check XML against XSD?
3/7