From: Michael Orlitzky Date: Sun, 22 Jun 2014 14:44:54 +0000 (-0400) Subject: Add SportInfo support for MLB_Pitching_ER_Allowed_Leaders.dtd. X-Git-Tag: 0.0.6~140 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=b89d5277b67a29017b4bb8f59df92c347c2059ce;p=dead%2Fhtsn-import.git Add SportInfo support for MLB_Pitching_ER_Allowed_Leaders.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index c05b639..89d2f24 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -238,6 +238,8 @@ MLB_ERA_Leaders.dtd MLB_Pitching_Balks_Leaders.dtd .IP \[bu] MLB_Pitching_CG_Leaders.dtd +.IP \[bu] +MLB_Pitching_ER_Allowed_Leaders.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/MLB_Pitching_ER_Allowed_Leaders.dtd b/schema/MLB_Pitching_ER_Allowed_Leaders.dtd new file mode 100644 index 0000000..c5265b1 --- /dev/null +++ b/schema/MLB_Pitching_ER_Allowed_Leaders.dtd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/MLB_Pitching_ER_Allowed_Leaders/MLB_Pitching_ER_Allowed_Leaders.xml b/schemagen/MLB_Pitching_ER_Allowed_Leaders/MLB_Pitching_ER_Allowed_Leaders.xml new file mode 100644 index 0000000..84be3fc --- /dev/null +++ b/schemagen/MLB_Pitching_ER_Allowed_Leaders/MLB_Pitching_ER_Allowed_Leaders.xml @@ -0,0 +1,212 @@ + + + +191891767 +AAX%AL-EARNEDRUNS-LEADERS +Statistics +MLB +2002 AL Earned Runs Leaders + ++1 +Steve Sparks, DET +57 + ++2 +Danny Wright, SOX +56 + ++3 +Aaron Sele, ANA +55 + ++ +Eric Milton, MIN +55 + ++ +Tanyon Sturtze, TB +55 + ++6 +Ryan Rupe, TB +54 + ++7 +Todd Ritchie, SOX +53 + ++8 +Mike Mussina, NYY +52 + ++ +Jeff Suppan, KC +52 + ++10 +Dave Burba, TEX +51 + ++ +Scott Erickson, BAL +51 + ++12 +C.C. Sabathia, CLE +50 + ++13 +Ryan Drese, CLE +49 + ++ +Kyle Lohse, MIN +49 + ++15 +Joe Kennedy, TB +48 + ++16 +Freddy Garcia, SEA +47 + ++17 +Cory Lidle, OAK +46 + ++ +James Baldwin, SEA +46 + ++ +Paul Byrd, KC +46 + ++ +Scott Schoeneweis, ANA +46 + ++21 +Tim Hudson, OAK +45 + ++ +Jon Garland, SOX +45 + ++ +Brandon Lyon, TOR +45 + ++24 +Sidney Ponson, BAL +43 + ++ +Paul Wilson, TB +43 + ++ +Roger Clemens, NYY +43 + ++ +Mark Redman, DET +43 + ++28 +Frank Castillo, BOS +42 + ++ +Jeff Weaver, DET +42 + ++30 +Jamie Moyer, SEA +41 + ++ +Chan Ho Park, TEX +41 + ++ +Luke Prokopec, TOR +41 + ++ +Rick Reed, MIN +41 + ++34 +Roy Halladay, TOR +40 + ++ +David Wells, NYY +40 + ++36 +Justin Miller, TOR +39 + ++ +Kevin Appier, ANA +39 + ++38 +Ramon Ortiz, ANA +38 + ++ +Chuck Finley, CLE +38 + ++ +Danys Baez, CLE +38 + + + June 25, 2002, at 02:03 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 694ade1..d2f9712 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -137,7 +137,7 @@ dtds = "MLB_Pitching_Appearances_Leaders.dtd", "MLB_Pitching_Balks_Leaders.dtd", "MLB_Pitching_CG_Leaders.dtd", - "MLB_Pitching_ER_Allowed_Leaders.dtd", -- no dtd + "MLB_Pitching_ER_Allowed_Leaders.dtd", "MLB_Pitching_Hits_Allowed_Leaders.dtd", -- no dtd "MLB_Pitching_Hit_Batters_Leaders.dtd", -- no dtd "MLB_Pitching_HR_Allowed_Leaders.dtd", -- no dtd @@ -380,7 +380,8 @@ sport_info_test_files = "MLB_ERA_Leaders.xml", "MLB_Pitching_Appearances_Leaders.xml", "MLB_Pitching_Balks_Leaders.xml", - "MLB_Pitching_CG_Leaders.xml" + "MLB_Pitching_CG_Leaders.xml", + "MLB_Pitching_ER_Allowed_Leaders.xml" ] diff --git a/test/xml/sportinfo/MLB_Pitching_ER_Allowed_Leaders.dtd b/test/xml/sportinfo/MLB_Pitching_ER_Allowed_Leaders.dtd new file mode 100644 index 0000000..c5265b1 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_ER_Allowed_Leaders.dtd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/MLB_Pitching_ER_Allowed_Leaders.xml b/test/xml/sportinfo/MLB_Pitching_ER_Allowed_Leaders.xml new file mode 100644 index 0000000..84be3fc --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_ER_Allowed_Leaders.xml @@ -0,0 +1,212 @@ + + + +191891767 +AAX%AL-EARNEDRUNS-LEADERS +Statistics +MLB +2002 AL Earned Runs Leaders + ++1 +Steve Sparks, DET +57 + ++2 +Danny Wright, SOX +56 + ++3 +Aaron Sele, ANA +55 + ++ +Eric Milton, MIN +55 + ++ +Tanyon Sturtze, TB +55 + ++6 +Ryan Rupe, TB +54 + ++7 +Todd Ritchie, SOX +53 + ++8 +Mike Mussina, NYY +52 + ++ +Jeff Suppan, KC +52 + ++10 +Dave Burba, TEX +51 + ++ +Scott Erickson, BAL +51 + ++12 +C.C. Sabathia, CLE +50 + ++13 +Ryan Drese, CLE +49 + ++ +Kyle Lohse, MIN +49 + ++15 +Joe Kennedy, TB +48 + ++16 +Freddy Garcia, SEA +47 + ++17 +Cory Lidle, OAK +46 + ++ +James Baldwin, SEA +46 + ++ +Paul Byrd, KC +46 + ++ +Scott Schoeneweis, ANA +46 + ++21 +Tim Hudson, OAK +45 + ++ +Jon Garland, SOX +45 + ++ +Brandon Lyon, TOR +45 + ++24 +Sidney Ponson, BAL +43 + ++ +Paul Wilson, TB +43 + ++ +Roger Clemens, NYY +43 + ++ +Mark Redman, DET +43 + ++28 +Frank Castillo, BOS +42 + ++ +Jeff Weaver, DET +42 + ++30 +Jamie Moyer, SEA +41 + ++ +Chan Ho Park, TEX +41 + ++ +Luke Prokopec, TOR +41 + ++ +Rick Reed, MIN +41 + ++34 +Roy Halladay, TOR +40 + ++ +David Wells, NYY +40 + ++36 +Justin Miller, TOR +39 + ++ +Kevin Appier, ANA +39 + ++38 +Ramon Ortiz, ANA +38 + ++ +Chuck Finley, CLE +38 + ++ +Danys Baez, CLE +38 + + + June 25, 2002, at 02:03 PM ET +