Compliance with the Logiqx DTD

Post bug reports and suggestions for the website, forums and DOM here.
Post Reply
User avatar
Telen
Posts: 1
Joined: 04 May 2022 19:12

Compliance with the Logiqx DTD

Post by Telen »

Every datfiles from no-intro declare to respect the Logiqx DTD found here: http://www.logiqx.com/Dats/datafile.dtd

Code: Select all

<?xml version="1.0"?>
<!DOCTYPE datafile PUBLIC "-//Logiqx//DTD ROM Management Datafile//EN" "http://www.logiqx.com/Dats/datafile.dtd">
<datafile>
	<...>
But it's not exactly correct. For example the last NES datfile (i.e. Nintendo - Nintendo Entertainment System (Headered) (20220520-163123).dat) adds two new attributes sha256 and header to the rom element, so this datfile is not a valid Logiqx document and cannot be validated by a script.

You should probably create your own DTD (e.g. https://no-intro.org/datafile.dtd), forked from Logiqx but with additions, and use it in each datfile.
Last edited by Telen on 23 May 2022 14:10, edited 1 time in total.
User avatar
xuom2
High Council
Posts: 942
Joined: 22 May 2008 18:45

Re: Compliance with the Logiqx DTD

Post by xuom2 »

true, this will be done soon.
Post Reply