From: Michael Orlitzky Date: Mon, 16 Jun 2014 22:08:15 +0000 (-0400) Subject: Add SportInfo support for CBASK_MinutesXML.dtd. X-Git-Tag: 0.0.6~194 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=d5eafcea532e3ef104e6e28a35ace4bd4b156c78;p=dead%2Fhtsn-import.git Add SportInfo support for CBASK_MinutesXML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 8843f53..d2fba15 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -136,6 +136,8 @@ CBASK_FoulsXML.dtd CBASK_FTPctXML.dtd .IP \[bu] Cbask_Indv_Scoring_XML.dtd +.IP \[bu] +CBASK_MinutesXML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/CBASK_MinutesXML.dtd b/schema/CBASK_MinutesXML.dtd new file mode 100644 index 0000000..09b9f36 --- /dev/null +++ b/schema/CBASK_MinutesXML.dtd @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/CBASK_MinutesXML/CBASK_MinutesXML.xml b/schemagen/CBASK_MinutesXML/CBASK_MinutesXML.xml new file mode 100644 index 0000000..aa1d87c --- /dev/null +++ b/schemagen/CBASK_MinutesXML/CBASK_MinutesXML.xml @@ -0,0 +1,959 @@ + + + +17 +AEX%MINUTES-LEADERS +Statistics +CBASK +2002-2003 Men's NCAA Basketball Top 25 Minutes Played Leaders ++1 +D.Jones +VA Commonwealth +2 +81 +40:30 +31 +15.5 +14 +34 +.412 + ++ +J.Miggins +Pepperdine +2 +81 +40:30 +33 +16.5 +13 +30 +.433 + ++2 +A.Swinton +OK Wesleyan +1 +40 +40:00 +20 +20.0 +8 +16 +.500 + ++ +T.Green +NC ANT +1 +40 +40:00 +26 +26.0 +10 +14 +.714 + ++ +J.Gooding +Knoxville College +1 +40 +40:00 +26 +26.0 +11 +26 +.423 + ++3 +B.Darby +Ohio State +2 +80 +40:00 +25 +12.5 +6 +19 +.316 + ++ +Z.Williams +Ohio State +2 +80 +40:00 +25 +12.5 +10 +24 +.417 + ++4 +J.Ivey +Portland State +3 +120 +40:00 +37 +12.3 +13 +35 +.371 + ++5 +T.McGee +SW Missouri St +3 +119 +39:40 +64 +21.3 +20 +50 +.400 + ++ +J.Grice +Memphis +3 +119 +39:40 +49 +16.3 +15 +31 +.484 + ++6 +S.Connolly +Ohio State +2 +79 +39:30 +25 +12.5 +11 +24 +.458 + ++ +B.Boyd +UL-Lafayette +2 +79 +39:30 +57 +28.5 +18 +43 +.419 + ++ +A.Johnson +UL-Lafayette +2 +79 +39:30 +47 +23.5 +13 +33 +.394 + ++ +M.Carter +Robert Morris +2 +79 +39:30 +56 +28.0 +20 +39 +.513 + ++ +T.Cavalieri +St Francis-NY +2 +79 +39:30 +24 +12.0 +7 +16 +.438 + ++7 +L.Hurd +Oregon State +1 +39 +39:00 +9 +9.0 +3 +5 +.600 + ++ +F.Rebassoo +Occidental +1 +39 +39:00 +15 +15.0 +5 +12 +.417 + ++ +J.Bracey +Francis Marion +1 +39 +39:00 +14 +14.0 +7 +7 +1.000 + ++ +F.Holm-Hadulla +Fullerton State +1 +39 +39:00 +2 +2.0 +0 +4 +.000 + ++8 +C.Anthony +Syracuse +2 +78 +39:00 +55 +27.5 +18 +39 +.462 + ++ +M.Causey +North Georgia +2 +78 +39:00 +46 +23.0 +16 +37 +.432 + ++9 +P.Gilbert +Bradley +3 +117 +39:00 +69 +23.0 +24 +60 +.400 + ++ +A.Owens +Houston +3 +117 +39:00 +51 +17.0 +17 +46 +.370 + ++10 +E.Baez +Florida Intl +4 +155 +38:45 +72 +18.0 +27 +42 +.643 + ++11 +C.Cuffle +Evansville +3 +116 +38:40 +54 +18.0 +19 +38 +.500 + ++ +R.Monroe +Quinnipiac +3 +116 +38:40 +51 +17.0 +15 +36 +.417 + ++12 +G.McNamara +Syracuse +2 +77 +38:30 +32 +16.0 +10 +27 +.370 + ++ +C.Barnes +Loyola-NO +2 +77 +38:30 +47 +23.5 +17 +31 +.548 + ++13 +W.Holcomb-Faye +Radford +4 +154 +38:30 +45 +11.3 +14 +48 +.292 + ++14 +M.Bullock +New Hampshire +1 +38 +38:00 +13 +13.0 +3 +11 +.273 + ++ +C.Davis +Fisk +1 +38 +38:00 +20 +20.0 +9 +16 +.563 + ++ +J.Rudolph +Montana Tech +1 +38 +38:00 +12 +12.0 +5 +9 +.556 + ++ +S.Sutton +Montana Tech +1 +38 +38:00 +8 +8.0 +3 +14 +.214 + ++ +R.Cook +Montreat +1 +38 +38:00 +10 +10.0 +2 +13 +.154 + ++ +J.Tipton +Asbury +1 +38 +38:00 +15 +15.0 +5 +14 +.357 + ++ +M.Session +Dowling +1 +38 +38:00 +20 +20.0 +6 +17 +.353 + ++ +J.Haywood +Oregon State +1 +38 +38:00 +8 +8.0 +3 +16 +.188 + ++ +J.Hunt +Memphis +1 +38 +38:00 +19 +19.0 +6 +18 +.333 + ++15 +J.Kapono +U-C-L-A +2 +76 +38:00 +36 +18.0 +13 +31 +.419 + ++ +C.Bozeman +U-C-L-A +2 +76 +38:00 +24 +12.0 +9 +26 +.346 + ++ +C.McCrommon +Robert Morris +2 +76 +38:00 +36 +18.0 +15 +29 +.517 + ++ +R.Atchison +UMKC +2 +76 +38:00 +23 +11.5 +8 +17 +.471 + ++16 +R.Mantlo +Liberty +3 +114 +38:00 +28 +9.3 +7 +23 +.304 + ++ +M.Austin +Eastern Mich +3 +114 +38:00 +61 +20.3 +18 +42 +.429 + ++ +P.Karangwa +Siena +3 +114 +38:00 +46 +15.3 +17 +48 +.354 + ++ +D.Luckey +St Francis-PA +3 +114 +38:00 +64 +21.3 +23 +58 +.397 + ++ +B.Blizzard +UNC-Wilmington +3 +114 +38:00 +69 +23.0 +25 +43 +.581 + ++ +R.Carney +Memphis +3 +114 +38:00 +39 +13.0 +13 +38 +.342 + ++ +A.Adams +Morris Brown +3 +114 +38:00 +31 +10.3 +9 +46 +.196 + ++ +M.Perry +Saint Louis +3 +114 +38:00 +46 +15.3 +17 +48 +.354 + ++17 +R.Arrington +Radford +4 +151 +37:45 +55 +13.8 +18 +62 +.290 + ++18 +D.Bennett +Marist +3 +113 +37:40 +36 +12.0 +10 +27 +.370 + ++ +M.Bailey +Ill-Chicago +3 +113 +37:40 +49 +16.3 +20 +30 +.667 + ++ +J.Schneiderman +Ill-Chicago +3 +113 +37:40 +40 +13.3 +12 +22 +.545 + ++ +J.Hall +Wagner +3 +113 +37:40 +73 +24.3 +27 +43 +.628 + ++19 +M.Thurston +Prairie View +2 +75 +37:30 +29 +14.5 +11 +19 +.579 + ++20 +D.Winans +SE Missouri St +5 +187 +37:24 +76 +15.2 +29 +64 +.453 + ++21 +J.Logan +Idaho +3 +112 +37:20 +16 +5.3 +6 +16 +.375 + ++ +M.Davis +Pacific +3 +112 +37:20 +36 +12.0 +11 +32 +.344 + ++ +L.Truscott +Houston +3 +112 +37:20 +54 +18.0 +21 +41 +.512 + ++ +J.Conley +Va Military +3 +112 +37:20 +76 +25.3 +26 +54 +.481 + ++22 +K.Clark +St Peters +4 +149 +37:15 +123 +30.8 +40 +83 +.482 + ++ +A.Dobie +Long Island +4 +149 +37:15 +64 +16.0 +25 +66 +.379 + ++23 +E.Crumbley +Fla Atlantic +6 +223 +37:10 +102 +17.0 +32 +86 +.372 + ++24 +D.Almond +Millsaps +1 +37 +37:00 +8 +8.0 +3 +8 +.375 + ++ +J.Harris +Milligan +1 +37 +37:00 +20 +20.0 +8 +15 +.533 + ++ +M.Traylor +Taylor +1 +37 +37:00 +11 +11.0 +3 +5 +.600 + ++ +A.Griffin +CS-Monterey +1 +37 +37:00 +19 +19.0 +7 +16 +.438 + ++ +T.Luther +Mt St Joes +1 +37 +37:00 +17 +17.0 +8 +18 +.444 + ++ +T.Mills +Dowling +1 +37 +37:00 +16 +16.0 +7 +18 +.389 + ++ +B.Hunter +Ohio Univ +1 +37 +37:00 +28 +28.0 +11 +22 +.500 + ++25 +T.Trotter +MD-Eastern Shore +2 +74 +37:00 +48 +24.0 +19 +28 +.679 + ++ +L.Flores +Manhattan +2 +74 +37:00 +44 +22.0 +17 +36 +.472 + + December 2, 2002, at 02:35 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index ba72eb6..a799ae7 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -81,7 +81,7 @@ dtds = "Cbask_Indv_No_Avg_XML.dtd", -- no dtd "Cbask_Indv_Scoring_XML.dtd", "Cbask_Indv_Shooting_XML.dtd", -- no dtd - "CBASK_MinutesXML.dtd", -- no dtd + "CBASK_MinutesXML.dtd", "Cbask_Polls_XML.dtd", -- no dtd "CBASK_ReboundsXML.dtd", -- no dtd "CBASK_ScoringLeadersXML.dtd", -- no dtd @@ -328,7 +328,8 @@ sport_info_test_files = "test/xml/sportinfo/CBASK_FGPctXML.xml", "test/xml/sportinfo/CBASK_FoulsXML.xml", "test/xml/sportinfo/CBASK_FTPctXML.xml", - "test/xml/sportinfo/Cbask_Indv_Scoring_XML.xml" + "test/xml/sportinfo/Cbask_Indv_Scoring_XML.xml", + "test/xml/sportinfo/CBASK_MinutesXML.xml" ] diff --git a/test/xml/sportinfo/CBASK_MinutesXML.dtd b/test/xml/sportinfo/CBASK_MinutesXML.dtd new file mode 100644 index 0000000..09b9f36 --- /dev/null +++ b/test/xml/sportinfo/CBASK_MinutesXML.dtd @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/CBASK_MinutesXML.xml b/test/xml/sportinfo/CBASK_MinutesXML.xml new file mode 100644 index 0000000..8b450fd --- /dev/null +++ b/test/xml/sportinfo/CBASK_MinutesXML.xml @@ -0,0 +1,959 @@ + + + +19967297 +AEX%MINUTES-LEADERS +Statistics +CBASK +2002-2003 Men's NCAA Basketball Top 25 Minutes Played Leaders ++1 +D.Jones +VA Commonwealth +2 +81 +40:30 +31 +15.5 +14 +34 +.412 + ++ +J.Miggins +Pepperdine +2 +81 +40:30 +33 +16.5 +13 +30 +.433 + ++2 +A.Swinton +OK Wesleyan +1 +40 +40:00 +20 +20.0 +8 +16 +.500 + ++ +T.Green +NC ANT +1 +40 +40:00 +26 +26.0 +10 +14 +.714 + ++ +J.Gooding +Knoxville College +1 +40 +40:00 +26 +26.0 +11 +26 +.423 + ++3 +B.Darby +Ohio State +2 +80 +40:00 +25 +12.5 +6 +19 +.316 + ++ +Z.Williams +Ohio State +2 +80 +40:00 +25 +12.5 +10 +24 +.417 + ++4 +J.Ivey +Portland State +3 +120 +40:00 +37 +12.3 +13 +35 +.371 + ++5 +T.McGee +SW Missouri St +3 +119 +39:40 +64 +21.3 +20 +50 +.400 + ++ +J.Grice +Memphis +3 +119 +39:40 +49 +16.3 +15 +31 +.484 + ++6 +S.Connolly +Ohio State +2 +79 +39:30 +25 +12.5 +11 +24 +.458 + ++ +B.Boyd +UL-Lafayette +2 +79 +39:30 +57 +28.5 +18 +43 +.419 + ++ +A.Johnson +UL-Lafayette +2 +79 +39:30 +47 +23.5 +13 +33 +.394 + ++ +M.Carter +Robert Morris +2 +79 +39:30 +56 +28.0 +20 +39 +.513 + ++ +T.Cavalieri +St Francis-NY +2 +79 +39:30 +24 +12.0 +7 +16 +.438 + ++7 +L.Hurd +Oregon State +1 +39 +39:00 +9 +9.0 +3 +5 +.600 + ++ +F.Rebassoo +Occidental +1 +39 +39:00 +15 +15.0 +5 +12 +.417 + ++ +J.Bracey +Francis Marion +1 +39 +39:00 +14 +14.0 +7 +7 +1.000 + ++ +F.Holm-Hadulla +Fullerton State +1 +39 +39:00 +2 +2.0 +0 +4 +.000 + ++8 +C.Anthony +Syracuse +2 +78 +39:00 +55 +27.5 +18 +39 +.462 + ++ +M.Causey +North Georgia +2 +78 +39:00 +46 +23.0 +16 +37 +.432 + ++9 +P.Gilbert +Bradley +3 +117 +39:00 +69 +23.0 +24 +60 +.400 + ++ +A.Owens +Houston +3 +117 +39:00 +51 +17.0 +17 +46 +.370 + ++10 +E.Baez +Florida Intl +4 +155 +38:45 +72 +18.0 +27 +42 +.643 + ++11 +C.Cuffle +Evansville +3 +116 +38:40 +54 +18.0 +19 +38 +.500 + ++ +R.Monroe +Quinnipiac +3 +116 +38:40 +51 +17.0 +15 +36 +.417 + ++12 +G.McNamara +Syracuse +2 +77 +38:30 +32 +16.0 +10 +27 +.370 + ++ +C.Barnes +Loyola-NO +2 +77 +38:30 +47 +23.5 +17 +31 +.548 + ++13 +W.Holcomb-Faye +Radford +4 +154 +38:30 +45 +11.3 +14 +48 +.292 + ++14 +M.Bullock +New Hampshire +1 +38 +38:00 +13 +13.0 +3 +11 +.273 + ++ +C.Davis +Fisk +1 +38 +38:00 +20 +20.0 +9 +16 +.563 + ++ +J.Rudolph +Montana Tech +1 +38 +38:00 +12 +12.0 +5 +9 +.556 + ++ +S.Sutton +Montana Tech +1 +38 +38:00 +8 +8.0 +3 +14 +.214 + ++ +R.Cook +Montreat +1 +38 +38:00 +10 +10.0 +2 +13 +.154 + ++ +J.Tipton +Asbury +1 +38 +38:00 +15 +15.0 +5 +14 +.357 + ++ +M.Session +Dowling +1 +38 +38:00 +20 +20.0 +6 +17 +.353 + ++ +J.Haywood +Oregon State +1 +38 +38:00 +8 +8.0 +3 +16 +.188 + ++ +J.Hunt +Memphis +1 +38 +38:00 +19 +19.0 +6 +18 +.333 + ++15 +J.Kapono +U-C-L-A +2 +76 +38:00 +36 +18.0 +13 +31 +.419 + ++ +C.Bozeman +U-C-L-A +2 +76 +38:00 +24 +12.0 +9 +26 +.346 + ++ +C.McCrommon +Robert Morris +2 +76 +38:00 +36 +18.0 +15 +29 +.517 + ++ +R.Atchison +UMKC +2 +76 +38:00 +23 +11.5 +8 +17 +.471 + ++16 +R.Mantlo +Liberty +3 +114 +38:00 +28 +9.3 +7 +23 +.304 + ++ +M.Austin +Eastern Mich +3 +114 +38:00 +61 +20.3 +18 +42 +.429 + ++ +P.Karangwa +Siena +3 +114 +38:00 +46 +15.3 +17 +48 +.354 + ++ +D.Luckey +St Francis-PA +3 +114 +38:00 +64 +21.3 +23 +58 +.397 + ++ +B.Blizzard +UNC-Wilmington +3 +114 +38:00 +69 +23.0 +25 +43 +.581 + ++ +R.Carney +Memphis +3 +114 +38:00 +39 +13.0 +13 +38 +.342 + ++ +A.Adams +Morris Brown +3 +114 +38:00 +31 +10.3 +9 +46 +.196 + ++ +M.Perry +Saint Louis +3 +114 +38:00 +46 +15.3 +17 +48 +.354 + ++17 +R.Arrington +Radford +4 +151 +37:45 +55 +13.8 +18 +62 +.290 + ++18 +D.Bennett +Marist +3 +113 +37:40 +36 +12.0 +10 +27 +.370 + ++ +M.Bailey +Ill-Chicago +3 +113 +37:40 +49 +16.3 +20 +30 +.667 + ++ +J.Schneiderman +Ill-Chicago +3 +113 +37:40 +40 +13.3 +12 +22 +.545 + ++ +J.Hall +Wagner +3 +113 +37:40 +73 +24.3 +27 +43 +.628 + ++19 +M.Thurston +Prairie View +2 +75 +37:30 +29 +14.5 +11 +19 +.579 + ++20 +D.Winans +SE Missouri St +5 +187 +37:24 +76 +15.2 +29 +64 +.453 + ++21 +J.Logan +Idaho +3 +112 +37:20 +16 +5.3 +6 +16 +.375 + ++ +M.Davis +Pacific +3 +112 +37:20 +36 +12.0 +11 +32 +.344 + ++ +L.Truscott +Houston +3 +112 +37:20 +54 +18.0 +21 +41 +.512 + ++ +J.Conley +Va Military +3 +112 +37:20 +76 +25.3 +26 +54 +.481 + ++22 +K.Clark +St Peters +4 +149 +37:15 +123 +30.8 +40 +83 +.482 + ++ +A.Dobie +Long Island +4 +149 +37:15 +64 +16.0 +25 +66 +.379 + ++23 +E.Crumbley +Fla Atlantic +6 +223 +37:10 +102 +17.0 +32 +86 +.372 + ++24 +D.Almond +Millsaps +1 +37 +37:00 +8 +8.0 +3 +8 +.375 + ++ +J.Harris +Milligan +1 +37 +37:00 +20 +20.0 +8 +15 +.533 + ++ +M.Traylor +Taylor +1 +37 +37:00 +11 +11.0 +3 +5 +.600 + ++ +A.Griffin +CS-Monterey +1 +37 +37:00 +19 +19.0 +7 +16 +.438 + ++ +T.Luther +Mt St Joes +1 +37 +37:00 +17 +17.0 +8 +18 +.444 + ++ +T.Mills +Dowling +1 +37 +37:00 +16 +16.0 +7 +18 +.389 + ++ +B.Hunter +Ohio Univ +1 +37 +37:00 +28 +28.0 +11 +22 +.500 + ++25 +T.Trotter +MD-Eastern Shore +2 +74 +37:00 +48 +24.0 +19 +28 +.679 + ++ +L.Flores +Manhattan +2 +74 +37:00 +44 +22.0 +17 +36 +.472 + + December 2, 2002, at 02:35 PM ET +