From: Michael Orlitzky Date: Sun, 22 Jun 2014 19:27:40 +0000 (-0400) Subject: Add SportInfo support for MLB_Pitching_Win_Percentage_Leaders.dtd. X-Git-Tag: 0.0.6~127 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=6b59880ea62935460cf5658840bb1467f3400b4d;p=dead%2Fhtsn-import.git Add SportInfo support for MLB_Pitching_Win_Percentage_Leaders.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 963f450..cf8e0d7 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -264,6 +264,8 @@ MLB_Pitching_Walks_Leaders.dtd MLB_Pitching_WHIP_Leaders.dtd .IP \[bu] MLB_Pitching_Wild_Pitches_Leaders.dtd +.IP \[bu] +MLB_Pitching_Win_Percentage_Leaders.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/MLB_Pitching_Win_Percentage_Leaders.dtd b/schema/MLB_Pitching_Win_Percentage_Leaders.dtd new file mode 100644 index 0000000..b9b8070 --- /dev/null +++ b/schema/MLB_Pitching_Win_Percentage_Leaders.dtd @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/MLB_Pitching_Win_Percentage_Leaders/MLB_Pitching_Win_Percentage_Leaders.xml b/schemagen/MLB_Pitching_Win_Percentage_Leaders/MLB_Pitching_Win_Percentage_Leaders.xml new file mode 100644 index 0000000..1181f0c --- /dev/null +++ b/schemagen/MLB_Pitching_Win_Percentage_Leaders/MLB_Pitching_Win_Percentage_Leaders.xml @@ -0,0 +1,292 @@ + + + +1789619 +AAX%AL-WINS-LOSSES-LEADERS +Statistics +MLB +2002 AL Wins - Losses Percentage Leaders + ++1 +Barry Zito, OAK +0.833 +10 +2 + ++2 +Pedro Martinez, BOS +0.800 +8 +2 + ++3 +Derek Lowe, BOS +0.786 +11 +3 + ++4 +Jarrod Washburn, ANA +0.778 +7 +2 + ++5 +Mike Mussina, NYY +0.769 +10 +3 + ++6 +Roy Halladay, TOR +0.750 +9 +3 + ++ +Tony Fiore, MIN +0.750 +6 +2 + ++8 +Roger Clemens, NYY +0.727 +8 +3 + ++9 +Bartolo Colon, CLE +0.714 +10 +4 + ++10 +John Burkett, BOS +0.700 +7 +3 + ++11 +Jamie Moyer, SEA +0.700 +7 +3 + ++12 +Joel Pineiro, SEA +0.700 +7 +3 + ++13 +Freddy Garcia, SEA +0.667 +10 +5 + ++14 +Mark Buehrle, SOX +0.667 +10 +5 + ++15 +Kenny Rogers, TEX +0.667 +8 +4 + ++16 +Mark Mulder, OAK +0.667 +8 +4 + ++17 +Rick Reed, MIN +0.667 +6 +3 + ++18 +Rodrigo Lopez, BAL +0.667 +6 +3 + ++19 +Paul Byrd, KC +0.643 +9 +5 + ++20 +Eric Milton, MIN +0.615 +8 +5 + ++21 +Ramon Ortiz, ANA +0.615 +8 +5 + ++22 +David Wells, NYY +0.583 +7 +5 + ++23 +Ryan Drese, CLE +0.583 +7 +5 + ++24 +Scott Schoeneweis, ANA +0.545 +6 +5 + ++25 +Aaron Sele, ANA +0.545 +6 +5 + ++26 +Jon Garland, SOX +0.545 +6 +5 + ++27 +Kyle Lohse, MIN +0.545 +6 +5 + ++28 +Kevin Appier, ANA +0.500 +6 +6 + ++ +Danys Baez, CLE +0.500 +5 +5 + ++ +Dave Burba, TEX +0.500 +4 +4 + ++ +Jorge Julio, BAL +0.500 +4 +4 + ++ +Justin Miller, TOR +0.500 +4 +4 + ++33 +James Baldwin, SEA +0.455 +5 +6 + ++34 +Tim Hudson, OAK +0.455 +5 +6 + ++35 +Jeff Suppan, KC +0.455 +5 +6 + ++36 +C.C. Sabathia, CLE +0.455 +5 +6 + ++37 +Joe Kennedy, TB +0.455 +5 +6 + ++38 +Darren Oliver, BOS +0.444 +4 +5 + ++39 +Kelvim Escobar, TOR +0.429 +3 +4 + ++40 +Esteban Loaiza, TOR +0.429 +3 +4 + + + June 25, 2002, at 02:48 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index c4a31e3..ddfc358 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -150,7 +150,7 @@ dtds = "MLB_Pitching_Walks_Leaders.dtd", "MLB_Pitching_WHIP_Leaders.dtd", "MLB_Pitching_Wild_Pitches_Leaders.dtd", - "MLB_Pitching_Win_Percentage_Leaders.dtd", -- no dtd + "MLB_Pitching_Win_Percentage_Leaders.dtd", "MLB_Pitching_WL_Leaders.dtd", -- no dtd "NBA_Team_Stats_XML.dtd", -- no dtd "NBA3PPctXML.dtd", -- no dtd @@ -393,7 +393,8 @@ sport_info_test_files = "MLB_Pitching_Strike_Outs_Leaders.xml", "MLB_Pitching_Walks_Leaders.xml", "MLB_Pitching_WHIP_Leaders.xml", - "MLB_Pitching_Wild_Pitches_Leaders.xml" + "MLB_Pitching_Wild_Pitches_Leaders.xml", + "MLB_Pitching_Win_Percentage_Leaders.xml" ] diff --git a/test/xml/sportinfo/MLB_Pitching_Win_Percentage_Leaders.dtd b/test/xml/sportinfo/MLB_Pitching_Win_Percentage_Leaders.dtd new file mode 100644 index 0000000..b9b8070 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Win_Percentage_Leaders.dtd @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/MLB_Pitching_Win_Percentage_Leaders.xml b/test/xml/sportinfo/MLB_Pitching_Win_Percentage_Leaders.xml new file mode 100644 index 0000000..1181f0c --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Win_Percentage_Leaders.xml @@ -0,0 +1,292 @@ + + + +1789619 +AAX%AL-WINS-LOSSES-LEADERS +Statistics +MLB +2002 AL Wins - Losses Percentage Leaders + ++1 +Barry Zito, OAK +0.833 +10 +2 + ++2 +Pedro Martinez, BOS +0.800 +8 +2 + ++3 +Derek Lowe, BOS +0.786 +11 +3 + ++4 +Jarrod Washburn, ANA +0.778 +7 +2 + ++5 +Mike Mussina, NYY +0.769 +10 +3 + ++6 +Roy Halladay, TOR +0.750 +9 +3 + ++ +Tony Fiore, MIN +0.750 +6 +2 + ++8 +Roger Clemens, NYY +0.727 +8 +3 + ++9 +Bartolo Colon, CLE +0.714 +10 +4 + ++10 +John Burkett, BOS +0.700 +7 +3 + ++11 +Jamie Moyer, SEA +0.700 +7 +3 + ++12 +Joel Pineiro, SEA +0.700 +7 +3 + ++13 +Freddy Garcia, SEA +0.667 +10 +5 + ++14 +Mark Buehrle, SOX +0.667 +10 +5 + ++15 +Kenny Rogers, TEX +0.667 +8 +4 + ++16 +Mark Mulder, OAK +0.667 +8 +4 + ++17 +Rick Reed, MIN +0.667 +6 +3 + ++18 +Rodrigo Lopez, BAL +0.667 +6 +3 + ++19 +Paul Byrd, KC +0.643 +9 +5 + ++20 +Eric Milton, MIN +0.615 +8 +5 + ++21 +Ramon Ortiz, ANA +0.615 +8 +5 + ++22 +David Wells, NYY +0.583 +7 +5 + ++23 +Ryan Drese, CLE +0.583 +7 +5 + ++24 +Scott Schoeneweis, ANA +0.545 +6 +5 + ++25 +Aaron Sele, ANA +0.545 +6 +5 + ++26 +Jon Garland, SOX +0.545 +6 +5 + ++27 +Kyle Lohse, MIN +0.545 +6 +5 + ++28 +Kevin Appier, ANA +0.500 +6 +6 + ++ +Danys Baez, CLE +0.500 +5 +5 + ++ +Dave Burba, TEX +0.500 +4 +4 + ++ +Jorge Julio, BAL +0.500 +4 +4 + ++ +Justin Miller, TOR +0.500 +4 +4 + ++33 +James Baldwin, SEA +0.455 +5 +6 + ++34 +Tim Hudson, OAK +0.455 +5 +6 + ++35 +Jeff Suppan, KC +0.455 +5 +6 + ++36 +C.C. Sabathia, CLE +0.455 +5 +6 + ++37 +Joe Kennedy, TB +0.455 +5 +6 + ++38 +Darren Oliver, BOS +0.444 +4 +5 + ++39 +Kelvim Escobar, TOR +0.429 +3 +4 + ++40 +Esteban Loaiza, TOR +0.429 +3 +4 + + + June 25, 2002, at 02:48 PM ET +