Update our two copies of newsxml.dtd with the new team "id" attribute.
Update all existing XML test cases with faked team ids.
<!ELEMENT Editor (#PCDATA)>
<!ATTLIST msg_id EventId CDATA #REQUIRED>
+
+<!-- The team id used to be nonexistent, now it's required. -->
+<!ATTLIST team id CDATA #REQUIRED>
--- /dev/null
+<?xml version="1.0" standalone="no" ?>\r<!DOCTYPE message PUBLIC "-//TSN//DTD News 1.0/EN" "newsxml.dtd">\r<message>\r<XML_File_ID>22041367</XML_File_ID>\r<heading>ADN;PREVIEW-WAS-CAL</heading>\r<msg_id EventId="">4733420</msg_id>\r<category>News</category>\r<sport>NHL</sport>\r<url>/nhl/news/ADN4733420.htm</url>\r<team id="123">CAL</team>\r<team id="140">WAS</team>\r<location>\r<city>Calgary</city>\r<state>ALBERTA</state>\r<country>CANADA</country>\r</location>\r<location>\r<city>Washington</city>\r<state>DC</state>\r<country>USA</country>\r</location>\r<SMS>Caps seek to rebound against Flames</SMS>\r<text>\r (SportsNetwork.com) - The Washington Capitals will aim to bounce back from\r their first regulation loss of the season on Saturday night as they visit the\r Calgary Flames.\r</text>\r<continue>\r<P>\r The Capitals had won two in a row and put together a 3-0-2 record ahead of a\r 3-2 loss to the Edmonton Oilers on Wednesday. Washington got goals from\r defenseman Mike Green and John Carlson, while Nicklas Backstrom had an assist\r to record his 500th career point.\r</P>\r<P>\r Braden Holtby made 17 saves in defeat.\r</P>\r<P>\r "We played good, we just didn't execute," Capitals center Marcus Johansson\r said.\r</P>\r<P>\r Washington also is set to visit Vancouver on Sunday, so it is unknown if\r Holtby or backup Justin Peters will get the start tonight.\r</P>\r<P>\r Holtby has allowed six goals on 25 shots in two prior meetings with the Flames\r for a 12.34 goals against average and .760 save percentage, while Peters took\r a post-regulation setback in his only previous meeting with the Flames. He\r gave up two goals on 30 shots.\r</P>\r<P>\r The Flames play the third contest of a five-game homestand and are 4-1-1 in\r their last six. They lost in overtime to Tampa Bay on Tuesday before blanking\r the Carolina Hurricanes 5-0 on Thursday.\r</P>\r<P>\r Jonas Hiller recorded his first shutout with Calgary and the 22nd of his\r career after making 16 saves, while defenseman Dennis Wideman scored his\r fourth goal of the season. All four have come in his past five games.\r</P>\r<P>\r Sean Monahan scored twice, while Matt Stajan and Lance Bouma also tallied.\r</P>\r<P>\r "To score that many goals is great," Calgary head coach Bob Hartley said. "I\r challenged the players before the game to win the three periods. They did it,\r and they did it in a great fashion."\r</P>\r<P>\r Despite Hiller's shutout, Hartley will continue his goaltender rotation and\r give Karri Ramo the start tonight. Ramo is 1-3-2 with a 3.11 GAA and .906 save\r percentage in his career versus the Capitals.\r</P>\r<P>\r The Caps are 8-3-0 with a tie in their last 12 versus the Flames, but lost 5-2\r in their most recent trip to Calgary.\r</P>\r</continue>\r<time_stamp> October 25, 2014, at 10:59 AM ET </time_stamp>\r</message>\r
\ No newline at end of file
-<?xml version="1.0" standalone="no" ?>\r<!DOCTYPE message PUBLIC "-//TSN//DTD News 1.0/EN" "newsxml.dtd">\r<message>\r<XML_File_ID>21904559</XML_File_ID>\r<heading>AFN;UTAH-UCLA</heading>\r<msg_id EventId="">0</msg_id>\r<category>News</category>\r<sport>CFOOT</sport>\r<url></url>\r<team>UCLA</team>\r<team>UTAH</team>\r<location>\r<city>U-C-L-A</city>\r<state>CA</state>\r<country>USA</country>\r</location>\r<location>\r<city>Utah</city>\r<state>UT</state>\r<country>USA</country>\r</location>\r<SMS></SMS>\r<text>\r Pasadena, CA (SportsNetwork.com) -\r</text>\r<continue>\r</continue>\r<time_stamp> October 1, 2014, at 11:11 AM ET </time_stamp>\r</message>\r
\ No newline at end of file
+<?xml version="1.0" standalone="no" ?>\r<!DOCTYPE message PUBLIC "-//TSN//DTD News 1.0/EN" "newsxml.dtd">\r<message>\r<XML_File_ID>21904559</XML_File_ID>\r<heading>AFN;UTAH-UCLA</heading>\r<msg_id EventId="">0</msg_id>\r<category>News</category>\r<sport>CFOOT</sport>\r<url></url>\r<team id="foo">UCLA</team>\r<team id="90210">UTAH</team>\r<location>\r<city>U-C-L-A</city>\r<state>CA</state>\r<country>USA</country>\r</location>\r<location>\r<city>Utah</city>\r<state>UT</state>\r<country>USA</country>\r</location>\r<SMS></SMS>\r<text>\r Pasadena, CA (SportsNetwork.com) -\r</text>\r<continue>\r</continue>\r<time_stamp> October 1, 2014, at 11:11 AM ET </time_stamp>\r</message>\r
\ No newline at end of file
-<?xml version="1.0" standalone="no" ?>\r<!DOCTYPE message PUBLIC "-//TSN//DTD News 1.0/EN" "newsxml.dtd">\r<message>\r<!-- This file was munged by hand; make up an ID -->\r<XML_File_ID>12345</XML_File_ID>\r<heading>ACN;RECAP-HOU-SAN</heading>\r<msg_id EventId="">4650108</msg_id>\r<category>News</category>\r<sport>NBA</sport>\r<url>/nba/news/ACN4650108.htm</url>\r<team>HOU</team>\r<team>SAN</team>\r<location>\r<city>Houston</city>\r<state>TX</state>\r<country>USA</country>\r</location>\r<location>\r<city>San Antonio</city>\r<state>TX</state>\r<country>USA</country>\r</location>\r<SMS>Harden powers Rockets past Spurs</SMS>\r<Editor>Washington Irving</Editor>\r<text>\r San Antonio, TX (SportsNetwork.com) - James Harden returned from a two-game\r absence and led all five Houston starters in double figures with 28 points, as\r the Rockets topped the San Antonio Spurs, 111-98, at AT&T Center.\r</text>\r<continue>\r<P>\r Harden sat out games against Detroit and Dallas due to a sprained left ankle,\r but the veteran shooting guard was a one-man wrecking crew in the fourth\r quarter against the Spurs. Harden had 11 straight Houston points during the\r final period and scored 16 in the frame.\r</P>\r<P>\r Dwight Howard contributed 15 points and 20 rebounds for the Rockets, who are\r within 3 1/2 games of the Spurs for first place in the Southwest Division.\r Terrence Jones had 21 points and 14 boards, while Chandler Parsons also scored\r 21 to go with six rebounds and six assists. Jeremy Lin had 13 points and eight\r helpers.\r</P>\r<P>\r The Rockets, who didn't trail the entire game, made 12-of-24 shots from beyond\r the arc.\r</P>\r<P>\r Manu Ginobili had 22 points for the Spurs, who suffered only their fourth home\r loss all season. Two of those defeats have come against the Rockets. Tim\r Duncan finished with 11 points, 14 rebounds, six blocks and five assists.\r</P>\r<P>\r Kawhi Leonard scored 13 points for the Spurs, who lost for the second time in\r three contests.\r</P>\r</continue>\r<time_stamp> December 25, 2013, at 10:38 PM ET </time_stamp>\r</message>\r
\ No newline at end of file
+<?xml version="1.0" standalone="no" ?>\r<!DOCTYPE message PUBLIC "-//TSN//DTD News 1.0/EN" "newsxml.dtd">\r<message>\r<!-- This file was munged by hand; make up an ID -->\r<XML_File_ID>12345</XML_File_ID>\r<heading>ACN;RECAP-HOU-SAN</heading>\r<msg_id EventId="">4650108</msg_id>\r<category>News</category>\r<sport>NBA</sport>\r<url>/nba/news/ACN4650108.htm</url>\r<team id="foo">HOU</team>\r<team id="bar">SAN</team>\r<location>\r<city>Houston</city>\r<state>TX</state>\r<country>USA</country>\r</location>\r<location>\r<city>San Antonio</city>\r<state>TX</state>\r<country>USA</country>\r</location>\r<SMS>Harden powers Rockets past Spurs</SMS>\r<Editor>Washington Irving</Editor>\r<text>\r San Antonio, TX (SportsNetwork.com) - James Harden returned from a two-game\r absence and led all five Houston starters in double figures with 28 points, as\r the Rockets topped the San Antonio Spurs, 111-98, at AT&T Center.\r</text>\r<continue>\r<P>\r Harden sat out games against Detroit and Dallas due to a sprained left ankle,\r but the veteran shooting guard was a one-man wrecking crew in the fourth\r quarter against the Spurs. Harden had 11 straight Houston points during the\r final period and scored 16 in the frame.\r</P>\r<P>\r Dwight Howard contributed 15 points and 20 rebounds for the Rockets, who are\r within 3 1/2 games of the Spurs for first place in the Southwest Division.\r Terrence Jones had 21 points and 14 boards, while Chandler Parsons also scored\r 21 to go with six rebounds and six assists. Jeremy Lin had 13 points and eight\r helpers.\r</P>\r<P>\r The Rockets, who didn't trail the entire game, made 12-of-24 shots from beyond\r the arc.\r</P>\r<P>\r Manu Ginobili had 22 points for the Spurs, who suffered only their fourth home\r loss all season. Two of those defeats have come against the Rockets. Tim\r Duncan finished with 11 points, 14 rebounds, six blocks and five assists.\r</P>\r<P>\r Kawhi Leonard scored 13 points for the Spurs, who lost for the second time in\r three contests.\r</P>\r</continue>\r<time_stamp> December 25, 2013, at 10:38 PM ET </time_stamp>\r</message>\r
\ No newline at end of file
<!ELEMENT Editor (#PCDATA)>
<!ATTLIST msg_id EventId CDATA #REQUIRED>
+
+<!-- The team id used to be nonexistent, now it's required. -->
+<!ATTLIST team id CDATA #REQUIRED>
-<?xml version="1.0" standalone="no" ?>\r<!DOCTYPE message PUBLIC "-//TSN//DTD News 1.0/EN" "newsxml.dtd">\r<message>\r<XML_File_ID>19956478</XML_File_ID>\r<heading>ACN;RECAP-HOU-SAN</heading>\r<msg_id EventId="">4650108</msg_id>\r<category>News</category>\r<sport>NBA</sport>\r<url>/nba/news/ACN4650108.htm</url>\r<team>HOU</team>\r<team>SAN</team>\r<location>\r<city>Houston</city>\r<state>TX</state>\r<country>USA</country>\r</location>\r<location>\r<city>San Antonio</city>\r<state>TX</state>\r<country>USA</country>\r</location>\r<SMS>Harden powers Rockets past Spurs</SMS>\r<text>\r San Antonio, TX (SportsNetwork.com) - James Harden returned from a two-game\r absence and led all five Houston starters in double figures with 28 points, as\r the Rockets topped the San Antonio Spurs, 111-98, at AT&T Center.\r</text>\r<continue>\r<P>\r Harden sat out games against Detroit and Dallas due to a sprained left ankle,\r but the veteran shooting guard was a one-man wrecking crew in the fourth\r quarter against the Spurs. Harden had 11 straight Houston points during the\r final period and scored 16 in the frame.\r</P>\r<P>\r Dwight Howard contributed 15 points and 20 rebounds for the Rockets, who are\r within 3 1/2 games of the Spurs for first place in the Southwest Division.\r Terrence Jones had 21 points and 14 boards, while Chandler Parsons also scored\r 21 to go with six rebounds and six assists. Jeremy Lin had 13 points and eight\r helpers.\r</P>\r<P>\r The Rockets, who didn't trail the entire game, made 12-of-24 shots from beyond\r the arc.\r</P>\r<P>\r Manu Ginobili had 22 points for the Spurs, who suffered only their fourth home\r loss all season. Two of those defeats have come against the Rockets. Tim\r Duncan finished with 11 points, 14 rebounds, six blocks and five assists.\r</P>\r<P>\r Kawhi Leonard scored 13 points for the Spurs, who lost for the second time in\r three contests.\r</P>\r</continue>\r<time_stamp> December 25, 2013, at 10:38 PM ET </time_stamp>\r</message>\r
\ No newline at end of file
+<?xml version="1.0" standalone="no" ?>\r<!DOCTYPE message PUBLIC "-//TSN//DTD News 1.0/EN" "newsxml.dtd">\r<message>\r<XML_File_ID>19956478</XML_File_ID>\r<heading>ACN;RECAP-HOU-SAN</heading>\r<msg_id EventId="">4650108</msg_id>\r<category>News</category>\r<sport>NBA</sport>\r<url>/nba/news/ACN4650108.htm</url>\r<team id="foo">HOU</team>\r<team id="6">SAN</team>\r<location>\r<city>Houston</city>\r<state>TX</state>\r<country>USA</country>\r</location>\r<location>\r<city>San Antonio</city>\r<state>TX</state>\r<country>USA</country>\r</location>\r<SMS>Harden powers Rockets past Spurs</SMS>\r<text>\r San Antonio, TX (SportsNetwork.com) - James Harden returned from a two-game\r absence and led all five Houston starters in double figures with 28 points, as\r the Rockets topped the San Antonio Spurs, 111-98, at AT&T Center.\r</text>\r<continue>\r<P>\r Harden sat out games against Detroit and Dallas due to a sprained left ankle,\r but the veteran shooting guard was a one-man wrecking crew in the fourth\r quarter against the Spurs. Harden had 11 straight Houston points during the\r final period and scored 16 in the frame.\r</P>\r<P>\r Dwight Howard contributed 15 points and 20 rebounds for the Rockets, who are\r within 3 1/2 games of the Spurs for first place in the Southwest Division.\r Terrence Jones had 21 points and 14 boards, while Chandler Parsons also scored\r 21 to go with six rebounds and six assists. Jeremy Lin had 13 points and eight\r helpers.\r</P>\r<P>\r The Rockets, who didn't trail the entire game, made 12-of-24 shots from beyond\r the arc.\r</P>\r<P>\r Manu Ginobili had 22 points for the Spurs, who suffered only their fourth home\r loss all season. Two of those defeats have come against the Rockets. Tim\r Duncan finished with 11 points, 14 rebounds, six blocks and five assists.\r</P>\r<P>\r Kawhi Leonard scored 13 points for the Spurs, who lost for the second time in\r three contests.\r</P>\r</continue>\r<time_stamp> December 25, 2013, at 10:38 PM ET </time_stamp>\r</message>\r
\ No newline at end of file