From: Michael Orlitzky Date: Wed, 18 Jun 2014 14:46:06 +0000 (-0400) Subject: Add SportInfo support for MLBSacrificesXML.dtd. X-Git-Tag: 0.0.6~155 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=51f7fdded64f09536d1e1712922aa196dc27e808;p=dead%2Fhtsn-import.git Add SportInfo support for MLBSacrificesXML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index e54f13f..76fb54e 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -208,6 +208,8 @@ mlbrbisxml.dtd mlbrunsleadersxml.dtd .IP \[bu] MLBSacFliesXML.dtd +.IP \[bu] +MLBSacrificesXML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/MLBSacrificesXML.dtd b/schema/MLBSacrificesXML.dtd new file mode 100644 index 0000000..d42d91f --- /dev/null +++ b/schema/MLBSacrificesXML.dtd @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/MLBSacrificesXML/MLBSacrificesXML.xml b/schemagen/MLBSacrificesXML/MLBSacrificesXML.xml new file mode 100644 index 0000000..1c4ce1d --- /dev/null +++ b/schemagen/MLBSacrificesXML/MLBSacrificesXML.xml @@ -0,0 +1,210 @@ + + + +69196917 +AAX%AL-SACRIFICEBUNTS-LEADERS +Statistics +MLB +2002 AL Sacrifice Bunts Leaders ++1 +Ray Durham, SOX +8 + ++ +Jeff Cirillo, SEA +8 + ++3 +Gabe Kapler, TEX +7 + ++4 +David Eckstein, ANA +6 + ++ +Dan Wilson, SEA +6 + ++ +Michael Young, TEX +6 + ++7 +Mike Bordick, BAL +5 + ++8 +Einar Diaz, CLE +4 + ++ +Adam Kennedy, ANA +4 + ++ +Jerry Hairston, BAL +4 + ++ +Cristian Guzman, MIN +4 + ++ +Carlos Febles, KC +4 + ++ +Jose Macias, DET +4 + ++14 +Brian Roberts, BAL +3 + ++ +Ricky Gutierrez, CLE +3 + ++ +Denny Hocking, MIN +3 + ++ +Neifi Perez, KC +3 + ++ +Kenny Lofton, SOX +3 + ++ +Royce Clayton, SOX +3 + ++ +Brent Abernathy, TB +3 + ++ +Mark L. Johnson, SOX +3 + ++ +Brook Fordyce, BAL +3 + ++ +Gary Matthews Jr, BAL +3 + ++ +Tony Graffanino, SOX +3 + ++ +Alberto Castillo, NYY +3 + ++ +Ramon Santiago, DET +3 + ++27 +Marty Cordova, BAL +2 + ++ +Enrique Wilson, NYY +2 + ++ +Calvin Murray, TEX +2 + ++ +Vernon Wells, TOR +2 + ++ +Felipe Lopez, TOR +2 + ++ +Shane Spencer, NYY +2 + ++ +Nick Johnson, NYY +2 + ++ +Chris Singleton, BAL +2 + ++ +Melvin Mora, BAL +2 + ++ +Michael Tucker, KC +2 + ++ +Joe Randa, KC +2 + ++ +Ichiro Suzuki, SEA +2 + ++ +Mark McLemore, SEA +2 + ++ +Frank Catalanotto, TEX +2 + + June 27, 2002, at 11:52 AM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index e6ad871..8040d50 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -121,7 +121,7 @@ dtds = "mlbrbisxml.dtd", "mlbrunsleadersxml.dtd", "MLBSacFliesXML.dtd", - "MLBSacrificesXML.dtd", -- no dtd + "MLBSacrificesXML.dtd", "MLBSBSuccessXML.dtd", -- no dtd "mlbsluggingpctxml.dtd", -- no dtd "mlbstandxml.dtd", -- no dtd @@ -365,7 +365,8 @@ sport_info_test_files = "MLBPlateAppsXML.xml", "mlbrbisxml.xml", "mlbrunsleadersxml.xml", - "MLBSacFliesXML.xml" + "MLBSacFliesXML.xml", + "MLBSacrificesXML.xml" ] diff --git a/test/xml/sportinfo/MLBSacrificesXML.dtd b/test/xml/sportinfo/MLBSacrificesXML.dtd new file mode 100644 index 0000000..d42d91f --- /dev/null +++ b/test/xml/sportinfo/MLBSacrificesXML.dtd @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/MLBSacrificesXML.xml b/test/xml/sportinfo/MLBSacrificesXML.xml new file mode 100644 index 0000000..1c4ce1d --- /dev/null +++ b/test/xml/sportinfo/MLBSacrificesXML.xml @@ -0,0 +1,210 @@ + + + +69196917 +AAX%AL-SACRIFICEBUNTS-LEADERS +Statistics +MLB +2002 AL Sacrifice Bunts Leaders ++1 +Ray Durham, SOX +8 + ++ +Jeff Cirillo, SEA +8 + ++3 +Gabe Kapler, TEX +7 + ++4 +David Eckstein, ANA +6 + ++ +Dan Wilson, SEA +6 + ++ +Michael Young, TEX +6 + ++7 +Mike Bordick, BAL +5 + ++8 +Einar Diaz, CLE +4 + ++ +Adam Kennedy, ANA +4 + ++ +Jerry Hairston, BAL +4 + ++ +Cristian Guzman, MIN +4 + ++ +Carlos Febles, KC +4 + ++ +Jose Macias, DET +4 + ++14 +Brian Roberts, BAL +3 + ++ +Ricky Gutierrez, CLE +3 + ++ +Denny Hocking, MIN +3 + ++ +Neifi Perez, KC +3 + ++ +Kenny Lofton, SOX +3 + ++ +Royce Clayton, SOX +3 + ++ +Brent Abernathy, TB +3 + ++ +Mark L. Johnson, SOX +3 + ++ +Brook Fordyce, BAL +3 + ++ +Gary Matthews Jr, BAL +3 + ++ +Tony Graffanino, SOX +3 + ++ +Alberto Castillo, NYY +3 + ++ +Ramon Santiago, DET +3 + ++27 +Marty Cordova, BAL +2 + ++ +Enrique Wilson, NYY +2 + ++ +Calvin Murray, TEX +2 + ++ +Vernon Wells, TOR +2 + ++ +Felipe Lopez, TOR +2 + ++ +Shane Spencer, NYY +2 + ++ +Nick Johnson, NYY +2 + ++ +Chris Singleton, BAL +2 + ++ +Melvin Mora, BAL +2 + ++ +Michael Tucker, KC +2 + ++ +Joe Randa, KC +2 + ++ +Ichiro Suzuki, SEA +2 + ++ +Mark McLemore, SEA +2 + ++ +Frank Catalanotto, TEX +2 + + June 27, 2002, at 11:52 AM ET +