2012-02-14 9 views
0

기본적으로 DB에서 인쇄 한 사이트 맵을 만들었습니다.내 XML 사이트 맵에 오류가 표시되지 않습니다.

Google Sitemap 인증에 오류가 발생하지만 실제로 볼 수 없습니다. 누군가가 도울 수 있기를 바랍니다. 검증에서

오류 : 당신은 트로피카나 골프 & 컨트리 리조트의 <loc>에 리터럴 &을 가지고 있기 때문에

---------------------------------------------------------------- 

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 

답변

3

이다. &amp;으로 바꿔야합니다.

이 :

<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 &amp; Country Resort,%20Tropicana</loc></url> 
+0

감사합니다 :) 당신이 그것을 어떻게 되었습니까? – Jesper

+0

oXygen (http://www.oxygenxml.com/)에서 열었습니다. well-formedness 오류를 나타내는 XML 편집기는 실제로이를 지적합니다. 오류 메시지는별로 도움이되지 않지만 일반적으로 "익명의 엔터티"오류가 표시 될 때마다 앰퍼샌드 문제입니다. 이는 앰퍼샌드가 엔티티 참조를 시작하기 때문입니다. –

관련 문제