From: Michael Orlitzky Date: Tue, 17 Jun 2014 12:06:14 +0000 (-0400) Subject: Add SportInfo support for Minor_Baseball_Standings_XML.dtd. X-Git-Tag: 0.0.6~175 X-Git-Url: http://gitweb.michael.orlitzky.com/?a=commitdiff_plain;ds=inline;h=4a3b8172435fbafa3d7a40e6717021ed1d99270c;hp=ad1571729a5a48aa17764ff180617fb187d328f9;p=dead%2Fhtsn-import.git Add SportInfo support for Minor_Baseball_Standings_XML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 242554c..95742b6 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -172,6 +172,8 @@ LeagueScheduleXML.dtd minorscoresxml.dtd .IP \[bu] Minor_Baseball_League_Leaders_XML.dtd +.IP \[bu] +Minor_Baseball_Standings_XML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/Minor_Baseball_Standings_XML.dtd b/schema/Minor_Baseball_Standings_XML.dtd new file mode 100644 index 0000000..69c9dc4 --- /dev/null +++ b/schema/Minor_Baseball_Standings_XML.dtd @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/Minor_Baseball_Standings_XML/Minor_Baseball_Standings_XML.xml b/schemagen/Minor_Baseball_Standings_XML/Minor_Baseball_Standings_XML.xml new file mode 100644 index 0000000..040aada --- /dev/null +++ b/schemagen/Minor_Baseball_Standings_XML/Minor_Baseball_Standings_XML.xml @@ -0,0 +1,286 @@ + + + +1388668 +ECL!MEX-STANDINGS +Standings +MILB-MEX +2004 Minor League Baseball Mexican League Standings + ++ +K07 + +2 +0 +1.00 +--- +1 +0 +1 +0 +2 +0 +Won 2 +2-0 + ++ +K03 + +1 +1 +0.50 +1 +0 +1 +1 +0 +0 +0 +Won 1 +1-1 + ++ +K06 + +1 +1 +0.50 +1 +0 +1 +1 +0 +1 +1 +Lost 1 +1-1 + ++ +K09 + +1 +1 +0.50 +1 +1 +0 +0 +1 +1 +1 +Lost 1 +1-1 + ++ +K11 + +1 +1 +0.50 +1 +0 +1 +1 +0 +1 +1 +Won 1 +1-1 + ++ +K10 + +1 +1 +0.50 +1 +0 +1 +1 +0 +0 +0 +Lost 1 +1-1 + ++ +K04 + +1 +1 +0.50 +1 +1 +0 +0 +1 +1 +1 +Won 1 +1-1 + ++ +K14 + +0 +2 +0.00 +2 +0 +1 +0 +1 +0 +2 +Lost 2 +0-2 + + + ++ +K01 + +1 +1 +0.50 +--- +1 +0 +0 +1 +1 +1 +Won 1 +1-1 + ++ +K02 + +1 +1 +0.50 +0 +1 +0 +0 +1 +1 +1 +Won 1 +1-1 + ++ +K05 + +1 +1 +0.50 +0 +0 +1 +1 +0 +0 +0 +Won 1 +1-1 + ++ +K08 + +1 +1 +0.50 +0 +1 +0 +0 +1 +1 +1 +Lost 1 +1-1 + ++ +K12 + +1 +1 +0.50 +0 +1 +0 +0 +1 +1 +1 +Lost 1 +1-1 + ++ +K13 + +1 +1 +0.50 +0 +0 +1 +1 +0 +0 +0 +Lost 1 +1-1 + ++ +K15 + +1 +1 +0.50 +0 +1 +0 +0 +1 +1 +1 +Won 1 +1-1 + ++ +K16 + +1 +1 +0.50 +0 +1 +0 +0 +1 +1 +1 +Lost 1 +1-1 + + + March 19, 2004, at 05:40 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 68b0136..3b05bde 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -103,7 +103,7 @@ dtds = "LeagueScheduleXML.dtd", "minorscoresxml.dtd", "Minor_Baseball_League_Leaders_XML.dtd", - "Minor_Baseball_Standings_XML.dtd", -- no dtd + "Minor_Baseball_Standings_XML.dtd", "Minor_Baseball_Transactions_XML.dtd", -- no dtd "mlbbattingavgxml.dtd", -- no dtd "mlbdoublesleadersxml.dtd", -- no dtd @@ -347,7 +347,8 @@ sport_info_test_files = "Cbask_Tourn_Records_XML.xml", "LeagueScheduleXML.xml", "minorscoresxml.xml", - "Minor_Baseball_League_Leaders_XML.xml" + "Minor_Baseball_League_Leaders_XML.xml", + "Minor_Baseball_Standings_XML.xml" ] diff --git a/test/xml/sportinfo/Minor_Baseball_Standings_XML.dtd b/test/xml/sportinfo/Minor_Baseball_Standings_XML.dtd new file mode 100644 index 0000000..69c9dc4 --- /dev/null +++ b/test/xml/sportinfo/Minor_Baseball_Standings_XML.dtd @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/Minor_Baseball_Standings_XML.xml b/test/xml/sportinfo/Minor_Baseball_Standings_XML.xml new file mode 100644 index 0000000..040aada --- /dev/null +++ b/test/xml/sportinfo/Minor_Baseball_Standings_XML.xml @@ -0,0 +1,286 @@ + + + +1388668 +ECL!MEX-STANDINGS +Standings +MILB-MEX +2004 Minor League Baseball Mexican League Standings + ++ +K07 + +2 +0 +1.00 +--- +1 +0 +1 +0 +2 +0 +Won 2 +2-0 + ++ +K03 + +1 +1 +0.50 +1 +0 +1 +1 +0 +0 +0 +Won 1 +1-1 + ++ +K06 + +1 +1 +0.50 +1 +0 +1 +1 +0 +1 +1 +Lost 1 +1-1 + ++ +K09 + +1 +1 +0.50 +1 +1 +0 +0 +1 +1 +1 +Lost 1 +1-1 + ++ +K11 + +1 +1 +0.50 +1 +0 +1 +1 +0 +1 +1 +Won 1 +1-1 + ++ +K10 + +1 +1 +0.50 +1 +0 +1 +1 +0 +0 +0 +Lost 1 +1-1 + ++ +K04 + +1 +1 +0.50 +1 +1 +0 +0 +1 +1 +1 +Won 1 +1-1 + ++ +K14 + +0 +2 +0.00 +2 +0 +1 +0 +1 +0 +2 +Lost 2 +0-2 + + + ++ +K01 + +1 +1 +0.50 +--- +1 +0 +0 +1 +1 +1 +Won 1 +1-1 + ++ +K02 + +1 +1 +0.50 +0 +1 +0 +0 +1 +1 +1 +Won 1 +1-1 + ++ +K05 + +1 +1 +0.50 +0 +0 +1 +1 +0 +0 +0 +Won 1 +1-1 + ++ +K08 + +1 +1 +0.50 +0 +1 +0 +0 +1 +1 +1 +Lost 1 +1-1 + ++ +K12 + +1 +1 +0.50 +0 +1 +0 +0 +1 +1 +1 +Lost 1 +1-1 + ++ +K13 + +1 +1 +0.50 +0 +0 +1 +1 +0 +0 +0 +Lost 1 +1-1 + ++ +K15 + +1 +1 +0.50 +0 +1 +0 +0 +1 +1 +1 +Won 1 +1-1 + ++ +K16 + +1 +1 +0.50 +0 +1 +0 +0 +1 +1 +1 +Lost 1 +1-1 + + + March 19, 2004, at 05:40 PM ET +