XML 검증
Google에서 피드를 처리할 수 있도록 Google에 피드를 제출하기 전에 XML 스키마 검사기를 사용하여 피드가 스키마의 요구사항을 준수하는지 확인하세요. 또한 Google은 피드를 수락하기 전에 피드가 스키마를 준수하는지 확인합니다.
XML 피드의 구조를 검증하는 데 도움이 되는 다양한 도구가 있습니다. 이러한 도구 중 하나는 www.xmlsoft.org의 xmllint입니다.
xmllint를 사용하여 다음 명령어로 피드의 유효성을 검사할 수 있습니다.
xmllint --schema http://www.gstatic.com/productsearch/static/reviews/5.0/merchant_reviews.xsd --noout file.xml
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2023-08-11(UTC)
[null,null,["최종 업데이트: 2023-08-11(UTC)"],[[["Google requires your feed to comply with the specified XML schema for processing."],["Before submission, validate your feed using an XML schema validator like xmllint to ensure compliance."],["Google uses the merchant_reviews.xsd schema located at `http://www.gstatic.com/productsearch/static/reviews/5.0/merchant_reviews.xsd` for validation."],["The command `xmllint --schema http://www.gstatic.com/productsearch/static/reviews/5.0/merchant_reviews.xsd --noout file.xml` can be used for validation with xmllint."]]],[]]