From: Michael Orlitzky Date: Mon, 23 Jun 2014 18:05:46 +0000 (-0400) Subject: Add SportInfo support for NFL_Roster_XML.dtd. X-Git-Tag: 0.0.6~91 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=b6145e8648fa39ada1f7a2819b27df5cb51eefcc;p=dead%2Fhtsn-import.git Add SportInfo support for NFL_Roster_XML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 2b3d243..9e42dcd 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -336,6 +336,8 @@ NFLTotalYardageXML.dtd NFL_KickingLeaders_XML.dtd .IP \[bu] NFL_NBA_Draft_XML.dtd +.IP \[bu] +NFL_Roster_XML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/NFL_Roster_XML.dtd b/schema/NFL_Roster_XML.dtd new file mode 100644 index 0000000..e6fa791 --- /dev/null +++ b/schema/NFL_Roster_XML.dtd @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/NFL_Roster_XML/NFL_Roster_XML.xml b/schemagen/NFL_Roster_XML/NFL_Roster_XML.xml new file mode 100644 index 0000000..ae1e809 --- /dev/null +++ b/schemagen/NFL_Roster_XML/NFL_Roster_XML.xml @@ -0,0 +1,895 @@ + + + +2338089 +ABX%ROSTER-ATL +Miscellaneous +NFL +2005 Atlanta Falcons Roster +061 ++458 +Aaron +Beasley +37 +CB +9 +A +6-0 +206 +7/7/1973 +West Virginia + ++1249 +Eric +Beverly +80 +G +7 +A +6-3 +300 +3/28/1974 +Miami-Ohio + ++2643 +Martin +Bibla +64 +G +3 +I +6-3 +306 +10/4/1979 +Miami-Florida + ++3053 +Dwayne +Blakley +85 +TE +1 +A +6-4 +257 +8/10/1979 +Missouri + ++4698 +Kris +Briggs +43 +FB +R +P +5-11 +235 +4/17/1981 +S-M-U + ++973 +Keith +Brooking +56 +LB +7 +A +6-2 +245 +10/30/1975 +Georgia Tech + ++243 +Keion +Carpenter +29 +S +6 +I +5-11 +205 +10/31/1977 +Virginia Tech + ++813 +Rod +Coleman +75 +DT +6 +A +6-2 +285 +8/16/1976 +East Carolina + ++986 +Alge +Crumpler +83 +TE +4 +A +6-2 +262 +10/30/1967 +North Carolina + ++4317 +Carey +Davis +39 +FB +R +P +5-10 +225 +3/27/1981 +Illinois + ++1166 +Ty +Detmer +14 +QB +13 +A +6-0 +189 +10/30/1967 +B-Y-U + ++972 +Chris +Draft +54 +LB +6 +A +5-11 +232 +2/26/1976 +Stanford + ++2652 +T.J. +Duckett +45 +RB +3 +A +6-0 +254 +2/17/1981 +Michigan State + ++1568 +Jamie +Duncan +59 +LB +7 +A +6-1 +238 +7/20/1975 +Vanderbilt + ++1554 +Warrick +Dunn +28 +RB +8 +A +5-9 +180 +1/5/1975 +Florida State + ++3133 +Jimmy +Farris +87 +WR +2 +A +6-0 +200 +4/13/1978 +Montana + ++947 +Jay +Feely +4 +K +4 +A +5-10 +206 +5/23/1976 +Michigan + ++989 +Brian +Finneran +86 +WR +6 +A +6-5 +210 +1/31/1976 +Villanova + ++2656 +Kynan +Forney +65 +G +4 +A +6-2 +305 +9/8/1978 +Hawaii + ++975 +Roberto +Garza +63 +G/C +4 +A +6-2 +296 +3/26/1979 +Texas A_N_M-Kingsville + ++4790 +Junior +Glymph +93 +DE +R +P +6-5 +270 +4/13/1981 +Carson-Newman + ++3753 +Justin +Griffith +33 +FB +2 +I +5-11 +232 +4/13/1981 +Mississippi State + ++572 +Cory +Hall +27 +S +6 +A +6-0 +213 +12/5/1976 +Fresno State + ++997 +Travis +Hall +98 +DT +10 +A +6-5 +295 +8/3/1972 +B-Y-U + ++4792 +DeAngelo +Hall +21 +CB +R +A +5-10 +197 +11/19/1983 +Virginia Tech + ++373 +Steve +Herndon +73 +G +4 +A +6-4 +292 +5/25/1977 +Georgia + ++995 +Ed +Jasper +95 +DT +8 +A +6-2 +293 +1/18/1973 +Texas A_N_M + ++4796 +Michael +Jenkins +12 +WR +R +A +6-4 +218 +6/18/1982 +Ohio State + ++806 +Eric +Johnson +55 +LB +5 +A +6-0 +220 +4/30/1976 +Nebraska + ++996 +Patrick +Kerney +97 +DE +6 +A +6-5 +273 +12/30/1976 +Virginia + ++4045 +Austin +King +66 +C +2 +A +6-5 +303 +4/11/1981 +Northwestern + ++2217 +Antwan +Lake +96 +DE +3 +A +6-4 +308 +7/10/1979 +West Virginia + ++4800 +Chad +Lavalais +94 +DT +R +A +6-1 +293 +4/15/1979 +L-S-U + ++2671 +George +Layne +38 +FB +2 +I +5-11 +250 +10/9/1978 +T-C-U + ++3313 +Mike +Mabry +77 +C +R +P +6-2 +300 +4/26/1980 +U-C-F + ++1279 +Kevin +Mathis +23 +CB +8 +A +5-9 +185 +4/29/1974 +Texas A_N_M-Commerce + ++2673 +Kevin +McCadam +25 +S +3 +A +6-1 +219 +3/6/1979 +Virginia Tech + ++974 +Todd +McClure +62 +C +5 +A +6-1 +286 +2/16/1977 +L-S-U + ++36 +Fred +McCrary +44 +FB +8 +A +6-0 +247 +9/19/1972 +Mississippi State + ++951 +Chris +Mohr +13 +P +15 +A +6-5 +215 +5/11/1966 +Alabama + ++3763 +Michael +Moore +67 +G +3 +I +6-2 +318 +11/1/1976 +Troy State + ++4328 +Christian +Morton +30 +CB +R +A +6-0 +188 +4/28/1981 +Illinois + ++4805 +Kendrick +Mosley +19 +WR +R +P +6-2 +197 +7/12/1981 +Western Michigan + ++4764 +Dave +Pearson +68 +T +R +P +6-3 +297 +3/29/1981 +Michigan + ++2913 +Jared +Peck +71 +T +1 +P +6-5 +290 +5/6/1979 +North Dakota State + ++269 +Peerless +Price +81 +WR +6 +A +5-11 +190 +10/27/1976 +Tennessee + ++2050 +Stanley +Pritchett +46 +FB +9 +I +6-2 +250 +12/22/1973 +South Carolina + ++4806 +Eric +Pruitt +42 +S +R +A +6-0 +196 +8/16/1981 +Southern Mississippi + ++969 +Derek +Rackley +48 +LS +5 +A +6-4 +250 +7/18/1977 +Minnesota + ++1086 +Karon +Riley +92 +DE +4 +I +6-2 +268 +8/23/1978 +Minnesota + ++4114 +Travaris +Robinson +39 +S +2 +I +5-10 +193 +9/1/1981 +Auburn + ++1352 +Allen +Rossum +20 +CB +7 +A +5-8 +178 +10/22/1975 +Notre Dame + ++2559 +Darnell +Sanders +88 +TE +3 +A +6-6 +270 +3/16/1979 +Ohio State + ++4820 +Matt +Schaub +8 +QB +R +A +6-5 +237 +6/25/1981 +Virginia + ++3769 +Bryan +Scott +24 +S +2 +A +6-1 +219 +4/13/1981 +Penn State + ++3685 +Siddeeq +Shabazz +26 +S +2 +A +5-11 +215 +2/5/1981 +New Mexico State + ++2690 +Kevin +Shaffer +76 +OT +3 +A +6-5 +290 +3/2/1980 +Tulsa + ++992 +Brady +Smith +91 +DE +9 +A +6-5 +274 +6/5/1973 +Colorado State + ++970 +Matt +Stewart +52 +LB +4 +A +6-3 +232 +8/31/1979 +Vanderbilt + ++4822 +Steve +Stewart +72 +T +R +P +6-4 +309 +11/12/1980 +Michigan State + ++993 +Artie +Ulmer +50 +LB +6 +A +6-3 +247 +7/30/1973 +Valdosta State + ++4217 +Khaleed +Vaughn +99 +DE +R +A +6-4 +276 +5/20/1981 +Clemson + ++948 +Michael +Vick +7 +QB +4 +A +6-0 +215 +6/26/1980 +Virginia Tech + ++1504 +Jason +Webster +36 +CB +5 +A +5-9 +187 +9/8/1977 +Texas A_N_M + ++106 +Todd +Weiner +74 +OT +7 +A +6-4 +297 +9/16/1975 +Kansas State + ++1717 +Dez +White +89 +WR +5 +A +6-1 +215 +8/23/1979 +Georgia Tech + ++4824 +Demorrio +Williams +51 +LB +R +A +6-0 +232 +7/6/1980 +Nebraska + ++4522 +Jason +Wright +35 +RB +R +A +5-10 +210 +7/12/1982 +Northwestern + + January 6, 2005, at 01:49 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 434db02..3d7299b 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -195,8 +195,8 @@ dtds = "NFLYardsXML.dtd", -- no xml "NFL_KickingLeaders_XML.dtd", "NFL_NBA_Draft_XML.dtd", - "NFL_PuntingLeaders_XML.dtd", -- no dtd - "NFL_Roster_XML.dtd", -- no dtd + "NFL_PuntingLeaders_XML.dtd", -- no xml + "NFL_Roster_XML.dtd", "NFL_Team_Stats_XML.dtd", -- no dtd "Transactions_XML.dtd", -- no dtd "Weekly_Sched_XML.dtd", -- no dtd @@ -429,7 +429,8 @@ sport_info_test_files = "NFLTopPerformanceXML.xml", "NFLTotalYardageXML.xml", "NFL_KickingLeaders_XML.xml", - "NFL_NBA_Draft_XML.xml" + "NFL_NBA_Draft_XML.xml", + "NFL_Roster_XML.xml" ] diff --git a/test/xml/sportinfo/NFL_Roster_XML.dtd b/test/xml/sportinfo/NFL_Roster_XML.dtd new file mode 100644 index 0000000..e6fa791 --- /dev/null +++ b/test/xml/sportinfo/NFL_Roster_XML.dtd @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/NFL_Roster_XML.xml b/test/xml/sportinfo/NFL_Roster_XML.xml new file mode 100644 index 0000000..ae1e809 --- /dev/null +++ b/test/xml/sportinfo/NFL_Roster_XML.xml @@ -0,0 +1,895 @@ + + + +2338089 +ABX%ROSTER-ATL +Miscellaneous +NFL +2005 Atlanta Falcons Roster +061 ++458 +Aaron +Beasley +37 +CB +9 +A +6-0 +206 +7/7/1973 +West Virginia + ++1249 +Eric +Beverly +80 +G +7 +A +6-3 +300 +3/28/1974 +Miami-Ohio + ++2643 +Martin +Bibla +64 +G +3 +I +6-3 +306 +10/4/1979 +Miami-Florida + ++3053 +Dwayne +Blakley +85 +TE +1 +A +6-4 +257 +8/10/1979 +Missouri + ++4698 +Kris +Briggs +43 +FB +R +P +5-11 +235 +4/17/1981 +S-M-U + ++973 +Keith +Brooking +56 +LB +7 +A +6-2 +245 +10/30/1975 +Georgia Tech + ++243 +Keion +Carpenter +29 +S +6 +I +5-11 +205 +10/31/1977 +Virginia Tech + ++813 +Rod +Coleman +75 +DT +6 +A +6-2 +285 +8/16/1976 +East Carolina + ++986 +Alge +Crumpler +83 +TE +4 +A +6-2 +262 +10/30/1967 +North Carolina + ++4317 +Carey +Davis +39 +FB +R +P +5-10 +225 +3/27/1981 +Illinois + ++1166 +Ty +Detmer +14 +QB +13 +A +6-0 +189 +10/30/1967 +B-Y-U + ++972 +Chris +Draft +54 +LB +6 +A +5-11 +232 +2/26/1976 +Stanford + ++2652 +T.J. +Duckett +45 +RB +3 +A +6-0 +254 +2/17/1981 +Michigan State + ++1568 +Jamie +Duncan +59 +LB +7 +A +6-1 +238 +7/20/1975 +Vanderbilt + ++1554 +Warrick +Dunn +28 +RB +8 +A +5-9 +180 +1/5/1975 +Florida State + ++3133 +Jimmy +Farris +87 +WR +2 +A +6-0 +200 +4/13/1978 +Montana + ++947 +Jay +Feely +4 +K +4 +A +5-10 +206 +5/23/1976 +Michigan + ++989 +Brian +Finneran +86 +WR +6 +A +6-5 +210 +1/31/1976 +Villanova + ++2656 +Kynan +Forney +65 +G +4 +A +6-2 +305 +9/8/1978 +Hawaii + ++975 +Roberto +Garza +63 +G/C +4 +A +6-2 +296 +3/26/1979 +Texas A_N_M-Kingsville + ++4790 +Junior +Glymph +93 +DE +R +P +6-5 +270 +4/13/1981 +Carson-Newman + ++3753 +Justin +Griffith +33 +FB +2 +I +5-11 +232 +4/13/1981 +Mississippi State + ++572 +Cory +Hall +27 +S +6 +A +6-0 +213 +12/5/1976 +Fresno State + ++997 +Travis +Hall +98 +DT +10 +A +6-5 +295 +8/3/1972 +B-Y-U + ++4792 +DeAngelo +Hall +21 +CB +R +A +5-10 +197 +11/19/1983 +Virginia Tech + ++373 +Steve +Herndon +73 +G +4 +A +6-4 +292 +5/25/1977 +Georgia + ++995 +Ed +Jasper +95 +DT +8 +A +6-2 +293 +1/18/1973 +Texas A_N_M + ++4796 +Michael +Jenkins +12 +WR +R +A +6-4 +218 +6/18/1982 +Ohio State + ++806 +Eric +Johnson +55 +LB +5 +A +6-0 +220 +4/30/1976 +Nebraska + ++996 +Patrick +Kerney +97 +DE +6 +A +6-5 +273 +12/30/1976 +Virginia + ++4045 +Austin +King +66 +C +2 +A +6-5 +303 +4/11/1981 +Northwestern + ++2217 +Antwan +Lake +96 +DE +3 +A +6-4 +308 +7/10/1979 +West Virginia + ++4800 +Chad +Lavalais +94 +DT +R +A +6-1 +293 +4/15/1979 +L-S-U + ++2671 +George +Layne +38 +FB +2 +I +5-11 +250 +10/9/1978 +T-C-U + ++3313 +Mike +Mabry +77 +C +R +P +6-2 +300 +4/26/1980 +U-C-F + ++1279 +Kevin +Mathis +23 +CB +8 +A +5-9 +185 +4/29/1974 +Texas A_N_M-Commerce + ++2673 +Kevin +McCadam +25 +S +3 +A +6-1 +219 +3/6/1979 +Virginia Tech + ++974 +Todd +McClure +62 +C +5 +A +6-1 +286 +2/16/1977 +L-S-U + ++36 +Fred +McCrary +44 +FB +8 +A +6-0 +247 +9/19/1972 +Mississippi State + ++951 +Chris +Mohr +13 +P +15 +A +6-5 +215 +5/11/1966 +Alabama + ++3763 +Michael +Moore +67 +G +3 +I +6-2 +318 +11/1/1976 +Troy State + ++4328 +Christian +Morton +30 +CB +R +A +6-0 +188 +4/28/1981 +Illinois + ++4805 +Kendrick +Mosley +19 +WR +R +P +6-2 +197 +7/12/1981 +Western Michigan + ++4764 +Dave +Pearson +68 +T +R +P +6-3 +297 +3/29/1981 +Michigan + ++2913 +Jared +Peck +71 +T +1 +P +6-5 +290 +5/6/1979 +North Dakota State + ++269 +Peerless +Price +81 +WR +6 +A +5-11 +190 +10/27/1976 +Tennessee + ++2050 +Stanley +Pritchett +46 +FB +9 +I +6-2 +250 +12/22/1973 +South Carolina + ++4806 +Eric +Pruitt +42 +S +R +A +6-0 +196 +8/16/1981 +Southern Mississippi + ++969 +Derek +Rackley +48 +LS +5 +A +6-4 +250 +7/18/1977 +Minnesota + ++1086 +Karon +Riley +92 +DE +4 +I +6-2 +268 +8/23/1978 +Minnesota + ++4114 +Travaris +Robinson +39 +S +2 +I +5-10 +193 +9/1/1981 +Auburn + ++1352 +Allen +Rossum +20 +CB +7 +A +5-8 +178 +10/22/1975 +Notre Dame + ++2559 +Darnell +Sanders +88 +TE +3 +A +6-6 +270 +3/16/1979 +Ohio State + ++4820 +Matt +Schaub +8 +QB +R +A +6-5 +237 +6/25/1981 +Virginia + ++3769 +Bryan +Scott +24 +S +2 +A +6-1 +219 +4/13/1981 +Penn State + ++3685 +Siddeeq +Shabazz +26 +S +2 +A +5-11 +215 +2/5/1981 +New Mexico State + ++2690 +Kevin +Shaffer +76 +OT +3 +A +6-5 +290 +3/2/1980 +Tulsa + ++992 +Brady +Smith +91 +DE +9 +A +6-5 +274 +6/5/1973 +Colorado State + ++970 +Matt +Stewart +52 +LB +4 +A +6-3 +232 +8/31/1979 +Vanderbilt + ++4822 +Steve +Stewart +72 +T +R +P +6-4 +309 +11/12/1980 +Michigan State + ++993 +Artie +Ulmer +50 +LB +6 +A +6-3 +247 +7/30/1973 +Valdosta State + ++4217 +Khaleed +Vaughn +99 +DE +R +A +6-4 +276 +5/20/1981 +Clemson + ++948 +Michael +Vick +7 +QB +4 +A +6-0 +215 +6/26/1980 +Virginia Tech + ++1504 +Jason +Webster +36 +CB +5 +A +5-9 +187 +9/8/1977 +Texas A_N_M + ++106 +Todd +Weiner +74 +OT +7 +A +6-4 +297 +9/16/1975 +Kansas State + ++1717 +Dez +White +89 +WR +5 +A +6-1 +215 +8/23/1979 +Georgia Tech + ++4824 +Demorrio +Williams +51 +LB +R +A +6-0 +232 +7/6/1980 +Nebraska + ++4522 +Jason +Wright +35 +RB +R +A +5-10 +210 +7/12/1982 +Northwestern + + January 6, 2005, at 01:49 PM ET +