Skip to content
×
Copyright

This online publication is intellectual property of Apptus Technologies. Its contents can be duplicated in part or whole, provided that a copyright label is visibly located on each copy and the copy is used in conjunction with the product described within this document.

All information found in these documents has been compiled with utmost attention to detail. However, this does not guarantee complete accuracy. Neither Apptus Technologies nor the authors shall be held liable for possible errors or the consequences thereof.

Software and hardware descriptions cited in these documents might be registered trademarks. All trade names are subject to copyright restrictions and may be registered trademarks. Apptus Technologies essentially adheres to the manufacturer’s spelling. Names of products and trademarks appearing in this document, with or without specific notation, are likewise subject to trademark and trade protection laws and may thus fall under copyright restrictions.

CLOSE

Validation

Validation of the data feed is a vital part of eSales Fashion to ensure a fully functional site.

Import validation

All files are automatically validated on import, where any XML syntax errors or detected content errors will cause the import to fail. Examples of content errors are duplicate keys, duplicate image URLs, missing mandatory information etc.

Given that the XML file has a valid syntax, an extensive summary of content errors, including examples, is found in the response of the import. Imports that fail due to syntax errors can be further tested and more closely analysed using XSD 1.1 Validation.

XSD 1.1 Validation

The data feed can be validated using the eSales Fashion XSD (version 1.1).

If no processes or tools for validation are available, use the following XSD validator. It is built on an open source project and includes all required dependencies for validating the data feed with the eSales Fashion XSD.

The data feed file can be validated using the following command (where my_data.xml is replaced with the name of the actual XML file):

java -jar xsd-validator.jar -sf esales-fashion-schema.xsd -if my_data.xml

Last update: May 18, 2020