From: Michael Orlitzky Date: Sun, 22 Jun 2014 16:53:29 +0000 (-0400) Subject: Add SportInfo support for MLB_Pitching_Runs_Allowed_Leaders.dtd. X-Git-Tag: 0.0.6~135 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=1f90ca373a3239b4903d663c021f0e9f2616d379;p=dead%2Fhtsn-import.git Add SportInfo support for MLB_Pitching_Runs_Allowed_Leaders.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 40cde0b..256dfd5 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -248,6 +248,8 @@ MLB_Pitching_Hit_Batters_Leaders.dtd MLB_Pitching_HR_Allowed_Leaders.dtd .IP \[bu] MLB_Pitching_IP_Leaders.dtd +.IP \[bu] +MLB_Pitching_Runs_Allowed_Leaders.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/MLB_Pitching_Runs_Allowed_Leaders.dtd b/schema/MLB_Pitching_Runs_Allowed_Leaders.dtd new file mode 100644 index 0000000..0b35dea --- /dev/null +++ b/schema/MLB_Pitching_Runs_Allowed_Leaders.dtd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/MLB_Pitching_Runs_Allowed_Leaders/MLB_Pitching_Runs_Allowed_Leaders.xml b/schemagen/MLB_Pitching_Runs_Allowed_Leaders/MLB_Pitching_Runs_Allowed_Leaders.xml new file mode 100644 index 0000000..3a6efec --- /dev/null +++ b/schemagen/MLB_Pitching_Runs_Allowed_Leaders/MLB_Pitching_Runs_Allowed_Leaders.xml @@ -0,0 +1,212 @@ + + + +1029101017 +AAX%AL-RUN-LEADERS +Statistics +MLB +2002 AL Runs Allowed Leaders + ++1 +Steve Sparks, DET +67 + ++2 +Todd Ritchie, SOX +66 + ++3 +Tanyon Sturtze, TB +61 + ++4 +Danny Wright, SOX +60 + ++5 +Aaron Sele, ANA +59 + ++ +Eric Milton, MIN +59 + ++7 +Ryan Rupe, TB +57 + ++ +Scott Erickson, BAL +57 + ++9 +Dave Burba, TEX +55 + ++ +Jeff Suppan, KC +55 + ++11 +Joe Kennedy, TB +54 + ++12 +Mike Mussina, NYY +53 + ++ +C.C. Sabathia, CLE +53 + ++ +Kyle Lohse, MIN +53 + ++15 +Ryan Drese, CLE +52 + ++ +Mark Redman, DET +52 + ++17 +James Baldwin, SEA +51 + ++ +Paul Byrd, KC +51 + ++19 +Roy Halladay, TOR +50 + ++ +Cory Lidle, OAK +50 + ++ +Jon Garland, SOX +50 + ++22 +Paul Wilson, TB +49 + ++ +Jeff Weaver, DET +49 + ++ +Rick Reed, MIN +49 + ++ +Scott Schoeneweis, ANA +49 + ++26 +Freddy Garcia, SEA +48 + ++27 +Roger Clemens, NYY +47 + ++ +Brandon Lyon, TOR +47 + ++29 +Tim Hudson, OAK +46 + ++30 +Sidney Ponson, BAL +45 + ++ +Kevin Appier, ANA +45 + ++32 +Frank Castillo, BOS +44 + ++ +David Wells, NYY +44 + ++ +Dan Reichert, KC +44 + ++ +Luke Prokopec, TOR +44 + ++36 +Jamie Moyer, SEA +43 + ++37 +Justin Miller, TOR +42 + ++ +Mark Buehrle, SOX +42 + ++39 +Kenny Rogers, TEX +41 + ++ +Chan Ho Park, TEX +41 + + + June 25, 2002, at 02:40 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index f063d5d..0536fa5 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -142,7 +142,7 @@ dtds = "MLB_Pitching_Hit_Batters_Leaders.dtd", "MLB_Pitching_HR_Allowed_Leaders.dtd", "MLB_Pitching_IP_Leaders.dtd", - "MLB_Pitching_Runs_Allowed_Leaders.dtd", -- no dtd + "MLB_Pitching_Runs_Allowed_Leaders.dtd", "MLB_Pitching_Saves_Leaders.dtd", -- no dtd "MLB_Pitching_Shut_Outs_Leaders.dtd", -- no dtd "MLB_Pitching_Starts_Leaders.dtd", -- no dtd @@ -385,7 +385,8 @@ sport_info_test_files = "MLB_Pitching_Hits_Allowed_Leaders.xml", "MLB_Pitching_Hit_Batters_Leaders.xml", "MLB_Pitching_HR_Allowed_Leaders.xml", - "MLB_Pitching_IP_Leaders.xml" + "MLB_Pitching_IP_Leaders.xml", + "MLB_Pitching_Runs_Allowed_Leaders.xml" ] diff --git a/test/xml/sportinfo/MLB_Pitching_Runs_Allowed_Leaders.dtd b/test/xml/sportinfo/MLB_Pitching_Runs_Allowed_Leaders.dtd new file mode 100644 index 0000000..0b35dea --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Runs_Allowed_Leaders.dtd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/MLB_Pitching_Runs_Allowed_Leaders.xml b/test/xml/sportinfo/MLB_Pitching_Runs_Allowed_Leaders.xml new file mode 100644 index 0000000..3a6efec --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Runs_Allowed_Leaders.xml @@ -0,0 +1,212 @@ + + + +1029101017 +AAX%AL-RUN-LEADERS +Statistics +MLB +2002 AL Runs Allowed Leaders + ++1 +Steve Sparks, DET +67 + ++2 +Todd Ritchie, SOX +66 + ++3 +Tanyon Sturtze, TB +61 + ++4 +Danny Wright, SOX +60 + ++5 +Aaron Sele, ANA +59 + ++ +Eric Milton, MIN +59 + ++7 +Ryan Rupe, TB +57 + ++ +Scott Erickson, BAL +57 + ++9 +Dave Burba, TEX +55 + ++ +Jeff Suppan, KC +55 + ++11 +Joe Kennedy, TB +54 + ++12 +Mike Mussina, NYY +53 + ++ +C.C. Sabathia, CLE +53 + ++ +Kyle Lohse, MIN +53 + ++15 +Ryan Drese, CLE +52 + ++ +Mark Redman, DET +52 + ++17 +James Baldwin, SEA +51 + ++ +Paul Byrd, KC +51 + ++19 +Roy Halladay, TOR +50 + ++ +Cory Lidle, OAK +50 + ++ +Jon Garland, SOX +50 + ++22 +Paul Wilson, TB +49 + ++ +Jeff Weaver, DET +49 + ++ +Rick Reed, MIN +49 + ++ +Scott Schoeneweis, ANA +49 + ++26 +Freddy Garcia, SEA +48 + ++27 +Roger Clemens, NYY +47 + ++ +Brandon Lyon, TOR +47 + ++29 +Tim Hudson, OAK +46 + ++30 +Sidney Ponson, BAL +45 + ++ +Kevin Appier, ANA +45 + ++32 +Frank Castillo, BOS +44 + ++ +David Wells, NYY +44 + ++ +Dan Reichert, KC +44 + ++ +Luke Prokopec, TOR +44 + ++36 +Jamie Moyer, SEA +43 + ++37 +Justin Miller, TOR +42 + ++ +Mark Buehrle, SOX +42 + ++39 +Kenny Rogers, TEX +41 + ++ +Chan Ho Park, TEX +41 + + + June 25, 2002, at 02:40 PM ET +