From: Michael Orlitzky Date: Sun, 22 Jun 2014 17:28:20 +0000 (-0400) Subject: Add SportInfo support for MLB_Pitching_Wild_Pitches_Leaders.dtd. X-Git-Tag: 0.0.6~128 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=00fd3d5b3b41cbb9691bbf6612cb72b099bd2b77;p=dead%2Fhtsn-import.git Add SportInfo support for MLB_Pitching_Wild_Pitches_Leaders.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 334208c..963f450 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -262,6 +262,8 @@ MLB_Pitching_Strike_Outs_Leaders.dtd MLB_Pitching_Walks_Leaders.dtd .IP \[bu] MLB_Pitching_WHIP_Leaders.dtd +.IP \[bu] +MLB_Pitching_Wild_Pitches_Leaders.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/MLB_Pitching_Wild_Pitches_Leaders.dtd b/schema/MLB_Pitching_Wild_Pitches_Leaders.dtd new file mode 100644 index 0000000..c599bf1 --- /dev/null +++ b/schema/MLB_Pitching_Wild_Pitches_Leaders.dtd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/MLB_Pitching_Wild_Pitches_Leaders/MLB_Pitching_Wild_Pitches_Leaders.xml b/schemagen/MLB_Pitching_Wild_Pitches_Leaders/MLB_Pitching_Wild_Pitches_Leaders.xml new file mode 100644 index 0000000..1e426a2 --- /dev/null +++ b/schemagen/MLB_Pitching_Wild_Pitches_Leaders/MLB_Pitching_Wild_Pitches_Leaders.xml @@ -0,0 +1,212 @@ + + + +191797 +AAX%AL-WILDPITCHES-LEADERS +Statistics +MLB +2002 AL Wild Pitches Leaders + ++1 +Ryan Drese, CLE +9 + ++2 +Mark Redman, DET +8 + ++3 +Dave Burba, TEX +6 + ++4 +Kyle Lohse, MIN +5 + ++ +Roger Clemens, NYY +5 + ++ +Ted Lilly, NYY +5 + ++ +Victor Zambrano, TB +5 + ++ +Todd Ritchie, SOX +5 + ++ +Miguel Asencio, KC +5 + ++ +Mac Suzuki, KC +5 + ++11 +Jason Grimsley, KC +4 + ++ +Joel Pineiro, SEA +4 + ++ +Mark Mulder, OAK +4 + ++ +Mark Wohlers, CLE +4 + ++ +Danny Wright, SOX +4 + ++ +Ryan Rupe, TB +4 + ++ +Mike Mussina, NYY +4 + ++ +Jeremy Affeldt, KC +4 + ++ +Johan Santana, MIN +4 + ++ +Matt Kinney, MIN +4 + ++21 +Bartolo Colon, CLE +3 + ++ +Randy Choate, NYY +3 + ++ +Luke Prokopec, TOR +3 + ++ +Jarrod Washburn, ANA +3 + ++ +Scott Eyre, TOR +3 + ++ +Felix Heredia, TOR +3 + ++ +Scott Erickson, BAL +3 + ++ +J.C. Romero, MIN +3 + ++ +Gary Glover, SOX +3 + ++ +Jeff Weaver, DET +3 + ++ +Hideki Irabu, TEX +3 + ++ +Tim Hudson, OAK +3 + ++ +Kazuhiro Sasaki, SEA +3 + ++ +C.C. Sabathia, CLE +3 + ++ +Troy Percival, ANA +3 + ++ +Steve Sparks, DET +3 + ++ +Dan Reichert, KC +3 + ++ +Aaron Sele, ANA +3 + ++ +Rudy Seanez, TEX +3 + ++ +Rob Bell, TEX +3 + + + June 25, 2002, at 02:06 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 25aefda..c4a31e3 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -149,7 +149,7 @@ dtds = "MLB_Pitching_Strike_Outs_Leaders.dtd", "MLB_Pitching_Walks_Leaders.dtd", "MLB_Pitching_WHIP_Leaders.dtd", - "MLB_Pitching_Wild_Pitches_Leaders.dtd", -- no dtd + "MLB_Pitching_Wild_Pitches_Leaders.dtd", "MLB_Pitching_Win_Percentage_Leaders.dtd", -- no dtd "MLB_Pitching_WL_Leaders.dtd", -- no dtd "NBA_Team_Stats_XML.dtd", -- no dtd @@ -392,7 +392,8 @@ sport_info_test_files = "MLB_Pitching_Starts_Leaders.xml", "MLB_Pitching_Strike_Outs_Leaders.xml", "MLB_Pitching_Walks_Leaders.xml", - "MLB_Pitching_WHIP_Leaders.xml" + "MLB_Pitching_WHIP_Leaders.xml", + "MLB_Pitching_Wild_Pitches_Leaders.xml" ] diff --git a/test/xml/sportinfo/MLB_Pitching_Wild_Pitches_Leaders.dtd b/test/xml/sportinfo/MLB_Pitching_Wild_Pitches_Leaders.dtd new file mode 100644 index 0000000..c599bf1 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Wild_Pitches_Leaders.dtd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/MLB_Pitching_Wild_Pitches_Leaders.xml b/test/xml/sportinfo/MLB_Pitching_Wild_Pitches_Leaders.xml new file mode 100644 index 0000000..1e426a2 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Wild_Pitches_Leaders.xml @@ -0,0 +1,212 @@ + + + +191797 +AAX%AL-WILDPITCHES-LEADERS +Statistics +MLB +2002 AL Wild Pitches Leaders + ++1 +Ryan Drese, CLE +9 + ++2 +Mark Redman, DET +8 + ++3 +Dave Burba, TEX +6 + ++4 +Kyle Lohse, MIN +5 + ++ +Roger Clemens, NYY +5 + ++ +Ted Lilly, NYY +5 + ++ +Victor Zambrano, TB +5 + ++ +Todd Ritchie, SOX +5 + ++ +Miguel Asencio, KC +5 + ++ +Mac Suzuki, KC +5 + ++11 +Jason Grimsley, KC +4 + ++ +Joel Pineiro, SEA +4 + ++ +Mark Mulder, OAK +4 + ++ +Mark Wohlers, CLE +4 + ++ +Danny Wright, SOX +4 + ++ +Ryan Rupe, TB +4 + ++ +Mike Mussina, NYY +4 + ++ +Jeremy Affeldt, KC +4 + ++ +Johan Santana, MIN +4 + ++ +Matt Kinney, MIN +4 + ++21 +Bartolo Colon, CLE +3 + ++ +Randy Choate, NYY +3 + ++ +Luke Prokopec, TOR +3 + ++ +Jarrod Washburn, ANA +3 + ++ +Scott Eyre, TOR +3 + ++ +Felix Heredia, TOR +3 + ++ +Scott Erickson, BAL +3 + ++ +J.C. Romero, MIN +3 + ++ +Gary Glover, SOX +3 + ++ +Jeff Weaver, DET +3 + ++ +Hideki Irabu, TEX +3 + ++ +Tim Hudson, OAK +3 + ++ +Kazuhiro Sasaki, SEA +3 + ++ +C.C. Sabathia, CLE +3 + ++ +Troy Percival, ANA +3 + ++ +Steve Sparks, DET +3 + ++ +Dan Reichert, KC +3 + ++ +Aaron Sele, ANA +3 + ++ +Rudy Seanez, TEX +3 + ++ +Rob Bell, TEX +3 + + + June 25, 2002, at 02:06 PM ET +