From: Michael Orlitzky Date: Sun, 22 Jun 2014 14:36:12 +0000 (-0400) Subject: Add SportInfo support for MLB_Pitching_Balks_Leaders.dtd. X-Git-Tag: 0.0.6~142 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=06a683aba5e56ea193d6fa21a9e33bb379b3b6f1;p=dead%2Fhtsn-import.git Add SportInfo support for MLB_Pitching_Balks_Leaders.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index ebf5f40..fbd875b 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -234,6 +234,8 @@ MLBXtraBaseHitsXML.dtd MLB_Pitching_Appearances_Leaders.dtd .IP \[bu] MLB_ERA_Leaders.dtd +.IP \[bu] +MLB_Pitching_Balks_Leaders.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/MLB_Pitching_Balks_Leaders.dtd b/schema/MLB_Pitching_Balks_Leaders.dtd new file mode 100644 index 0000000..712dd83 --- /dev/null +++ b/schema/MLB_Pitching_Balks_Leaders.dtd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/MLB_Pitching_Balks_Leaders/MLB_Pitching_Balks_Leaders.xml b/schemagen/MLB_Pitching_Balks_Leaders/MLB_Pitching_Balks_Leaders.xml new file mode 100644 index 0000000..59ff084 --- /dev/null +++ b/schemagen/MLB_Pitching_Balks_Leaders/MLB_Pitching_Balks_Leaders.xml @@ -0,0 +1,147 @@ + + + +10795617 +AAX%AL-BALK-LEADERS +Statistics +MLB +2002 AL Balks Leaders + ++1 +Steve Sparks, DET +2 + ++ +Doug Davis, TEX +2 + ++ +Jeremy Affeldt, KC +2 + ++ +Ramon Ortiz, ANA +2 + ++5 +Mark Redman, DET +1 + ++ +Scott Schoeneweis, ANA +1 + ++ +Paul Byrd, KC +1 + ++ +Luke Prokopec, TOR +1 + ++ +Jarrod Washburn, ANA +1 + ++ +Cory Bailey, KC +1 + ++ +Steve Woodard, TEX +1 + ++ +Tanyon Sturtze, TB +1 + ++ +Esteban Yan, TB +1 + ++ +Kenny Rogers, TEX +1 + ++ +Dan Miceli, TEX +1 + ++ +Jim Mecir, OAK +1 + ++ +Jon Rauch, SOX +1 + ++ +C.C. Sabathia, CLE +1 + ++ +Danny Wright, SOX +1 + ++ +John Halama, SEA +1 + ++ +Steve Kent, TB +1 + ++ +Frank Castillo, BOS +1 + ++ +Tim Wakefield, BOS +1 + ++ +Delvin James, TB +1 + ++ +Julio Santana, DET +1 + ++ +Pete Walker, TOR +1 + ++ +Mac Suzuki, KC +1 + + + June 25, 2002, at 02:09 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 115fe10..7d94f54 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -133,9 +133,9 @@ dtds = "mlbwalksleadersxml.dtd", "MLBXtraBaseHitsXML.dtd", "MLB_ERA_Leaders.dtd", - "MLB_Fielding_XML.dtd", -- no dtd + "MLB_Fielding_XML.dtd", "MLB_Pitching_Appearances_Leaders.dtd", - "MLB_Pitching_Balks_Leaders.dtd", -- no dtd + "MLB_Pitching_Balks_Leaders.dtd", "MLB_Pitching_CG_Leaders.dtd", -- no dtd "MLB_Pitching_ER_Allowed_Leaders.dtd", -- no dtd "MLB_Pitching_Hits_Allowed_Leaders.dtd", -- no dtd @@ -377,8 +377,9 @@ sport_info_test_files = "MLBWalkRateXML.xml", "mlbwalksleadersxml.xml", "MLBXtraBaseHitsXML.xml", + "MLB_ERA_Leaders.xml", "MLB_Pitching_Appearances_Leaders.xml", - "MLB_ERA_Leaders.xml" + "MLB_Pitching_Balks_Leaders.xml" ] diff --git a/test/xml/sportinfo/MLB_Pitching_Balks_Leaders.dtd b/test/xml/sportinfo/MLB_Pitching_Balks_Leaders.dtd new file mode 100644 index 0000000..712dd83 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Balks_Leaders.dtd @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/MLB_Pitching_Balks_Leaders.xml b/test/xml/sportinfo/MLB_Pitching_Balks_Leaders.xml new file mode 100644 index 0000000..59ff084 --- /dev/null +++ b/test/xml/sportinfo/MLB_Pitching_Balks_Leaders.xml @@ -0,0 +1,147 @@ + + + +10795617 +AAX%AL-BALK-LEADERS +Statistics +MLB +2002 AL Balks Leaders + ++1 +Steve Sparks, DET +2 + ++ +Doug Davis, TEX +2 + ++ +Jeremy Affeldt, KC +2 + ++ +Ramon Ortiz, ANA +2 + ++5 +Mark Redman, DET +1 + ++ +Scott Schoeneweis, ANA +1 + ++ +Paul Byrd, KC +1 + ++ +Luke Prokopec, TOR +1 + ++ +Jarrod Washburn, ANA +1 + ++ +Cory Bailey, KC +1 + ++ +Steve Woodard, TEX +1 + ++ +Tanyon Sturtze, TB +1 + ++ +Esteban Yan, TB +1 + ++ +Kenny Rogers, TEX +1 + ++ +Dan Miceli, TEX +1 + ++ +Jim Mecir, OAK +1 + ++ +Jon Rauch, SOX +1 + ++ +C.C. Sabathia, CLE +1 + ++ +Danny Wright, SOX +1 + ++ +John Halama, SEA +1 + ++ +Steve Kent, TB +1 + ++ +Frank Castillo, BOS +1 + ++ +Tim Wakefield, BOS +1 + ++ +Delvin James, TB +1 + ++ +Julio Santana, DET +1 + ++ +Pete Walker, TOR +1 + ++ +Mac Suzuki, KC +1 + + + June 25, 2002, at 02:09 PM ET +