]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blobdiff - src/TSN/XML/GameInfo.hs
Add SportInfo support for CBASK_FGPctXML.dtd.
[dead/htsn-import.git] / src / TSN / XML / GameInfo.hs
index c6b90e01ca2a4d28e3ec8a344b10387f07878576..421d28693b6d0e7678432c9ccfdbc930db06013f 100644 (file)
@@ -54,7 +54,7 @@ import Xml (
   unsafe_read_document )
 
 
--- | The DTDs for everything that we consider "Game Info."
+-- | The DTDs for everything that we consider \"Game Info.\"
 --
 --   TODO: This is the list from the old implementation. We need to
 --   make sure that we are really receiving XML for these DTDs
@@ -80,8 +80,7 @@ dtds =
     "NFL_NCAA_FB_Matchup_XML.dtd",
     "nhlpreviewxml.dtd",
     "recapxml.dtd",
-    "WorldBaseballPreviewXML.dtd" -- missing DTD
-  ]
+    "WorldBaseballPreviewXML.dtd" ]
 
 
 -- | XML representation of a GameInfo \<message\>.
@@ -201,7 +200,8 @@ gameinfo_test_files =
     "test/xml/gameinfo/nflpreviewxml.xml",
     "test/xml/gameinfo/NFL_NCAA_FB_Matchup_XML.xml",
     "test/xml/gameinfo/nhlpreviewxml.xml",
-    "test/xml/gameinfo/recapxml.xml" ]
+    "test/xml/gameinfo/recapxml.xml",
+    "test/xml/gameinfo/WorldBaseballPreviewXML.xml" ]
 
 
 -- | Make sure we can parse every element of 'gameinfo_test_files'.