From: Michael Orlitzky Date: Mon, 23 Jun 2014 13:22:51 +0000 (-0400) Subject: Add SportInfo support for NFLFumbleLeaderXML.dtd. X-Git-Tag: 0.0.6~105 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=64264dbe5fc5d55949adfd40bc45b3ad4d6756e1;p=dead%2Fhtsn-import.git Add SportInfo support for NFLFumbleLeaderXML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index c375b9d..94a9e53 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -308,6 +308,8 @@ NBATurnoversXML.dtd NCAA_Conference_Schedule_XML.dtd .IP \[bu] nflfirstdownxml.dtd +.IP \[bu] +NFLFumbleLeaderXML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/NFLFumbleLeaderXML.dtd b/schema/NFLFumbleLeaderXML.dtd new file mode 100644 index 0000000..eaf3eda --- /dev/null +++ b/schema/NFLFumbleLeaderXML.dtd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/NFLFumbleLeaderXML/NFLFumbleLeaderXML.xml b/schemagen/NFLFumbleLeaderXML/NFLFumbleLeaderXML.xml new file mode 100644 index 0000000..292c14e --- /dev/null +++ b/schemagen/NFLFumbleLeaderXML/NFLFumbleLeaderXML.xml @@ -0,0 +1,100 @@ + + + +892495 +ABX%AFC-FUMBLES-LEADERS +Statistics +NFL +2003 AFC Fumbles Leaders ++1 +Kyle Boller, BAL +7 +3 + ++2 +Tom Brady, NE +6 +2 + ++ +Drew Bledsoe, BUF +6 +4 + ++ +Steve McNair, TEN +6 +1 + ++5 +Ricky Williams, MIA +5 +0 + ++ +Byron Leftwich, JAC +5 +2 + ++ +William Green, CLE +5 +1 + ++8 +Trey Teague, BUF +4 +1 + ++ +Fred Taylor, JAC +4 +1 + ++ +Tommy Maddox, PIT +4 +1 + ++11 +Clinton Portis, DEN +3 +1 + ++ +Santana Moss, NYJ +3 +2 + ++ +Jon Kitna, CIN +3 +1 + ++ +Jamal Lewis, BAL +3 +1 + ++ +Jeff Faine, CLE +3 +1 + + October 29, 2003, at 03:13 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 84f00cd..b1f42ce 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -172,7 +172,7 @@ dtds = "NBATurnoversXML.dtd", "NCAA_Conference_Schedule_XML.dtd", "nflfirstdownxml.dtd", - "NFLFumbleLeaderXML.dtd", -- no dtd + "NFLFumbleLeaderXML.dtd", "NFLGiveTakeXML.dtd", -- no dtd "NFLGrassTurfDomeOutsideXML.dtd", -- no dtd "NFLInside20XML.dtd", -- no dtd @@ -415,7 +415,8 @@ sport_info_test_files = "nbatripledoublexml.xml", "NBATurnoversXML.xml", "NCAA_Conference_Schedule_XML.xml", - "nflfirstdownxml.xml" + "nflfirstdownxml.xml", + "NFLFumbleLeaderXML.xml" ] diff --git a/test/xml/sportinfo/NFLFumbleLeaderXML.dtd b/test/xml/sportinfo/NFLFumbleLeaderXML.dtd new file mode 100644 index 0000000..eaf3eda --- /dev/null +++ b/test/xml/sportinfo/NFLFumbleLeaderXML.dtd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/NFLFumbleLeaderXML.xml b/test/xml/sportinfo/NFLFumbleLeaderXML.xml new file mode 100644 index 0000000..292c14e --- /dev/null +++ b/test/xml/sportinfo/NFLFumbleLeaderXML.xml @@ -0,0 +1,100 @@ + + + +892495 +ABX%AFC-FUMBLES-LEADERS +Statistics +NFL +2003 AFC Fumbles Leaders ++1 +Kyle Boller, BAL +7 +3 + ++2 +Tom Brady, NE +6 +2 + ++ +Drew Bledsoe, BUF +6 +4 + ++ +Steve McNair, TEN +6 +1 + ++5 +Ricky Williams, MIA +5 +0 + ++ +Byron Leftwich, JAC +5 +2 + ++ +William Green, CLE +5 +1 + ++8 +Trey Teague, BUF +4 +1 + ++ +Fred Taylor, JAC +4 +1 + ++ +Tommy Maddox, PIT +4 +1 + ++11 +Clinton Portis, DEN +3 +1 + ++ +Santana Moss, NYJ +3 +2 + ++ +Jon Kitna, CIN +3 +1 + ++ +Jamal Lewis, BAL +3 +1 + ++ +Jeff Faine, CLE +3 +1 + + October 29, 2003, at 03:13 PM ET +