From: Michael Orlitzky Date: Mon, 23 Jun 2014 13:57:56 +0000 (-0400) Subject: Add SportInfo support for NFLSackLeadersXML.dtd. X-Git-Tag: 0.0.6~98 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=013f57feae7dc719269990544d076a2b4bb108c4;p=dead%2Fhtsn-import.git Add SportInfo support for NFLSackLeadersXML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 76927ec..03f9543 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -322,6 +322,8 @@ NFLMondayNightXML.dtd NFLPassLeadXML.dtd .IP \[bu] NFLQBStartsXML.dtd +.IP \[bu] +NFLSackLeadersXML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/NFLSackLeadersXML.dtd b/schema/NFLSackLeadersXML.dtd new file mode 100644 index 0000000..7f6a5e9 --- /dev/null +++ b/schema/NFLSackLeadersXML.dtd @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/NFLSackLeadersXML/NFLSackLeadersXML.xml b/schemagen/NFLSackLeadersXML/NFLSackLeadersXML.xml new file mode 100644 index 0000000..2a7c46b --- /dev/null +++ b/schemagen/NFLSackLeadersXML/NFLSackLeadersXML.xml @@ -0,0 +1,85 @@ + + + +892494 +ABX%AFC-SACKS +Statistics +NFL +2003 AFC Top Sack Leaders ++1 +Shaun Ellis, NYJ +9 + ++2 +Adewale Ogunleye, MIA +7 + ++3 +Bertrand Berry, DEN +6.5 + ++ +Jevon Kearse, TEN +6.5 + ++ +John Abraham, NYJ +6 + ++ +Courtney Brown, CLE +6 + ++7 +Trevor Pryce, DEN +5 + ++ +Reggie Hayward, DEN +5 + ++9 +Dequincy Scott, SD +4.5 + ++ +Aaron Schobel, BUF +4 + ++ +Mike Vrabel, NE +4 + ++ +Dwight Freeney, IND +4 + ++ +Duane Clemons, CIN +4 + ++ +Vonnie Holliday, KC +4 + ++ +Scott Fujita, KC +4 + + October 29, 2003, at 03:13 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 5e53ba6..c1da0e9 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -182,9 +182,9 @@ dtds = "NFLPassingLeadersXML.dtd", -- no xml "NFLPassLeadXML.dtd", "NFLQBStartsXML.dtd", - "NFLReceivingLeadersXML.dtd", -- no dtd - "NFLRushingLeadersXML.dtd", -- no dtd - "NFLSackLeadersXML.dtd", -- no dtd + "NFLReceivingLeadersXML.dtd", -- no xml + "NFLRushingLeadersXML.dtd", -- no xml + "NFLSackLeadersXML.dtd", "nflstandxml.dtd", -- no dtd "NFLTackleFFLeadersXML.dtd", -- no dtd "NFLTeamRankingsXML.dtd", -- no dtd @@ -422,7 +422,8 @@ sport_info_test_files = "NFLKickoffsXML.xml", "NFLMondayNightXML.xml", "NFLPassLeadXML.xml", - "NFLQBStartsXML.xml" + "NFLQBStartsXML.xml", + "NFLSackLeadersXML.xml" ] diff --git a/test/xml/sportinfo/NFLSackLeadersXML.dtd b/test/xml/sportinfo/NFLSackLeadersXML.dtd new file mode 100644 index 0000000..7f6a5e9 --- /dev/null +++ b/test/xml/sportinfo/NFLSackLeadersXML.dtd @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/NFLSackLeadersXML.xml b/test/xml/sportinfo/NFLSackLeadersXML.xml new file mode 100644 index 0000000..2a7c46b --- /dev/null +++ b/test/xml/sportinfo/NFLSackLeadersXML.xml @@ -0,0 +1,85 @@ + + + +892494 +ABX%AFC-SACKS +Statistics +NFL +2003 AFC Top Sack Leaders ++1 +Shaun Ellis, NYJ +9 + ++2 +Adewale Ogunleye, MIA +7 + ++3 +Bertrand Berry, DEN +6.5 + ++ +Jevon Kearse, TEN +6.5 + ++ +John Abraham, NYJ +6 + ++ +Courtney Brown, CLE +6 + ++7 +Trevor Pryce, DEN +5 + ++ +Reggie Hayward, DEN +5 + ++9 +Dequincy Scott, SD +4.5 + ++ +Aaron Schobel, BUF +4 + ++ +Mike Vrabel, NE +4 + ++ +Dwight Freeney, IND +4 + ++ +Duane Clemons, CIN +4 + ++ +Vonnie Holliday, KC +4 + ++ +Scott Fujita, KC +4 + + October 29, 2003, at 03:13 PM ET +