]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blobdiff - src/TSN/XML/GameInfo.hs
Add GameInfo support for CBASK_Lineup_XML.dtd.
[dead/htsn-import.git] / src / TSN / XML / GameInfo.hs
index f5b64e3cd4b0cd510f27f605d914953329a26b25..dcff90c572876a45b8089502b739b1a5c8abb2d0 100644 (file)
@@ -60,9 +60,14 @@ 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", -- missing DTD
+  [ "CBASK_Lineup_XML.dtd", -- TSN DTD
     "cbaskpreviewxml.dtd", -- missing DTD
     "cflpreviewxml.dtd", -- missing DTD
     "Matchup_NBA_NHL_XML.dtd", -- missing DTD
@@ -186,7 +191,8 @@ gameinfo_tests =
 --
 gameinfo_test_files :: [FilePath]
 gameinfo_test_files =
-  [ "test/xml/gameinfo/MLB_Gaming_Matchup_XML.xml",
+  [ "test/xml/gameinfo/CBASK_Lineup_XML.xml",
+    "test/xml/gameinfo/MLB_Gaming_Matchup_XML.xml",
     "test/xml/gameinfo/MLB_Lineup_XML.xml",
     "test/xml/gameinfo/MLB_Matchup_XML.xml",
     "test/xml/gameinfo/mlbpreviewxml.xml",