From 155a71f84dd8f16d16f8673de0552e8a4e07e611 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 5 Jul 2014 13:35:20 -0400 Subject: [PATCH] Add a sample contained Detailed_Weather to the weatherxml schemagen. Update the test/schema DTD for weatherxml. --- schema/weatherxml.dtd | 18 ++++++++++++++++-- schemagen/weatherxml/21379214.xml | 1 + test/xml/weatherxml.dtd | 18 ++++++++++++++++-- 3 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 schemagen/weatherxml/21379214.xml diff --git a/schema/weatherxml.dtd b/schema/weatherxml.dtd index cce90b3..0c85b16 100644 --- a/schema/weatherxml.dtd +++ b/schema/weatherxml.dtd @@ -7,9 +7,23 @@ - + - + + + + + + + + + + + + + + + diff --git a/schemagen/weatherxml/21379214.xml b/schemagen/weatherxml/21379214.xml new file mode 100644 index 0000000..6c86f4d --- /dev/null +++ b/schemagen/weatherxml/21379214.xml @@ -0,0 +1 @@ + 21379214 AAW%BBWEATHER Weather MLB Major League Baseball Weather from The Sports Network Chicago Cubs at Washington Nationals, 11:05 a.m. Mostly cloudy. Winds blowing in from left field at 10-15 m.p.h. Game-time temperature: Around 75. Philadelphia Phillies at Pittsburgh Pirates, 5:05 p.m. Sunny. Winds blowing out to right field at 10-15 m.p.h. Game-time temperature: Near 75. San Francisco Giants at San Diego Padres, 6:40 p.m. Partly cloudy. Winds blowing out to right field at 5-10 m.p.h. Game-time temperature: Around 75. Milwaukee Brewers at Cincinnati Reds, 7:10 p.m. Sunny. Winds blowing out to right field at 5-10 m.p.h. Game-time temperature: Near 75. Miami Marlins at St. Louis Cardinals, 7:15 p.m. Sunny. Winds blowing in from right field at 5-10 m.p.h. Game-time temperature: Near 80. Arizona Diamondbacks at Atlanta Braves, 7:35 p.m. Mostly sunny. Winds blowing in from left field at 5-10 m.p.h. Game-time temperature: Around 80. Los Angeles Dodgers at Colorado Rockies, 8:10 p.m. Partly cloudy with a 30-percent chance of rain. Winds blowing out to right field at 5-10 m.p.h. Game-time temperature: Around 80. Texas Rangers at New York Mets, 7:10 p.m. Partly cloudy. Winds blowing in from left field at 10-20 m.p.h. Game-time temperature: Near 75. Baltimore Orioles at Boston Red Sox, 1:35 p.m. Cloudy with a 90-percent chance of rain. Winds blowing in from left field at 10-15 m.p.h. Game-time temperature: Around 75. New York Yankees at Minnesota Twins, 3:10 p.m. Partly cloudy. Winds blowing in from right field at 10-15 m.p.h. Game-time temperature: Around 75. Toronto Blue Jays at Oakland Athletics, 4:05 p.m. Sunny. Winds blowing out to center field at 10-15 m.p.h. Game-time temperature: Around 65. Tampa Bay Rays at Detroit Tigers, 7:08 p.m. Sunny. Winds blowing out to right field at 5-10 m.p.h. Game-time temperature: Around 75. Kansas City Royals at Cleveland Indians, 7:05 p.m. Sunny. Winds blowing in from left field at 5-10 m.p.h. Game-time temperature: Near 70. Seattle Mariners at Chicago White Sox, 7:10 p.m. Sunny. Winds blowing in from center field at 5-10 m.p.h. Game-time temperature: Around 60. Houston Astros at LA Angels of Anaheim, 9:05 p.m. Mostly sunny. Winds blowing out to center field at 5-10 m.p.h. Game-time temperature: Around 80. AA 40439 7/4/2014 11:05:00 AM Chicago Cubs Washington Nationals 3 Mostly cloudy. Winds blowing in from left field at 10-15 m.p.h. Around 75 AA 40442 7/4/2014 5:05:00 PM Philadelphia Phillies Pittsburgh Pirates 0 Sunny. Winds blowing out to right field at 10-15 m.p.h. Near 75 AA 40445 7/4/2014 6:40:00 PM San Francisco Giants San Diego Padres 2 Partly cloudy. Winds blowing out to right field at 5-10 m.p.h. Around 75 AA 40443 7/4/2014 7:10:00 PM Milwaukee Brewers Cincinnati Reds 0 Sunny. Winds blowing out to right field at 5-10 m.p.h. Near 75 AA 40444 7/4/2014 7:15:00 PM Miami Marlins St. Louis Cardinals 0 Sunny. Winds blowing in from right field at 5-10 m.p.h. Near 80 AA 40441 7/4/2014 7:35:00 PM Arizona Diamondbacks Atlanta Braves 1 Mostly sunny. Winds blowing in from left field at 5-10 m.p.h. Around 80 AA 40446 7/4/2014 8:10:00 PM Los Angeles Dodgers Colorado Rockies 2 Partly cloudy with a 30-percent chance of rain. Winds blowing out to right field at 5-10 m.p.h. Around 80 AA 40440 7/4/2014 7:10:00 PM Texas Rangers New York Mets 2 Partly cloudy. Winds blowing in from left field at 10-20 m.p.h. Near 75 AA 40432 7/4/2014 1:35:00 PM Baltimore Orioles Boston Red Sox 3 Cloudy with a 90-percent chance of rain. Winds blowing in from left field at 10-15 m.p.h. Around 75 AA 40436 7/4/2014 3:10:00 PM New York Yankees Minnesota Twins 2 Partly cloudy. Winds blowing in from right field at 10-15 m.p.h. Around 75 AA 40437 7/4/2014 4:05:00 PM Toronto Blue Jays Oakland Athletics 0 Sunny. Winds blowing out to center field at 10-15 m.p.h. Around 65 AA 40434 7/4/2014 7:08:00 PM Tampa Bay Rays Detroit Tigers 0 Sunny. Winds blowing out to right field at 5-10 m.p.h. Around 75 AA 40433 7/4/2014 7:05:00 PM Kansas City Royals Cleveland Indians 0 Sunny. Winds blowing in from left field at 5-10 m.p.h. Near 70 AA 40435 7/4/2014 7:10:00 PM Seattle Mariners Chicago White Sox 0 Sunny. Winds blowing in from center field at 5-10 m.p.h. Around 60 AA 40438 7/4/2014 9:05:00 PM Houston Astros LA Angels of Anaheim 1 Mostly sunny. Winds blowing out to center field at 5-10 m.p.h. Around 80 AJ 1223 7/4/2014 7:00:00 PM British Columbia Lions Montreal Alouettes 2 Partly cloudy. Winds northwest at 5-10 m.p.h. Around 65 AJ 1224 7/4/2014 10:00:00 PM Hamilton Tiger-Cats Edmonton Eskimos 1 Mostly sunny. Winds northwest at 5-10 m.p.h. Around 70 AJ 1225 7/5/2014 3:00:00 PM Saskatchewan Roughriders Toronto Argonauts 0 Sunny. Winds west at 5-10 m.p.h. Near 80 July 4, 2014, at 08:53 AM ET \ No newline at end of file diff --git a/test/xml/weatherxml.dtd b/test/xml/weatherxml.dtd index cce90b3..0c85b16 100644 --- a/test/xml/weatherxml.dtd +++ b/test/xml/weatherxml.dtd @@ -7,9 +7,23 @@ - + - + + + + + + + + + + + + + + + -- 2.43.2