我制作的网站地图基本上是从数据库中打印出来的。
我在google sitemap验证时遇到错误,但我真的看不出原因。希望有人可以提供帮助。
验证错误:
----------------------------------------------------------------
Schema validator crashed
The maintainers of XSV will be notified, you don't need to send mail about this unless you have extra information to provide. If there are Schema errors reported below, try correcting them and re-running the validation.
Length: 76774 bytes
Server: Microsoft-IIS/7.5)
The target was not assessed
Low-level XML well-formedness and/or validity processing output
Error: Expected name, but got `<space>` for entity
答案 0 :(得分:3)
这是因为Tropicana Golf&amp; amp; &
中有一个文字<loc>
。乡村度假村。您应该将其替换为&
。
:此:强>
<url><loc>http://website/ad/541/Linked%20House%20For%20Rent%20in%20Tropicana Golf & Country Resort,%20Tropicana</loc></url>
应该是:
<url><loc>http://website/ad/541/Linked%20House%20For%20Rent%20in%20Tropicana Golf & Country Resort,%20Tropicana</loc></url>