PDA

View Full Version : QXmlName::MaximumLocalNames



macumber
16th October 2011, 06:27
It appears that QXmlName is hard coded to allow at most MaximumLocalNames = 4094 names to be defined in an XmlSchema. I have a schema which includes a lot of types, is there any way to increase this limit?

Thanks a lot,
Dan

macumber
16th October 2011, 17:29
Here is the error message text:

ASSERT failure in : "NamePool local name limits: max is 4094, therefore 4095 exc
eeds.", file c:\qt\4.6.0\include\qtxmlpatterns\private\../../../src/xmlpatterns/
utils/qnamepool_p.h, line 544

Added after 1 40 minutes:

One last note, I am experiencing this problem when trying to call QXmlSchema::load on a large xsd file. I can parse the xsd using QDomDocument but exceed the local name limits when loading to a QXmlSchema.

Is there any work around to use here?