From: Michael Orlitzky Date: Sun, 22 Jun 2014 21:27:11 +0000 (-0400) Subject: Add SportInfo support for nbadivisionsxml.dtd. X-Git-Tag: 0.0.6~119 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=5fef8ad6148a61581359c9b35e813e2618962b85;p=dead%2Fhtsn-import.git Add SportInfo support for nbadivisionsxml.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index db23378..7b01aea 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -280,6 +280,8 @@ NBABlocksXML.dtd nbaconfrecxml.dtd .IP \[bu] nbadaysxml.dtd +.IP \[bu] +nbadivisionsxml.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/nbadivisionsxml.dtd b/schema/nbadivisionsxml.dtd new file mode 100644 index 0000000..3aaad01 --- /dev/null +++ b/schema/nbadivisionsxml.dtd @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/nbadivisionsxml/nbadivisionsxml.xml b/schemagen/nbadivisionsxml/nbadivisionsxml.xml new file mode 100644 index 0000000..47d3777 --- /dev/null +++ b/schemagen/nbadivisionsxml/nbadivisionsxml.xml @@ -0,0 +1,293 @@ + + + +2210615 +ACX%DIVISIONS +Statistics +NBA +2004-2005 NBA Statistics - Versus All Divisions + ++Atlanta +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Boston +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Charlotte +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Chicago +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Cleveland +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Detroit +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Indiana +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Miami +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Milwaukee +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++New Jersey +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++New York +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Orlando +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Philadelphia +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Toronto +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Washington +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + + + ++Dallas +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Denver +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Golden State +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Houston +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Los Angeles +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Los Angeles +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Memphis +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Minnesota +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++New Orleans +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Phoenix +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Portland +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Sacramento +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++San Antonio +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Seattle +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Utah +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++ + + + + + + + + + November 1, 2004, at 12:21 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 1e307cd..ba31ba2 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -158,7 +158,7 @@ dtds = "NBABlocksXML.dtd", "nbaconfrecxml.dtd", "nbadaysxml.dtd", - "nbadivisionsxml.dtd", -- no dtd + "nbadivisionsxml.dtd", "NBAFGPctXML.dtd", -- no dtd "NBAFoulsXML.dtd", -- no dtd "NBAFTPctXML.dtd", -- no dtd @@ -401,7 +401,8 @@ sport_info_test_files = "NBAAssistsXML.xml", "NBABlocksXML.xml", "nbaconfrecxml.xml", - "nbadaysxml.xml" + "nbadaysxml.xml", + "nbadivisionsxml.xml" ] diff --git a/test/xml/sportinfo/nbadivisionsxml.dtd b/test/xml/sportinfo/nbadivisionsxml.dtd new file mode 100644 index 0000000..3aaad01 --- /dev/null +++ b/test/xml/sportinfo/nbadivisionsxml.dtd @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/nbadivisionsxml.xml b/test/xml/sportinfo/nbadivisionsxml.xml new file mode 100644 index 0000000..47d3777 --- /dev/null +++ b/test/xml/sportinfo/nbadivisionsxml.xml @@ -0,0 +1,293 @@ + + + +2210615 +ACX%DIVISIONS +Statistics +NBA +2004-2005 NBA Statistics - Versus All Divisions + ++Atlanta +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Boston +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Charlotte +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Chicago +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Cleveland +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Detroit +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Indiana +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Miami +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Milwaukee +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++New Jersey +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++New York +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Orlando +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Philadelphia +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Toronto +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Washington +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + + + ++Dallas +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Denver +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Golden State +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Houston +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Los Angeles +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Los Angeles +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Memphis +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Minnesota +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++New Orleans +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Phoenix +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Portland +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Sacramento +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++San Antonio +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Seattle +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++Utah +0-0 +0-0 +0-0 +0-0 +0-0 +0-0 + ++ + + + + + + + + + November 1, 2004, at 12:21 PM ET +