From: Michael Orlitzky Date: Sun, 22 Jun 2014 16:30:47 +0000 (-0400) Subject: Add SportInfo support for MLB_Pitching_IP_Leaders.dtd. X-Git-Tag: 0.0.6~136 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=6e3058ab5671801b79a2963231a4a2a86395f4dc;p=dead%2Fhtsn-import.git Add SportInfo support for MLB_Pitching_IP_Leaders.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 621b7c4..40cde0b 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -246,6 +246,8 @@ MLB_Pitching_Hits_Allowed_Leaders.dtd MLB_Pitching_Hit_Batters_Leaders.dtd .IP \[bu] MLB_Pitching_HR_Allowed_Leaders.dtd +.IP \[bu] +MLB_Pitching_IP_Leaders.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/MLB_Pitching_IP_Leaders.dtd b/schema/MLB_Pitching_IP_Leaders.dtd new file mode 100644 index 0000000..549139a --- /dev/null +++ b/schema/MLB_Pitching_IP_Leaders.dtd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/MLB_Pitching_IP_Leaders/MLB_Pitching_IP_Leaders.xml b/schemagen/MLB_Pitching_IP_Leaders/MLB_Pitching_IP_Leaders.xml new file mode 100644 index 0000000..717148d --- /dev/null +++ b/schemagen/MLB_Pitching_IP_Leaders/MLB_Pitching_IP_Leaders.xml @@ -0,0 +1,332 @@ + + + +91789417 +AAX%AL-TOTALIP-LEADERS +Statistics +MLB +2002 AL Total Innings Pitched Leaders + ++1 +Bartolo Colon, CLE +116.1 +16 +16 +4 + ++2 +Jeff Weaver, DET +114.0 +16 +16 +3 + ++3 +Freddy Garcia, SEA +113.1 +17 +17 +1 + ++4 +Roy Halladay, TOR +113.0 +16 +16 +2 + ++5 +Mark Buehrle, SOX +110.0 +16 +16 +1 + ++6 +Tim Hudson, OAK +108.2 +16 +16 +1 + ++7 +Jamie Moyer, SEA +106.1 +16 +16 +2 + ++8 +Mark Redman, DET +105.2 +15 +15 +2 + ++9 +Derek Lowe, BOS +104.1 +15 +15 +1 + ++10 +Mike Mussina, NYY +103.2 +16 +16 +0 + ++11 +Roger Clemens, NYY +103.0 +16 +16 +0 + ++12 +Kenny Rogers, TEX +102.2 +16 +16 +2 + ++ +Barry Zito, OAK +102.2 +16 +16 +0 + ++14 +Ramon Ortiz, ANA +102.1 +14 +14 +3 + ++15 +Joe Kennedy, TB +101.1 +15 +15 +3 + ++16 +Jeff Suppan, KC +100.1 +16 +16 +1 + ++17 +David Wells, NYY +99.2 +15 +15 +1 + ++18 +Paul Byrd, KC +97.1 +15 +15 +1 + ++ +Tanyon Sturtze, TB +97.1 +15 +15 +0 + ++20 +Scott Erickson, BAL +96.1 +16 +16 +1 + ++21 +Pedro Martinez, BOS +95.2 +15 +15 +1 + ++22 +Paul Wilson, TB +95.1 +14 +14 +1 + ++23 +Sidney Ponson, BAL +95.0 +15 +15 +1 + ++24 +Eric Milton, MIN +94.0 +16 +16 +0 + ++25 +Todd Ritchie, SOX +93.1 +16 +16 +0 + ++26 +Jarrod Washburn, ANA +92.2 +15 +15 +0 + ++27 +Danny Wright, SOX +92.0 +16 +16 +1 + ++28 +Jon Garland, SOX +91.2 +16 +16 +0 + ++29 +C.C. Sabathia, CLE +90.0 +15 +15 +0 + ++ +Dave Burba, TEX +90.0 +16 +15 +1 + ++31 +Aaron Sele, ANA +89.1 +15 +15 +0 + ++32 +Chuck Finley, CLE +89.0 +15 +15 +1 + ++33 +Ryan Rupe, TB +87.2 +14 +14 +2 + ++34 +Rodrigo Lopez, BAL +86.2 +16 +11 +1 + ++35 +Ismael Valdes, TEX +86.1 +14 +14 +0 + ++ +Steve Sparks, DET +86.1 +15 +14 +2 + ++37 +Scott Schoeneweis, ANA +85.2 +14 +14 +0 + ++38 +James Baldwin, SEA +84.0 +14 +14 +0 + ++39 +Joel Pineiro, SEA +83.0 +20 +11 +1 + ++ +Frank Castillo, BOS +83.0 +14 +14 +0 + + + June 25, 2002, at 11:11 AM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index f89dfeb..f063d5d 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -141,7 +141,7 @@ dtds = "MLB_Pitching_Hits_Allowed_Leaders.dtd", "MLB_Pitching_Hit_Batters_Leaders.dtd", "MLB_Pitching_HR_Allowed_Leaders.dtd", - "MLB_Pitching_IP_Leaders.dtd", -- no dtd + "MLB_Pitching_IP_Leaders.dtd", "MLB_Pitching_Runs_Allowed_Leaders.dtd", -- no dtd "MLB_Pitching_Saves_Leaders.dtd", -- no dtd "MLB_Pitching_Shut_Outs_Leaders.dtd", -- no dtd @@ -384,7 +384,8 @@ sport_info_test_files = "MLB_Pitching_ER_Allowed_Leaders.xml", "MLB_Pitching_Hits_Allowed_Leaders.xml", "MLB_Pitching_Hit_Batters_Leaders.xml", - "MLB_Pitching_HR_Allowed_Leaders.xml" + "MLB_Pitching_HR_Allowed_Leaders.xml", + "MLB_Pitching_IP_Leaders.xml" ] diff --git a/test/xml/sportinfo/MLB_Pitching_IP_Leaders.dtd b/test/xml/sportinfo/MLB_Pitching_IP_Leaders.dtd new file mode 100644 index 0000000..549139a --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_IP_Leaders.dtd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/MLB_Pitching_IP_Leaders.xml b/test/xml/sportinfo/MLB_Pitching_IP_Leaders.xml new file mode 100644 index 0000000..717148d --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_IP_Leaders.xml @@ -0,0 +1,332 @@ + + + +91789417 +AAX%AL-TOTALIP-LEADERS +Statistics +MLB +2002 AL Total Innings Pitched Leaders + ++1 +Bartolo Colon, CLE +116.1 +16 +16 +4 + ++2 +Jeff Weaver, DET +114.0 +16 +16 +3 + ++3 +Freddy Garcia, SEA +113.1 +17 +17 +1 + ++4 +Roy Halladay, TOR +113.0 +16 +16 +2 + ++5 +Mark Buehrle, SOX +110.0 +16 +16 +1 + ++6 +Tim Hudson, OAK +108.2 +16 +16 +1 + ++7 +Jamie Moyer, SEA +106.1 +16 +16 +2 + ++8 +Mark Redman, DET +105.2 +15 +15 +2 + ++9 +Derek Lowe, BOS +104.1 +15 +15 +1 + ++10 +Mike Mussina, NYY +103.2 +16 +16 +0 + ++11 +Roger Clemens, NYY +103.0 +16 +16 +0 + ++12 +Kenny Rogers, TEX +102.2 +16 +16 +2 + ++ +Barry Zito, OAK +102.2 +16 +16 +0 + ++14 +Ramon Ortiz, ANA +102.1 +14 +14 +3 + ++15 +Joe Kennedy, TB +101.1 +15 +15 +3 + ++16 +Jeff Suppan, KC +100.1 +16 +16 +1 + ++17 +David Wells, NYY +99.2 +15 +15 +1 + ++18 +Paul Byrd, KC +97.1 +15 +15 +1 + ++ +Tanyon Sturtze, TB +97.1 +15 +15 +0 + ++20 +Scott Erickson, BAL +96.1 +16 +16 +1 + ++21 +Pedro Martinez, BOS +95.2 +15 +15 +1 + ++22 +Paul Wilson, TB +95.1 +14 +14 +1 + ++23 +Sidney Ponson, BAL +95.0 +15 +15 +1 + ++24 +Eric Milton, MIN +94.0 +16 +16 +0 + ++25 +Todd Ritchie, SOX +93.1 +16 +16 +0 + ++26 +Jarrod Washburn, ANA +92.2 +15 +15 +0 + ++27 +Danny Wright, SOX +92.0 +16 +16 +1 + ++28 +Jon Garland, SOX +91.2 +16 +16 +0 + ++29 +C.C. Sabathia, CLE +90.0 +15 +15 +0 + ++ +Dave Burba, TEX +90.0 +16 +15 +1 + ++31 +Aaron Sele, ANA +89.1 +15 +15 +0 + ++32 +Chuck Finley, CLE +89.0 +15 +15 +1 + ++33 +Ryan Rupe, TB +87.2 +14 +14 +2 + ++34 +Rodrigo Lopez, BAL +86.2 +16 +11 +1 + ++35 +Ismael Valdes, TEX +86.1 +14 +14 +0 + ++ +Steve Sparks, DET +86.1 +15 +14 +2 + ++37 +Scott Schoeneweis, ANA +85.2 +14 +14 +0 + ++38 +James Baldwin, SEA +84.0 +14 +14 +0 + ++39 +Joel Pineiro, SEA +83.0 +20 +11 +1 + ++ +Frank Castillo, BOS +83.0 +14 +14 +0 + + + June 25, 2002, at 11:11 AM ET +