Poonarge
13th June 2014, 09:33
Hi,
I'm currently working with the Amazon MWS API, but having trouble with the amzn-envelope.xsd due to there being circular references. I have looked to find ways around this, but to no avail. The only way I've found would be to make local copies of the schema's and remove the includes myself, as stated here (http://stackoverflow.com/questions/17297302/amazon-xml-failing-validation-using-schema-with-multiple-inclusions-of-same-sche), which I don't want to have to do.
So, I was wondering if there is any way to handle this in Qt? A way to ignore circular references, or a way to work around it?
QUrl url("https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_1_9/amzn-envelope.xsd");
QXmlSchema schema;
schema.load(url);
Thanks,
Richard
I'm currently working with the Amazon MWS API, but having trouble with the amzn-envelope.xsd due to there being circular references. I have looked to find ways around this, but to no avail. The only way I've found would be to make local copies of the schema's and remove the includes myself, as stated here (http://stackoverflow.com/questions/17297302/amazon-xml-failing-validation-using-schema-with-multiple-inclusions-of-same-sche), which I don't want to have to do.
So, I was wondering if there is any way to handle this in Qt? A way to ignore circular references, or a way to work around it?
QUrl url("https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_1_9/amzn-envelope.xsd");
QXmlSchema schema;
schema.load(url);
Thanks,
Richard