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.

You can validate XML files in the Yandex.Webmaster service. For validation, the XML request schema is used.

To validate a file, follow these steps:

  1. Open the XML feed validator page.
  2. Choose others schemas → link in the group of fields Standard validation schema.
  3. Set the value “https://download.cdn.yandex.net/tech/ru/xml/doc/dg/files/request.xsd” in Specify the link to your XSD schema.
  4. Set one of the ways to pass the contents of the XML document in Feed for validation.

  5. 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.