XML 验证

为确保 Google 能够处理您的 Feed,请先使用 XML 架构验证程序确保您的 Feed 符合架构要求,然后再向 Google 提交 Feed。Google 还会先验证您的 Feed 是否符合架构,然后再接受您的 Feed。

您可以使用多种工具来验证 XML Feed 的结构。其中一种工具是 www.xmlsoft.org 提供的 xmllint。

您可以使用 xmllint 通过以下命令验证 Feed:

xmllint --schema http://www.gstatic.com/productsearch/static/reviews/5.0/merchant_reviews.xsd --noout file.xml