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
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[],["Feed validation is crucial for Google processing. Utilize an XML schema validator to confirm your feed's compliance before submission. Google also validates feeds against the schema. Tools like `xmllint` (from xmlsoft.org) assist in this process. The command `xmllint --schema http://www.gstatic.com/productsearch/static/reviews/5.0/merchant_reviews.xsd --noout file.xml` validates your feed (`file.xml`) using Google's specified schema.\n"],null,[]]