From: Michael Orlitzky Date: Sun, 22 Jun 2014 17:20:03 +0000 (-0400) Subject: Add SportInfo support for MLB_Pitching_WHIP_Leaders.dtd. X-Git-Tag: 0.0.6~129 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=dc1c6a84bb8a90935c1230752fce8d5f49ab84e0;p=dead%2Fhtsn-import.git Add SportInfo support for MLB_Pitching_WHIP_Leaders.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index b826272..334208c 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -260,6 +260,8 @@ MLB_Pitching_Starts_Leaders.dtd MLB_Pitching_Strike_Outs_Leaders.dtd .IP \[bu] MLB_Pitching_Walks_Leaders.dtd +.IP \[bu] +MLB_Pitching_WHIP_Leaders.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/MLB_Pitching_WHIP_Leaders.dtd b/schema/MLB_Pitching_WHIP_Leaders.dtd new file mode 100644 index 0000000..42a21ea --- /dev/null +++ b/schema/MLB_Pitching_WHIP_Leaders.dtd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/MLB_Pitching_WHIP_Leaders/MLB_Pitching_WHIP_Leaders.xml b/schemagen/MLB_Pitching_WHIP_Leaders/MLB_Pitching_WHIP_Leaders.xml new file mode 100644 index 0000000..fbf24dd --- /dev/null +++ b/schemagen/MLB_Pitching_WHIP_Leaders/MLB_Pitching_WHIP_Leaders.xml @@ -0,0 +1,372 @@ + + + +9907817 +AAX%AL-WHIP-LEADERS +Statistics +MLB +2002 AL WHIP Leaders + ++1 +Derek Lowe, BOS +0.88 +24 +68 +104.1 + ++2 +Pedro Martinez, BOS +0.98 +21 +80 +102.2 + ++3 +Jamie Moyer, SEA +1.05 +26 +93 +113.1 + ++4 +Ramon Ortiz, ANA +1.07 +31 +86 +109.0 + ++5 +Freddy Garcia, SEA +1.09 +25 +98 +113.1 + ++6 +Barry Zito, OAK +1.13 +34 +82 +102.2 + ++7 +Paul Byrd, KC +1.14 +16 +95 +97.1 + ++8 +Mike Mussina, NYY +1.15 +23 +96 +103.2 + ++9 +Ryan Rupe, TB +1.15 +22 +79 +87.2 + ++10 +Rodrigo Lopez, BAL +1.15 +29 +78 +92.2 + ++11 +Bartolo Colon, CLE +1.16 +31 +104 +116.1 + ++12 +Roy Halladay, TOR +1.19 +26 +108 +113.0 + ++13 +Ismael Valdes, TEX +1.19 +23 +88 +93.1 + ++14 +Mark Buehrle, SOX +1.20 +35 +104 +116.0 + ++15 +Jeff Weaver, DET +1.20 +32 +105 +114.0 + ++16 +Rick Reed, MIN +1.20 +13 +86 +82.1 + ++17 +Frank Castillo, BOS +1.23 +29 +80 +88.1 + ++18 +Kenny Rogers, TEX +1.24 +32 +95 +102.2 + ++19 +Jeff Suppan, KC +1.24 +25 +108 +107.1 + ++20 +David Wells, NYY +1.24 +29 +95 +99.2 + ++21 +Joe Kennedy, TB +1.26 +25 +103 +101.1 + ++22 +Jarrod Washburn, ANA +1.27 +28 +90 +92.2 + ++23 +Roger Clemens, NYY +1.29 +40 +100 +108.2 + ++24 +Mark Redman, DET +1.31 +30 +108 +105.2 + ++25 +Eric Milton, MIN +1.31 +18 +111 +98.2 + ++26 +Joel Pineiro, SEA +1.34 +30 +81 +83.0 + ++27 +Tim Hudson, OAK +1.34 +38 +116 +114.2 + ++28 +Sidney Ponson, BAL +1.37 +40 +98 +101.0 + ++29 +Dave Burba, TEX +1.38 +29 +95 +90.0 + ++30 +Paul Wilson, TB +1.38 +31 +101 +95.1 + ++31 +Danny Wright, SOX +1.41 +33 +97 +92.0 + ++32 +James Baldwin, SEA +1.42 +30 +99 +91.0 + ++33 +Jon Garland, SOX +1.44 +39 +93 +91.2 + ++34 +C.C. Sabathia, CLE +1.44 +41 +89 +90.0 + ++35 +Danys Baez, CLE +1.45 +47 +79 +87.0 + ++36 +Chuck Finley, CLE +1.46 +38 +92 +89.0 + ++37 +Kevin Appier, ANA +1.48 +25 +97 +82.1 + ++38 +Scott Schoeneweis, ANA +1.51 +40 +96 +90.1 + ++39 +Kyle Lohse, MIN +1.51 +31 +102 +88.0 + ++40 +Scott Erickson, BAL +1.53 +42 +105 +96.1 + ++41 +Todd Ritchie, SOX +1.57 +34 +122 +99.1 + ++42 +Ryan Drese, CLE +1.61 +37 +99 +84.1 + ++43 +Aaron Sele, ANA +1.66 +29 +119 +89.1 + ++44 +Steve Sparks, DET +1.68 +27 +118 +86.1 + ++45 +Tanyon Sturtze, TB +1.72 +48 +131 +104.1 + + + June 27, 2002, at 12:09 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index a84f66b..25aefda 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -148,7 +148,7 @@ dtds = "MLB_Pitching_Starts_Leaders.dtd", "MLB_Pitching_Strike_Outs_Leaders.dtd", "MLB_Pitching_Walks_Leaders.dtd", - "MLB_Pitching_WHIP_Leaders.dtd", -- no dtd + "MLB_Pitching_WHIP_Leaders.dtd", "MLB_Pitching_Wild_Pitches_Leaders.dtd", -- no dtd "MLB_Pitching_Win_Percentage_Leaders.dtd", -- no dtd "MLB_Pitching_WL_Leaders.dtd", -- no dtd @@ -391,7 +391,8 @@ sport_info_test_files = "MLB_Pitching_Shut_Outs_Leaders.xml", "MLB_Pitching_Starts_Leaders.xml", "MLB_Pitching_Strike_Outs_Leaders.xml", - "MLB_Pitching_Walks_Leaders.xml" + "MLB_Pitching_Walks_Leaders.xml", + "MLB_Pitching_WHIP_Leaders.xml" ] diff --git a/test/xml/sportinfo/MLB_Pitching_WHIP_Leaders.dtd b/test/xml/sportinfo/MLB_Pitching_WHIP_Leaders.dtd new file mode 100644 index 0000000..42a21ea --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_WHIP_Leaders.dtd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/MLB_Pitching_WHIP_Leaders.xml b/test/xml/sportinfo/MLB_Pitching_WHIP_Leaders.xml new file mode 100644 index 0000000..fbf24dd --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_WHIP_Leaders.xml @@ -0,0 +1,372 @@ + + + +9907817 +AAX%AL-WHIP-LEADERS +Statistics +MLB +2002 AL WHIP Leaders + ++1 +Derek Lowe, BOS +0.88 +24 +68 +104.1 + ++2 +Pedro Martinez, BOS +0.98 +21 +80 +102.2 + ++3 +Jamie Moyer, SEA +1.05 +26 +93 +113.1 + ++4 +Ramon Ortiz, ANA +1.07 +31 +86 +109.0 + ++5 +Freddy Garcia, SEA +1.09 +25 +98 +113.1 + ++6 +Barry Zito, OAK +1.13 +34 +82 +102.2 + ++7 +Paul Byrd, KC +1.14 +16 +95 +97.1 + ++8 +Mike Mussina, NYY +1.15 +23 +96 +103.2 + ++9 +Ryan Rupe, TB +1.15 +22 +79 +87.2 + ++10 +Rodrigo Lopez, BAL +1.15 +29 +78 +92.2 + ++11 +Bartolo Colon, CLE +1.16 +31 +104 +116.1 + ++12 +Roy Halladay, TOR +1.19 +26 +108 +113.0 + ++13 +Ismael Valdes, TEX +1.19 +23 +88 +93.1 + ++14 +Mark Buehrle, SOX +1.20 +35 +104 +116.0 + ++15 +Jeff Weaver, DET +1.20 +32 +105 +114.0 + ++16 +Rick Reed, MIN +1.20 +13 +86 +82.1 + ++17 +Frank Castillo, BOS +1.23 +29 +80 +88.1 + ++18 +Kenny Rogers, TEX +1.24 +32 +95 +102.2 + ++19 +Jeff Suppan, KC +1.24 +25 +108 +107.1 + ++20 +David Wells, NYY +1.24 +29 +95 +99.2 + ++21 +Joe Kennedy, TB +1.26 +25 +103 +101.1 + ++22 +Jarrod Washburn, ANA +1.27 +28 +90 +92.2 + ++23 +Roger Clemens, NYY +1.29 +40 +100 +108.2 + ++24 +Mark Redman, DET +1.31 +30 +108 +105.2 + ++25 +Eric Milton, MIN +1.31 +18 +111 +98.2 + ++26 +Joel Pineiro, SEA +1.34 +30 +81 +83.0 + ++27 +Tim Hudson, OAK +1.34 +38 +116 +114.2 + ++28 +Sidney Ponson, BAL +1.37 +40 +98 +101.0 + ++29 +Dave Burba, TEX +1.38 +29 +95 +90.0 + ++30 +Paul Wilson, TB +1.38 +31 +101 +95.1 + ++31 +Danny Wright, SOX +1.41 +33 +97 +92.0 + ++32 +James Baldwin, SEA +1.42 +30 +99 +91.0 + ++33 +Jon Garland, SOX +1.44 +39 +93 +91.2 + ++34 +C.C. Sabathia, CLE +1.44 +41 +89 +90.0 + ++35 +Danys Baez, CLE +1.45 +47 +79 +87.0 + ++36 +Chuck Finley, CLE +1.46 +38 +92 +89.0 + ++37 +Kevin Appier, ANA +1.48 +25 +97 +82.1 + ++38 +Scott Schoeneweis, ANA +1.51 +40 +96 +90.1 + ++39 +Kyle Lohse, MIN +1.51 +31 +102 +88.0 + ++40 +Scott Erickson, BAL +1.53 +42 +105 +96.1 + ++41 +Todd Ritchie, SOX +1.57 +34 +122 +99.1 + ++42 +Ryan Drese, CLE +1.61 +37 +99 +84.1 + ++43 +Aaron Sele, ANA +1.66 +29 +119 +89.1 + ++44 +Steve Sparks, DET +1.68 +27 +118 +86.1 + ++45 +Tanyon Sturtze, TB +1.72 +48 +131 +104.1 + + + June 27, 2002, at 12:09 PM ET +