Validating XML files
To prevent incorrect processing of search queries, at the testing stage we strongly recommend validating XML files that are generated for requests using the POST method.
To validate a file, follow these steps:
- Open the XML feed validator page.
- Choose Standard validation schema.in the group of fields
- Set the value “https://download.cdn.yandex.net/tech/ru/xml/doc/dg/files/request.xsd” in Specify the link to your XSD schema.
Set one of the ways to pass the contents of the XML document in Feed for validation.
- Click Check.
If the XML file complies with the schema, the message “XML complies with the XSD schema” is returned. If inconsistencies are discovered, it returns information about the line where you should look for an error.