2012-01-08 3 views
1

최고 기록을 저장하는 매우 간단한 xml 파일을 만들었지 만 validome.org는 유효하지 않으며 이유를 파악할 수 없다고 말합니다. "(최고 점수 *)" "HighScoreList"일치해야 요소 유형의Xml vaildation fail

내용 :

<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE HighScoreList [ 
<!ELEMENT HighScoreList (Highscore*)> 
<!ELEMENT HighScore (Name, Score)> 
<!ELEMENT Name (#PCDATA)> 
<!ELEMENT Score (#PCDATA)> 
]> 
<HighScoreList> 
<HighScore> 
    <Name>Player</Name> 
    <Score>1000</Score> 
</HighScore> 
<HighScore> 
    <Name>Player</Name> 
    <Score>900</Score> 
</HighScore> 
<HighScore> 
    <Name>Player</Name> 
    <Score>800</Score> 
</HighScore> 
<HighScore> 
    <Name>Player</Name> 
    <Score>700</Score> 
</HighScore> 
<HighScore> 
    <Name>Player</Name> 
    <Score>600</Score> 
</HighScore> 
<HighScore> 
    <Name>Player</Name> 
    <Score>500</Score> 
</HighScore> 
<HighScore> 
    <Name>Player</Name> 
    <Score>400</Score> 
</HighScore> 
<HighScore> 
    <Name>Player</Name> 
    <Score>300</Score> 
</HighScore> 
<HighScore> 
    <Name>Player</Name> 
    <Score>200</Score> 
</HighScore> 
<HighScore> 
    <Name>Player</Name> 
    <Score>100</Score> 
</HighScore> 
</HighScoreList> 

그리고 (마지막 줄에서) 오류 : 여기

은 XML 파일입니다.

답변

2

두 가지 철자가 있습니다 (HighscoreHighScore) (대문자와 소문자는 각각 S입니다).