From c8e78bd549049a29cbb91c5d725c1864dba11fdb Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 17 Jun 2014 07:28:08 -0400 Subject: [PATCH] Add SportInfo support for Cbask_Tourn_MVP_XML.dtd. --- doc/man1/htsn-import.1 | 2 + schema/Cbask_Tourn_MVP_XML.dtd | 22 ++ .../Cbask_Tourn_MVP_XML.xml | 270 ++++++++++++++++++ src/TSN/XML/SportInfo.hs | 5 +- test/xml/sportinfo/Cbask_Tourn_MVP_XML.dtd | 22 ++ test/xml/sportinfo/Cbask_Tourn_MVP_XML.xml | 270 ++++++++++++++++++ 6 files changed, 589 insertions(+), 2 deletions(-) create mode 100644 schema/Cbask_Tourn_MVP_XML.dtd create mode 100644 schemagen/Cbask_Tourn_MVP_XML/Cbask_Tourn_MVP_XML.xml create mode 100644 test/xml/sportinfo/Cbask_Tourn_MVP_XML.dtd create mode 100644 test/xml/sportinfo/Cbask_Tourn_MVP_XML.xml diff --git a/doc/man1/htsn-import.1 b/doc/man1/htsn-import.1 index 6ac8c32..c9c7da9 100644 --- a/doc/man1/htsn-import.1 +++ b/doc/man1/htsn-import.1 @@ -162,6 +162,8 @@ Cbask_Tourn_Champs_XML.dtd Cbask_Tourn_Indiv_XML.dtd .IP \[bu] Cbask_Tourn_Leaders_XML.dtd +.IP \[bu] +Cbask_Tourn_MVP_XML.dtd .RE .P The GameInfo and SportInfo types do not have their own top-level diff --git a/schema/Cbask_Tourn_MVP_XML.dtd b/schema/Cbask_Tourn_MVP_XML.dtd new file mode 100644 index 0000000..9255350 --- /dev/null +++ b/schema/Cbask_Tourn_MVP_XML.dtd @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemagen/Cbask_Tourn_MVP_XML/Cbask_Tourn_MVP_XML.xml b/schemagen/Cbask_Tourn_MVP_XML/Cbask_Tourn_MVP_XML.xml new file mode 100644 index 0000000..a052a15 --- /dev/null +++ b/schemagen/Cbask_Tourn_MVP_XML/Cbask_Tourn_MVP_XML.xml @@ -0,0 +1,270 @@ + + + +17 +AEX%NCAA-TOURN-MVPS +Statistics +CBASK + +NCAA Tournament Most Valuable Players + + +Shane Battier +Duke + + +Mateen Cleaves +Michigan State + + +Richard Hamilton +Connecticut + + +Jeff Sheppard +Kentucky + + +Miles Simon +Arizona + + +Tony Delk +Kentucky + + +Ed O'Bannon +U-C-L-A + + +Corliss Williamson +Arkansas + + +Donald Williams +North Carolina + + +Bobby Hurley +Duke + + +Christian Laettner +Duke + + +Anderson Hunt +U-N-L-V + + +Glen Rice +Michigan + + +Danny Manning +Kansas + + +Keith Smart +Indiana + + +Pervis Ellison +Louisville + + +Ed Pinckney +Villanova + + +Patrick Ewing +Georgetown + + +Hakeem Olajuwon +Houston + + +James Worthy +North Carolina + + +Isiah Thomas +Indiana + + +Darrell Griffith +Louisville + + +Magic Johnson +Michigan State + + +Jack Givens +Kentucky + + +Butch Lee +Marquette + + +Kent Benson +Indiana + + +Richard Washington +U-C-L-A + + +David Thompson +North Carolina State + + +Bill Walton +U-C-L-A + + +Bill Walton +U-C-L-A + + +Howard Porter +Villanova + + +Sidney Wicks +U-C-L-A + + +Lew Alcindor +U-C-L-A + + +Lew Alcindor +U-C-L-A + + +Lew Alcindor +U-C-L-A + + +Jerry Chambers +Utah + + +Bill Bradley +Princeton + + +Walt Hazzard +U-C-L-A + + +Art Heyman +Duke + + +Paul Hogue +Cincinnati + + +Jerry Lucas +Ohio State + + +Jerry Lucas +Ohio State + + +Jerry West +West Virginia + + +Elgin Baylor +Seattle + + +Wilt Chamberlain +Kansas + + +Hal Lear +Temple + + +Bill Russell +San Francisco + + +Tom Gola +La Salle + + +B.H. Born +Kansas + + +Clyde Lovellette +Kansas + + +None Selected + + + +Irwin Dambrot +CCNY + + +Alex Groza +Kentucky + + +Alex Groza +Kentucky + + +George Kaftan +Holy Cross + + +Bob Kurland +Oklahoma State + + +Bob Kurland +Oklahoma State + + +Arnold Ferrin +Utah + + +Ken Sailors +Wyoming + + +Howard Dallmar +Stanford + + +John Kotz +Wisconsin + + +Marvin Huffman +Indiana + + +None Selected + + + +Porter was declared ineligible after the tournament for signing +with an agent during the season. His MVP award was withdrawn and +Villanova had to forfeit several games, including its appearances in +the NCAA tournament. + + February 22, 2002, at 03:29 PM ET + diff --git a/src/TSN/XML/SportInfo.hs b/src/TSN/XML/SportInfo.hs index 39eb0b8..9ba45f6 100644 --- a/src/TSN/XML/SportInfo.hs +++ b/src/TSN/XML/SportInfo.hs @@ -98,7 +98,7 @@ dtds = "Cbask_Tourn_Champs_XML.dtd", "Cbask_Tourn_Indiv_XML.dtd", "Cbask_Tourn_Leaders_XML.dtd", - "Cbask_Tourn_MVP_XML.dtd", -- no dtd + "Cbask_Tourn_MVP_XML.dtd", "Cbask_Tourn_Records_XML.dtd", -- no dtd "LeagueScheduleXML.dtd", -- no dtd "minorscoresxml.dtd", -- no dtd @@ -342,7 +342,8 @@ sport_info_test_files = "Cbask_Tourn_Awards_XML.xml", "Cbask_Tourn_Champs_XML.xml", "Cbask_Tourn_Indiv_XML.xml", - "Cbask_Tourn_Leaders_XML.xml" + "Cbask_Tourn_Leaders_XML.xml", + "Cbask_Tourn_MVP_XML.xml" ] diff --git a/test/xml/sportinfo/Cbask_Tourn_MVP_XML.dtd b/test/xml/sportinfo/Cbask_Tourn_MVP_XML.dtd new file mode 100644 index 0000000..9255350 --- /dev/null +++ b/test/xml/sportinfo/Cbask_Tourn_MVP_XML.dtd @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/sportinfo/Cbask_Tourn_MVP_XML.xml b/test/xml/sportinfo/Cbask_Tourn_MVP_XML.xml new file mode 100644 index 0000000..dffea99 --- /dev/null +++ b/test/xml/sportinfo/Cbask_Tourn_MVP_XML.xml @@ -0,0 +1,270 @@ + + + +779017 +AEX%NCAA-TOURN-MVPS +Statistics +CBASK + +NCAA Tournament Most Valuable Players + + +Shane Battier +Duke + + +Mateen Cleaves +Michigan State + + +Richard Hamilton +Connecticut + + +Jeff Sheppard +Kentucky + + +Miles Simon +Arizona + + +Tony Delk +Kentucky + + +Ed O'Bannon +U-C-L-A + + +Corliss Williamson +Arkansas + + +Donald Williams +North Carolina + + +Bobby Hurley +Duke + + +Christian Laettner +Duke + + +Anderson Hunt +U-N-L-V + + +Glen Rice +Michigan + + +Danny Manning +Kansas + + +Keith Smart +Indiana + + +Pervis Ellison +Louisville + + +Ed Pinckney +Villanova + + +Patrick Ewing +Georgetown + + +Hakeem Olajuwon +Houston + + +James Worthy +North Carolina + + +Isiah Thomas +Indiana + + +Darrell Griffith +Louisville + + +Magic Johnson +Michigan State + + +Jack Givens +Kentucky + + +Butch Lee +Marquette + + +Kent Benson +Indiana + + +Richard Washington +U-C-L-A + + +David Thompson +North Carolina State + + +Bill Walton +U-C-L-A + + +Bill Walton +U-C-L-A + + +Howard Porter +Villanova + + +Sidney Wicks +U-C-L-A + + +Lew Alcindor +U-C-L-A + + +Lew Alcindor +U-C-L-A + + +Lew Alcindor +U-C-L-A + + +Jerry Chambers +Utah + + +Bill Bradley +Princeton + + +Walt Hazzard +U-C-L-A + + +Art Heyman +Duke + + +Paul Hogue +Cincinnati + + +Jerry Lucas +Ohio State + + +Jerry Lucas +Ohio State + + +Jerry West +West Virginia + + +Elgin Baylor +Seattle + + +Wilt Chamberlain +Kansas + + +Hal Lear +Temple + + +Bill Russell +San Francisco + + +Tom Gola +La Salle + + +B.H. Born +Kansas + + +Clyde Lovellette +Kansas + + +None Selected + + + +Irwin Dambrot +CCNY + + +Alex Groza +Kentucky + + +Alex Groza +Kentucky + + +George Kaftan +Holy Cross + + +Bob Kurland +Oklahoma State + + +Bob Kurland +Oklahoma State + + +Arnold Ferrin +Utah + + +Ken Sailors +Wyoming + + +Howard Dallmar +Stanford + + +John Kotz +Wisconsin + + +Marvin Huffman +Indiana + + +None Selected + + + +Porter was declared ineligible after the tournament for signing +with an agent during the season. His MVP award was withdrawn and +Villanova had to forfeit several games, including its appearances in +the NCAA tournament. + + February 22, 2002, at 03:29 PM ET + -- 2.43.2