From: Michael Orlitzky Date: Mon, 16 Jun 2014 22:02:39 +0000 (-0400) Subject: Add SportInfo support for Cbask_Indv_Scoring_XML.dtd. X-Git-Tag: 0.0.6~195 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=0b747e9709e879817c3a3949312e3bcfa785d5a3;p=dead%2Fhtsn-import.git Add SportInfo support for Cbask_Indv_Scoring_XML.dtd. --- diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index fbb6858..8843f53 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -134,6 +134,8 @@ CBASK_FGPctXML.dtd CBASK_FoulsXML.dtd .IP \[bu] CBASK_FTPctXML.dtd +.IP \[bu] +Cbask_Indv_Scoring_XML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/Cbask_Indv_Scoring_XML.dtd b/schema/Cbask_Indv_Scoring_XML.dtd new file mode 100644 index 0000000..324c542 --- /dev/null +++ b/schema/Cbask_Indv_Scoring_XML.dtd @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/Cbask_Indv_Scoring_XML/Cbask_Indv_Scoring_XML.xml b/schemagen/Cbask_Indv_Scoring_XML/Cbask_Indv_Scoring_XML.xml new file mode 100644 index 0000000..89125b6 --- /dev/null +++ b/schemagen/Cbask_Indv_Scoring_XML/Cbask_Indv_Scoring_XML.xml @@ -0,0 +1,462 @@ + + + +1753217 +AEX%NCAA-SCORING +Statistics +CBASK + +NCAA Division I Basketball Scoring Statistics + ++Fr +24 +252 +68 +146 +718 +29.9 + ++Jr +25 +220 +85 +139 +664 +26.6 + ++Sr +26 +239 +57 +139 +674 +25.9 + ++Sr +22 +175 +69 +135 +554 +25.2 + ++Sr +19 +167 +0 +104 +438 +23.1 + ++Sr +23 +155 +61 +157 +528 +23.0 + ++Sr +22 +158 +66 +120 +502 +22.8 + ++So +22 +172 +47 +108 +499 +22.7 + ++Sr +26 +218 +58 +95 +589 +22.7 + ++Jr +24 +181 +35 +137 +534 +22.3 + ++Fr +24 +169 +65 +130 +533 +22.2 + ++Jr +21 +145 +51 +122 +463 +22.0 + ++Sr +24 +167 +61 +131 +526 +21.9 + ++Jr +23 +151 +47 +152 +501 +21.8 + ++Jr +22 +138 +48 +155 +479 +21.8 + ++Jr +23 +162 +72 +99 +495 +21.5 + ++Jr +23 +171 +41 +111 +494 +21.5 + ++Fr +25 +182 +46 +123 +533 +21.3 + ++Sr +20 +142 +31 +109 +424 +21.2 + ++Sr +21 +152 +21 +119 +444 +21.1 + ++Sr +22 +177 +21 +87 +462 +21.0 + ++Jr +24 +195 +5 +107 +502 +20.9 + ++Jr +22 +150 +66 +94 +460 +20.9 + ++Sr +25 +176 +63 +102 +517 +20.7 + ++Sr +24 +147 +91 +110 +495 +20.6 + ++Jr +25 +174 +11 +156 +515 +20.6 + ++So +22 +159 +61 +71 +450 +20.5 + ++So +24 +160 +67 +103 +490 +20.4 + ++Sr +24 +162 +38 +128 +490 +20.4 + ++So +22 +171 +15 +92 +449 +20.4 + ++Jr +23 +169 +53 +78 +469 +20.4 + ++Sr +24 +180 +68 +60 +488 +20.3 + ++Jr +21 +134 +1 +158 +427 +20.3 + ++Jr +22 +179 +4 +85 +447 +20.3 + ++Jr +23 +131 +70 +131 +463 +20.1 + ++Jr +24 +171 +79 +61 +482 +20.1 + ++Sr +24 +163 +69 +87 +482 +20.1 + ++Sr +23 +163 +33 +100 +459 +20.0 + ++So +22 +159 +35 +86 +439 +20.0 + ++Sr +22 +144 +50 +99 +437 +19.9 + ++Jr +21 +131 +37 +117 +416 +19.8 + ++Sr +26 +165 +74 +109 +513 +19.7 + ++So +21 +142 +0 +130 +414 +19.7 + ++So +23 +139 +32 +141 +451 +19.6 + ++Jr +23 +145 +36 +124 +450 +19.6 + ++Sr +21 +139 +38 +93 +409 +19.5 + ++Sr +23 +174 +43 +56 +447 +19.4 + ++Sr +22 +142 +57 +86 +427 +19.4 + ++Sr +23 +160 +44 +82 +446 +19.4 + ++Sr +23 +159 +44 +83 +445 +19.3 + + February 13, 2002, at 11:54 AM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 424189d..ba72eb6 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -77,9 +77,9 @@ dtds = "Cbask_DivIII_Team_Stats_XML.dtd", "CBASK_FGPctXML.dtd", "CBASK_FoulsXML.dtd", - "CBASK_FTPctXML.dtd", + "CBASK_FTPctXML.dtd", "Cbask_Indv_No_Avg_XML.dtd", -- no dtd - "Cbask_Indv_Scoring_XML.dtd", -- no dtd + "Cbask_Indv_Scoring_XML.dtd", "Cbask_Indv_Shooting_XML.dtd", -- no dtd "CBASK_MinutesXML.dtd", -- no dtd "Cbask_Polls_XML.dtd", -- no dtd @@ -327,7 +327,8 @@ sport_info_test_files = "test/xml/sportinfo/Cbask_DivIII_Team_Stats_XML.xml", "test/xml/sportinfo/CBASK_FGPctXML.xml", "test/xml/sportinfo/CBASK_FoulsXML.xml", - "test/xml/sportinfo/CBASK_FTPctXML.xml" + "test/xml/sportinfo/CBASK_FTPctXML.xml", + "test/xml/sportinfo/Cbask_Indv_Scoring_XML.xml" ] diff --git a/test/xml/sportinfo/Cbask_Indv_Scoring_XML.dtd b/test/xml/sportinfo/Cbask_Indv_Scoring_XML.dtd new file mode 100644 index 0000000..324c542 --- /dev/null +++ b/test/xml/sportinfo/Cbask_Indv_Scoring_XML.dtd @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/Cbask_Indv_Scoring_XML.xml b/test/xml/sportinfo/Cbask_Indv_Scoring_XML.xml new file mode 100644 index 0000000..89125b6 --- /dev/null +++ b/test/xml/sportinfo/Cbask_Indv_Scoring_XML.xml @@ -0,0 +1,462 @@ + + + +1753217 +AEX%NCAA-SCORING +Statistics +CBASK + +NCAA Division I Basketball Scoring Statistics + ++Fr +24 +252 +68 +146 +718 +29.9 + ++Jr +25 +220 +85 +139 +664 +26.6 + ++Sr +26 +239 +57 +139 +674 +25.9 + ++Sr +22 +175 +69 +135 +554 +25.2 + ++Sr +19 +167 +0 +104 +438 +23.1 + ++Sr +23 +155 +61 +157 +528 +23.0 + ++Sr +22 +158 +66 +120 +502 +22.8 + ++So +22 +172 +47 +108 +499 +22.7 + ++Sr +26 +218 +58 +95 +589 +22.7 + ++Jr +24 +181 +35 +137 +534 +22.3 + ++Fr +24 +169 +65 +130 +533 +22.2 + ++Jr +21 +145 +51 +122 +463 +22.0 + ++Sr +24 +167 +61 +131 +526 +21.9 + ++Jr +23 +151 +47 +152 +501 +21.8 + ++Jr +22 +138 +48 +155 +479 +21.8 + ++Jr +23 +162 +72 +99 +495 +21.5 + ++Jr +23 +171 +41 +111 +494 +21.5 + ++Fr +25 +182 +46 +123 +533 +21.3 + ++Sr +20 +142 +31 +109 +424 +21.2 + ++Sr +21 +152 +21 +119 +444 +21.1 + ++Sr +22 +177 +21 +87 +462 +21.0 + ++Jr +24 +195 +5 +107 +502 +20.9 + ++Jr +22 +150 +66 +94 +460 +20.9 + ++Sr +25 +176 +63 +102 +517 +20.7 + ++Sr +24 +147 +91 +110 +495 +20.6 + ++Jr +25 +174 +11 +156 +515 +20.6 + ++So +22 +159 +61 +71 +450 +20.5 + ++So +24 +160 +67 +103 +490 +20.4 + ++Sr +24 +162 +38 +128 +490 +20.4 + ++So +22 +171 +15 +92 +449 +20.4 + ++Jr +23 +169 +53 +78 +469 +20.4 + ++Sr +24 +180 +68 +60 +488 +20.3 + ++Jr +21 +134 +1 +158 +427 +20.3 + ++Jr +22 +179 +4 +85 +447 +20.3 + ++Jr +23 +131 +70 +131 +463 +20.1 + ++Jr +24 +171 +79 +61 +482 +20.1 + ++Sr +24 +163 +69 +87 +482 +20.1 + ++Sr +23 +163 +33 +100 +459 +20.0 + ++So +22 +159 +35 +86 +439 +20.0 + ++Sr +22 +144 +50 +99 +437 +19.9 + ++Jr +21 +131 +37 +117 +416 +19.8 + ++Sr +26 +165 +74 +109 +513 +19.7 + ++So +21 +142 +0 +130 +414 +19.7 + ++So +23 +139 +32 +141 +451 +19.6 + ++Jr +23 +145 +36 +124 +450 +19.6 + ++Sr +21 +139 +38 +93 +409 +19.5 + ++Sr +23 +174 +43 +56 +447 +19.4 + ++Sr +22 +142 +57 +86 +427 +19.4 + ++Sr +23 +160 +44 +82 +446 +19.4 + ++Sr +23 +159 +44 +83 +445 +19.3 + + February 13, 2002, at 11:54 AM ET +