]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blobdiff - src/TSN/XML/GameInfo.hs
Add GameInfo support for cflpreviewxml.dtd.
[dead/htsn-import.git] / src / TSN / XML / GameInfo.hs
index 4cb325c94b568b59db4121372ef93d9862dc4042..691d9a992538d8230f64b44dcd98abdebd95547a 100644 (file)
@@ -60,16 +60,11 @@ import Xml (
 --   make sure that we are really receiving XML for these DTDs
 --   (i.e. the names are correct).
 --
---   Those marked \"TSN DTD\" are the ones for which we did not
---   receive any XML during implementation; therefore the TSN DTD was
---   used. This matters because it is almost certainly incorrect, so
---   we can expect import failures when we finally do see some XML.
---
 dtds :: [String]
 dtds =
-  [ "CBASK_Lineup_XML.dtd", -- TSN DTD
+  [ "CBASK_Lineup_XML.dtd",
     "cbaskpreviewxml.dtd",
-    "cflpreviewxml.dtd", -- missing DTD
+    "cflpreviewxml.dtd",
     "Matchup_NBA_NHL_XML.dtd", -- missing DTD
     "mlbpreviewxml.dtd",
     "MLB_Gaming_Matchup_XML.dtd",
@@ -193,6 +188,7 @@ gameinfo_test_files :: [FilePath]
 gameinfo_test_files =
   [ "test/xml/gameinfo/CBASK_Lineup_XML.xml",
     "test/xml/gameinfo/cbaskpreviewxml.xml",
+    "test/xml/gameinfo/cflpreviewxml.xml",
     "test/xml/gameinfo/MLB_Gaming_Matchup_XML.xml",
     "test/xml/gameinfo/MLB_Lineup_XML.xml",
     "test/xml/gameinfo/MLB_Matchup_XML.xml",