From: Michael Orlitzky Date: Mon, 23 Jun 2014 01:40:25 +0000 (-0400) Subject: Add SportInfo support for nbateamleadersxml.dtd. X-Git-Tag: 0.0.6~110 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=ece8bccb3952fce63c1c649406243f064ce4e86c;p=dead%2Fhtsn-import.git Add SportInfo support for nbateamleadersxml.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 941c019..5145f8c 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -298,6 +298,8 @@ NBAScorersXML.dtd nbastandxml.dtd .IP \[bu] NBAStealsXML.dtd +.IP \[bu] +nbateamleadersxml.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/nbateamleadersxml.dtd b/schema/nbateamleadersxml.dtd new file mode 100644 index 0000000..525bfbd --- /dev/null +++ b/schema/nbateamleadersxml.dtd @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/nbateamleadersxml/nbateamleadersxml.xml b/schemagen/nbateamleadersxml/nbateamleadersxml.xml new file mode 100644 index 0000000..e29506e --- /dev/null +++ b/schemagen/nbateamleadersxml/nbateamleadersxml.xml @@ -0,0 +1,561 @@ + + + +1072627 +ACX%NBA-TEAM-LEADERS +Leaders +NBA +2000-2001 NBA Team Leaders ++Atlanta +87.490.8 +.425.429 +.344.351 +17.414.9 +-2.5 + ++Boston +93.397.7 +.421.465 +.340.362 +16.416.8 ++0.4 + ++Charlotte +90.287.7 +.426*.416 +.324.363 +15.015.0 +0.0 + ++Chicago +85.496.1 +.415.459 +.327.369 +15.814.6 +-1.2 + ++Cleveland +93.195.6 +.452.436 +.328.358 +17.415.4 +-2.0 + ++Dallas +98.895.7 +.459.442 +.381.330 +14.315.5 ++1.2 + ++Denver +99.299.8 +.439.443 +.350.358 +13.613.7 ++0.1 + ++Detroit +95.598.8 +.438.440 +.364.352 +17.115.9 +-1.2 + ++Golden State +95.6101.2 +.429.461 +.305.355 +16.616.4 +-0.2 + ++Houston +94.894.5 +.446.448 +.358.378 +15.414.0 +-1.4 + ++Indiana +92.292.4 +.439.422 +.332.340 +16.114.6 +-1.5 + ++LA Clippers +90.393.7 +.433.435 +.308.322 +17.113.1 +-4.0 + ++LA Lakers +*101.597.9 +*.474.441 +.357.354 +14.313.3 +-1.0 + ++Miami +87.485.8 +.420.433 +.339.335 +14.216.7 ++2.5 + ++Milwaukee +99.296.2 +.446.437 +.379.354 +14.116.8 ++2.7 + ++Minnesota +97.096.8 +.452.462 +.340.342 +14.315.8 ++1.5 + ++New Jersey +88.293.0 +.410.448 +.315.346 +14.917.6 ++2.7 + ++New York +87.9*83.5 +.436*.416 +.358.342 +14.715.9 ++1.2 + ++Orlando +95.595.5 +.433.439 +.345.331 +16.117.9 ++1.8 + ++Philadelphia +94.588.6 +.452.419 +.322.332 +16.616.1 +-0.5 + ++Phoenix +94.691.8 +.433.425 +.306.335 +15.5*18.5 ++3.0 + ++Portland +95.990.5 +.469.432 +.357.352 +16.515.8 +-0.7 + ++Sacramento +99.592.3 +.441.420 +.345*.313 +14.918.0 +*+3.1 + ++San Antonio +94.289.2 +.449.428 +*.394.322 +15.214.1 +-1.1 + ++Seattle +98.698.7 +.452.448 +.359.319 +15.915.0 +-0.9 + ++Toronto +95.494.2 +.425.450 +.355.347 +*13.413.4 +0.0 + ++Utah +97.292.4 +.469.439 +*.394.325 +15.316.5 ++1.2 + ++Vancouver +92.596.3 +.436.464 +.326.352 +16.415.7 +-0.7 + ++Washington +90.497.5 +.430.453 +.324.387 +17.515.5 +-2.0 + ++Atlanta +.292 +.718 +.506 +9-21 +4-17 +0-0 +2-1 +6-9 + ++Boston +.275 +.739 +.496 +7-23 +0-8 +2-1 +3-4 +5-13 + ++Charlotte +.298 +*.742 +.523 +13-16 +2-14 +3-2 +2-3 +11-6 + ++Chicago +.260 +.695 +.470 +4-30 +5-17 +0-1 +2-1 +1-19 + ++Cleveland +.311 +.714 +.514 +14-14 +6-4 +1-1 +4-1 +5-10 + ++Dallas +.243 +.696 +.476 +10-10 +2-5 +0-0 +2-2 +13-7 + ++Denver +.280 +.717 +.495 +5-13 +3-5 +1-2 +6-3 +8-9 + ++Detroit +.287 +.720 +.501 +5-20 +3-7 +0-1 +1-1 +7-10 + ++Golden State +*.319 +.696 +.500 +5-19 +9-9 +1-2 +4-2 +5-15 + ++Houston +.276 +.699 +.491 +8-17 +5-9 +1-1 +2-4 +8-7 + ++Indiana +.267 +.707 +.495 +15-18 +8-12 +3-2 +3-4 +11-9 + ++LA Clippers +.307 +.718 +.516 +8-24 +2-18 +0-5 +2-5 +5-10 + ++LA Lakers +.304 +.720 +.513 +9-8 +5-5 +4-1 +7-2 +10-5 + ++Miami +.240 +.717 +.476 +17-16 +1-15 +3-0 +4-6 +6-6 + ++Milwaukee +.283 +.714 +.497 +9-10 +9-2 +0-1 +2-2 +9-5 + ++Minnesota +.285 +.730 +.502 +10-13 +9-5 +3-1 +4-3 +9-6 + ++New Jersey +.255 +.703 +.469 +8-25 +1-20 +0-0 +3-6 +5-15 + ++New York +.257 +.740 +.504 +16-13 +3-12 +3-0 +5-4 +12-4 + ++Orlando +.294 +.705 +.492 +5-18 +5-12 +1-3 +3-4 +10-9 + ++Philadelphia +.303 +.714 +.517 +14-9 +5-7 +1-1 +4-1 +11-6 + ++Phoenix +.269 +.730 +.495 +12-11 +1-7 +1-2 +3-3 +7-4 + ++Portland +.312 +.719 +*.526 +15-10 +4-6 +2-0 +2-1 +15-6 + ++Sacramento +.266 +.707 +.491 +9-7 +0-4 +2-4 +3-5 +11-2 + ++San Antonio +.266 +.738 +.511 +14-11 +1-5 +0-2 +1-3 +14-5 + ++Seattle +.309 +.690 +.503 +8-16 +6-7 +0-0 +4-1 +11-10 + ++Toronto +.316 +.736 +.520 +7-15 +8-6 +2-1 +4-3 +9-7 + ++Utah +.283 +.727 +.508 +15-11 +9-7 +2-1 +4-1 +11-3 + ++Vancouver +.264 +.719 +.491 +6-21 +7-17 +1-2 +2-9 +6-11 + ++Washington +.278 +.728 +.501 +2-29 +5-17 +0-0 +0-3 +3-16 + + January 16, 2001, at 03:02 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index fbca4e0..a02d769 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -167,7 +167,7 @@ dtds = "NBAScorersXML.dtd", "nbastandxml.dtd", "NBAStealsXML.dtd", - "nbateamleadersxml.dtd", -- no dtd + "nbateamleadersxml.dtd", "nbatripledoublexml.dtd", -- no dtd "NBATurnoversXML.dtd", -- no dtd "NCAA_Conference_Schedule_XML.dtd", -- no dtd @@ -410,7 +410,8 @@ sport_info_test_files = "NBAReboundsXML.xml", "NBAScorersXML.xml", "nbastandxml.xml", - "NBAStealsXML.xml" + "NBAStealsXML.xml", + "nbateamleadersxml.xml" ] diff --git a/test/xml/sportinfo/nbateamleadersxml.dtd b/test/xml/sportinfo/nbateamleadersxml.dtd new file mode 100644 index 0000000..525bfbd --- /dev/null +++ b/test/xml/sportinfo/nbateamleadersxml.dtd @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/nbateamleadersxml.xml b/test/xml/sportinfo/nbateamleadersxml.xml new file mode 100644 index 0000000..e29506e --- /dev/null +++ b/test/xml/sportinfo/nbateamleadersxml.xml @@ -0,0 +1,561 @@ + + + +1072627 +ACX%NBA-TEAM-LEADERS +Leaders +NBA +2000-2001 NBA Team Leaders ++Atlanta +87.490.8 +.425.429 +.344.351 +17.414.9 +-2.5 + ++Boston +93.397.7 +.421.465 +.340.362 +16.416.8 ++0.4 + ++Charlotte +90.287.7 +.426*.416 +.324.363 +15.015.0 +0.0 + ++Chicago +85.496.1 +.415.459 +.327.369 +15.814.6 +-1.2 + ++Cleveland +93.195.6 +.452.436 +.328.358 +17.415.4 +-2.0 + ++Dallas +98.895.7 +.459.442 +.381.330 +14.315.5 ++1.2 + ++Denver +99.299.8 +.439.443 +.350.358 +13.613.7 ++0.1 + ++Detroit +95.598.8 +.438.440 +.364.352 +17.115.9 +-1.2 + ++Golden State +95.6101.2 +.429.461 +.305.355 +16.616.4 +-0.2 + ++Houston +94.894.5 +.446.448 +.358.378 +15.414.0 +-1.4 + ++Indiana +92.292.4 +.439.422 +.332.340 +16.114.6 +-1.5 + ++LA Clippers +90.393.7 +.433.435 +.308.322 +17.113.1 +-4.0 + ++LA Lakers +*101.597.9 +*.474.441 +.357.354 +14.313.3 +-1.0 + ++Miami +87.485.8 +.420.433 +.339.335 +14.216.7 ++2.5 + ++Milwaukee +99.296.2 +.446.437 +.379.354 +14.116.8 ++2.7 + ++Minnesota +97.096.8 +.452.462 +.340.342 +14.315.8 ++1.5 + ++New Jersey +88.293.0 +.410.448 +.315.346 +14.917.6 ++2.7 + ++New York +87.9*83.5 +.436*.416 +.358.342 +14.715.9 ++1.2 + ++Orlando +95.595.5 +.433.439 +.345.331 +16.117.9 ++1.8 + ++Philadelphia +94.588.6 +.452.419 +.322.332 +16.616.1 +-0.5 + ++Phoenix +94.691.8 +.433.425 +.306.335 +15.5*18.5 ++3.0 + ++Portland +95.990.5 +.469.432 +.357.352 +16.515.8 +-0.7 + ++Sacramento +99.592.3 +.441.420 +.345*.313 +14.918.0 +*+3.1 + ++San Antonio +94.289.2 +.449.428 +*.394.322 +15.214.1 +-1.1 + ++Seattle +98.698.7 +.452.448 +.359.319 +15.915.0 +-0.9 + ++Toronto +95.494.2 +.425.450 +.355.347 +*13.413.4 +0.0 + ++Utah +97.292.4 +.469.439 +*.394.325 +15.316.5 ++1.2 + ++Vancouver +92.596.3 +.436.464 +.326.352 +16.415.7 +-0.7 + ++Washington +90.497.5 +.430.453 +.324.387 +17.515.5 +-2.0 + ++Atlanta +.292 +.718 +.506 +9-21 +4-17 +0-0 +2-1 +6-9 + ++Boston +.275 +.739 +.496 +7-23 +0-8 +2-1 +3-4 +5-13 + ++Charlotte +.298 +*.742 +.523 +13-16 +2-14 +3-2 +2-3 +11-6 + ++Chicago +.260 +.695 +.470 +4-30 +5-17 +0-1 +2-1 +1-19 + ++Cleveland +.311 +.714 +.514 +14-14 +6-4 +1-1 +4-1 +5-10 + ++Dallas +.243 +.696 +.476 +10-10 +2-5 +0-0 +2-2 +13-7 + ++Denver +.280 +.717 +.495 +5-13 +3-5 +1-2 +6-3 +8-9 + ++Detroit +.287 +.720 +.501 +5-20 +3-7 +0-1 +1-1 +7-10 + ++Golden State +*.319 +.696 +.500 +5-19 +9-9 +1-2 +4-2 +5-15 + ++Houston +.276 +.699 +.491 +8-17 +5-9 +1-1 +2-4 +8-7 + ++Indiana +.267 +.707 +.495 +15-18 +8-12 +3-2 +3-4 +11-9 + ++LA Clippers +.307 +.718 +.516 +8-24 +2-18 +0-5 +2-5 +5-10 + ++LA Lakers +.304 +.720 +.513 +9-8 +5-5 +4-1 +7-2 +10-5 + ++Miami +.240 +.717 +.476 +17-16 +1-15 +3-0 +4-6 +6-6 + ++Milwaukee +.283 +.714 +.497 +9-10 +9-2 +0-1 +2-2 +9-5 + ++Minnesota +.285 +.730 +.502 +10-13 +9-5 +3-1 +4-3 +9-6 + ++New Jersey +.255 +.703 +.469 +8-25 +1-20 +0-0 +3-6 +5-15 + ++New York +.257 +.740 +.504 +16-13 +3-12 +3-0 +5-4 +12-4 + ++Orlando +.294 +.705 +.492 +5-18 +5-12 +1-3 +3-4 +10-9 + ++Philadelphia +.303 +.714 +.517 +14-9 +5-7 +1-1 +4-1 +11-6 + ++Phoenix +.269 +.730 +.495 +12-11 +1-7 +1-2 +3-3 +7-4 + ++Portland +.312 +.719 +*.526 +15-10 +4-6 +2-0 +2-1 +15-6 + ++Sacramento +.266 +.707 +.491 +9-7 +0-4 +2-4 +3-5 +11-2 + ++San Antonio +.266 +.738 +.511 +14-11 +1-5 +0-2 +1-3 +14-5 + ++Seattle +.309 +.690 +.503 +8-16 +6-7 +0-0 +4-1 +11-10 + ++Toronto +.316 +.736 +.520 +7-15 +8-6 +2-1 +4-3 +9-7 + ++Utah +.283 +.727 +.508 +15-11 +9-7 +2-1 +4-1 +11-3 + ++Vancouver +.264 +.719 +.491 +6-21 +7-17 +1-2 +2-9 +6-11 + ++Washington +.278 +.728 +.501 +2-29 +5-17 +0-0 +0-3 +3-16 + + January 16, 2001, at 03:02 PM ET +