Page 1 of 1

[4.0b3] XLM import bug : Can't import latest No-Intro NDS P/C Dat

Posted: Thu Sep 10, 2015 1:07 pm
by Freeben
Hi,

Whenever I try creating a DB using the latest P/C XML dat file from No-Intro, I get an error :
System.Xml.XmlException: 'status' is a duplicate attribute name (translated from french error message, but you get the idea).

Here are the lines at fault in the DAT :
<game name="Imagine - Babyz Fashion (USA) (En,Fr,Es) (NDSi Enhanced) " cloneof="Baby Fashion Star (Europe) (En,Fr,De,Es,It,Nl,Sv,No,Da) (NDSi Enhanced)">
<description>Imagine - Babyz Fashion (USA) (En,Fr,Es) (NDSi Enhanced) </description>
<release name="Imagine - Babyz Fashion (USA) (En,Fr,Es) (NDSi Enhanced) " region="USA"/>
<rom name="Imagine - Babyz Fashion (USA) (En,Fr,Es) (NDSi Enhanced) .nds" size="33554432" crc="15E2D53D" md5="C79386AC1077AA597144EF151ACB65E1" sha1="5D4CFF6AED7BD2CB1FF12F5302EA547B54DE9E2C" status="baddump" status="verified"/>
</game>

RC seems to not be able to handle the fact there are two statuses defined (baddump and verified). CLRMamePro didn't have an issue with this DAT.

Re: [4.0b3] XLM import bug : Can't import latest No-Intro NDS P/C Dat

Posted: Thu Sep 10, 2015 10:50 pm
by MELERIX

Re: [4.0b3] XLM import bug : Can't import latest No-Intro NDS P/C Dat

Posted: Thu Sep 17, 2015 9:08 pm
by RomCenter
Duplicated attributes are not allowed in xml files. This dat is not well formed xml and cannot be parsed by any xml Library.