MAMEWorld >> News
View all threads Index   Flat Mode Flat  

Vas Crabb
BOFH
Reged: 12/12/05
Posts: 4580
Loc: Melbourne, Australia
Send PM
Re: History.dat, the XML
12/30/20 10:28 AM


Still has issues:

Code:


$ xmllint --noout history.xml
history.xml:79352: parser error : Opening and ending tag mismatch: system line 65535 and entry
</entry>
^
history.xml:116022: parser error : Opening and ending tag mismatch: system line 65535 and entry
</entry>
^
history.xml:293863: parser error : Opening and ending tag mismatch: entry line 65535 and software
</software>
^
history.xml:385653: parser error : Opening and ending tag mismatch: system line 65535 and entry
</entry>
^
history.xml:463527: parser error : Opening and ending tag mismatch: entry line 65535 and software
</software>
^
history.xml:609256: parser error : Opening and ending tag mismatch: system line 65535 and entry
</entry>
^
history.xml:609968: parser error : Opening and ending tag mismatch: entry line 65535 and software
</software>
^
history.xml:611936: parser error : Opening and ending tag mismatch: system line 65535 and entry
</entry>
^
history.xml:675156: parser error : Opening and ending tag mismatch: system line 65535 and entry
</entry>
^
history.xml:1172185: parser error : Opening and ending tag mismatch: entry line 65535 and software
</software>
^
history.xml:1172221: parser error : Opening and ending tag mismatch: entry line 65535 and software
</software>
^
history.xml:1172235: parser error : Opening and ending tag mismatch: entry line 65535 and software
</software>
^
history.xml:1172249: parser error : Opening and ending tag mismatch: entry line 65535 and software
</software>
^
history.xml:1172258: parser error : Opening and ending tag mismatch: history line 65535 and entry
</entry>
^
history.xml:1172259: parser error : Extra content at the end of the document
<entry>



The issue is an opening tag for a "system" element with no corresponding closing element:

Code:


<entry>
<system>
<software>

<soft list="amiga_workbench" name="amigos35" />
</software>
<text>Commodore Amiga CD published 21 years ago:



What are you using to generate and validate your XML? It would probably be easier if you used some kind of well-tested tools. XML is pretty mature, and there are a lot of tools for working with it.







Entire thread
Subject Posted by Posted on
* History.dat, the XML Alexis B. 12/29/20 05:21 PM
. * Re: History.dat, the XML soviet  12/31/20 09:02 AM
. * Re: History.dat, the XML motoschifo  12/31/20 01:39 PM
. * Re: History.dat, the XML Vas Crabb  12/30/20 01:10 AM
. * Re: History.dat, the XML Alexis B.  12/30/20 09:05 AM
. * Re: History.dat, the XML Vas Crabb  12/30/20 09:28 AM
. * Re: History.dat, the XML Alexis B.  12/30/20 09:32 AM
. * Re: History.dat, the XML Vas Crabb  12/30/20 09:51 AM
. * Re: History.dat, the XML Alexis B.  12/30/20 10:18 AM
. * Re: History.dat, the XML Vas Crabb  12/30/20 10:28 AM
. * Re: History.dat, the XML Alexis B.  12/30/20 01:16 PM
. * Re: History.dat, the XML Vas Crabb  12/30/20 11:08 PM
. * Re: History.dat, the XML Alexis B.  12/31/20 02:46 PM
. * Re: History.dat, the XML crazyc  12/31/20 06:03 PM
. * Re: History.dat, the XML Alexis B.  12/31/20 08:23 PM
. * Re: History.dat, the XML Vas Crabb  12/31/20 09:11 PM
. * Re: History.dat, the XML Alexis B.  12/31/20 09:21 PM
. * Re: History.dat, the XML Alexis B.  12/30/20 11:19 AM
. * Re: History.dat, the XML agard  12/29/20 10:16 PM
. * Re: History.dat, the XML Alexis B.  12/31/20 08:26 AM
. * Re: History.dat, the XML StilettoAdministrator  12/31/20 07:01 PM
. * Re: History.dat, the XML crazyc  12/29/20 07:15 PM
. * Re: History.dat, the XML Alexis B.  12/29/20 08:07 PM
. * Re: History.dat, the XML RaspBear  12/30/20 02:53 AM

Extra information Permissions
Moderator:  John IV, Robbbert, Tafoid 
1 registered and 98 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3493