We list two methods of XML validation. The first uses an XML schema and helps verify that the fields contain valid values. The second is less strict and uses an XML DTD to check that the file has correctly ordered and named tags.
Verify using an XML Schema
Use Kelkoo schema (downloadable from kelkoo.xsd) to verify that the fields contain valid values.
To allow the file to be verified against the schema, you should alter the feed, replacing the XML version and Products tags with this:
<?xml version="1.0"?> |
Example feed with schema reference: feed-with-schema.xml.
You can then test your new feed using the form below:
The above XML tester uses http://tools.decisionsoft.com/schemaValidate.html
Other schema validators:
Verify using an XML Parser
Use the kelkoo.dtd to verify that the tags you are using are correctly ordered.
For Windows:
- 1. XML validator plug-in for IE - allows you to validate XML files.
- 2. List of XML parsers
- 3. Microsoft's Online XML validator (also validates files against schemas)
- 4. xmllint (see Unix docs, below for more details)
- 5. XML cooktop
For UNIX: