Erreur Xml
Posted: 23 Feb 2009, 14:15
J'ai un message d'erreur sur Zuntsu lorsque je lance ma box :
"Erreur de type XMLexception Données non valide au niveau racine Ligne1 position 1"
Voila mon fichier XML :
<?xml version="1.0" encoding="windows-1252" ?>
<game-box name="Mystere a l'abbaye" description="Jeu de plateau." copyright="Albi" startup-scenario="debut.zts">
<map name="abbaye" image-file="MA-Plateau.jpg" resolution="150 dpi" />
<counter-sheet name="Benedictins" front-image-file="Benedictins.jpg" front-mask-file="Benedictinsmask.png">
<card-section rows="3" columns="3" face-left="660" face-top="0" face-right="660" face-bottom="3097" back-left="0" back-top="0" back-right="660" back-bottom="1042" />
</counter-sheet>
</game-box>
J'utilise notepad++, j'enregiste le fichier en .txt puis le renomme en XML.
Je comprends pas d'ou provient l'erreur
"Erreur de type XMLexception Données non valide au niveau racine Ligne1 position 1"
Voila mon fichier XML :
<?xml version="1.0" encoding="windows-1252" ?>
<game-box name="Mystere a l'abbaye" description="Jeu de plateau." copyright="Albi" startup-scenario="debut.zts">
<map name="abbaye" image-file="MA-Plateau.jpg" resolution="150 dpi" />
<counter-sheet name="Benedictins" front-image-file="Benedictins.jpg" front-mask-file="Benedictinsmask.png">
<card-section rows="3" columns="3" face-left="660" face-top="0" face-right="660" face-bottom="3097" back-left="0" back-top="0" back-right="660" back-bottom="1042" />
</counter-sheet>
</game-box>
J'utilise notepad++, j'enregiste le fichier en .txt puis le renomme en XML.
Je comprends pas d'ou provient l'erreur