]> gitweb.michael.orlitzky.com - dead/htsn-import.git/commitdiff
Update earlylineXML.dtd to match earlier changes to the code.
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 24 Jan 2015 20:57:17 +0000 (15:57 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Sat, 24 Jan 2015 20:57:17 +0000 (15:57 -0500)
schema/earlylineXML.dtd
schemagen/earlylineXML/22064237.xml [new file with mode: 0644]
test/xml/earlylineXML.dtd

index d5b3b6a571e32c5f31481f0396a64052bb63e5b8..4bea46e258ea3f8554d1be4ca862cfb7adad8866 100644 (file)
@@ -9,7 +9,7 @@
 <!ELEMENT teamH (#PCDATA)>
 <!ELEMENT over_under (#PCDATA)>
 <!ELEMENT game ( ( time, teamA, teamH, over_under ) )>
-<!ELEMENT date ( ( note, game ) )>
+<!ELEMENT date ( ( note?, game )* )>
 <!ELEMENT time_stamp (#PCDATA)>
 <!ELEMENT message ( ( XML_File_ID, heading, category, sport, title, date*, time_stamp ) )>
 
diff --git a/schemagen/earlylineXML/22064237.xml b/schemagen/earlylineXML/22064237.xml
new file mode 100644 (file)
index 0000000..84dced7
--- /dev/null
@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no" ?>\r<!DOCTYPE message PUBLIC "-//TSN//DTD Odds 1.0/EN" "earlylineXML.dtd">\r<message>\r<XML_File_ID>22064237</XML_File_ID>\r<heading>ADO;NHL-EARLY-LINE</heading>\r<category>Odds</category>\r<sport>NHL</sport>\r<title>National Hockey League Overnight Line</title>\r<date value="TUESDAY, OCTOBER 28TH (10/28/2014)">\r<game>\r<time></time>\r<teamA rotation="" line=""></teamA>\r<teamH rotation="001" line="">Ottawa</teamH>\r<over_under></over_under>\r</game>\r<game>\r<time></time>\r<teamA rotation="" line="5.5u">Over/Under:</teamA>\r<teamH rotation="" line=""></teamH>\r<over_under></over_under>\r</game>\r<game>\r<time></time>\r<teamA rotation="004" line="-170">Pittsburgh</teamA>\r<teamH rotation="" line="5.5u">Over/Under:</teamH>\r<over_under></over_under>\r</game>\r<game>\r<time>7:00</time>\r<teamA rotation="005" line="">Los Angeles</teamA>\r<teamH rotation="006" line="off">Philadelphia</teamH>\r<over_under></over_under>\r</game>\r<game>\r<time>7:00</time>\r<teamA rotation="007" line="">Winnipeg</teamA>\r<teamH rotation="008" line="-160">NY Islanders</teamH>\r<over_under>5.5o</over_under>\r</game>\r<game>\r<time>7:00</time>\r<teamA rotation="009" line="">Minnesota</teamA>\r<teamH rotation="010" line="-160">Boston</teamH>\r<over_under>5u</over_under>\r</game>\r<game>\r<time>7:30</time>\r<teamA rotation="011" line="">Buffalo</teamA>\r<teamH rotation="012" line="-220">Toronto</teamH>\r<over_under>5.5u</over_under>\r</game>\r<game>\r<time>7:30</time>\r<teamA rotation="013" line="">Arizona</teamA>\r<teamH rotation="014" line="-170">Tampa Bay</teamH>\r<over_under>5.5p</over_under>\r</game>\r<game>\r<time>8:30</time>\r<teamA rotation="015" line="">St. Louis</teamA>\r<teamH rotation="016" line="-120">Dallas</teamH>\r<over_under>5o</over_under>\r</game>\r<game>\r<time>8:30</time>\r<teamA rotation="017" line="">Anaheim</teamA>\r<teamH rotation="018" line="-150">Chicago</teamH>\r<over_under>5.5u</over_under>\r</game>\r<game>\r<time>9:00</time>\r<teamA rotation="019" line="-120">San Jose</teamA>\r<teamH rotation="020" line="">Colorado</teamH>\r<over_under>5.5p</over_under>\r</game>\r<game>\r<time>9:00</time>\r<teamA rotation="021" line="">Montreal</teamA>\r<teamH rotation="022" line="off">Calgary</teamH>\r<over_under></over_under>\r</game>\r<game>\r<time>10:00</time>\r<teamA rotation="023" line="">Carolina</teamA>\r<teamH rotation="024" line="-220">Vancouver</teamH>\r<over_under>5.5u</over_under>\r</game>\r</date>\r<time_stamp> October 27, 2014, at 02:44 PM ET </time_stamp>\r</message>\r
\ No newline at end of file
index d5b3b6a571e32c5f31481f0396a64052bb63e5b8..4bea46e258ea3f8554d1be4ca862cfb7adad8866 100644 (file)
@@ -9,7 +9,7 @@
 <!ELEMENT teamH (#PCDATA)>
 <!ELEMENT over_under (#PCDATA)>
 <!ELEMENT game ( ( time, teamA, teamH, over_under ) )>
-<!ELEMENT date ( ( note, game ) )>
+<!ELEMENT date ( ( note?, game )* )>
 <!ELEMENT time_stamp (#PCDATA)>
 <!ELEMENT message ( ( XML_File_ID, heading, category, sport, title, date*, time_stamp ) )>