Error xyz : Element… - AFS@Store - Technical Notes

AFS@Store for Magento

AFS@Store Version
Technical Notes

You may get an error in a generated XML export. Indeed, the file is checked against AFS@Store data model (using an XSD validation) before sending it to SFTP.

It may be caused either by a problem with your data in Magento (below an example with products belonging to a category without label) or by a bug (which you will be free to report to our support team).

You should try to disable the XSD validation, in case only few products are in error. They will not be indexed, but in the meantime you will be able to process with the rest of your configurations setup.

To disable the XSD validation, just edit app/code/community/MDN/Antidot/Model/Observer.php:

In protected function generate($exportModel, $type), comment this condition: if ($this->schemaValidate($filename, $exportModel::XSD)) {