From d3a1ac11ff140a4ebfdca93251de3eb197d54b35 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 25 Oct 2014 12:16:09 -0400 Subject: [PATCH] Add a new newsxml sample with the new required team "id" attribute. Update our two copies of newsxml.dtd with the new team "id" attribute. Update all existing XML test cases with faked team ids. --- schema/newsxml.dtd | 3 +++ schemagen/newsxml/22041367.xml | 1 + test/xml/newsxml-empty-sms.xml | 2 +- test/xml/newsxml-with-editor.xml | 2 +- test/xml/newsxml.dtd | 3 +++ test/xml/newsxml.xml | 2 +- 6 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 schemagen/newsxml/22041367.xml diff --git a/schema/newsxml.dtd b/schema/newsxml.dtd index 20938a2..a6aa683 100644 --- a/schema/newsxml.dtd +++ b/schema/newsxml.dtd @@ -18,3 +18,6 @@ + + + diff --git a/schemagen/newsxml/22041367.xml b/schemagen/newsxml/22041367.xml new file mode 100644 index 0000000..de935d5 --- /dev/null +++ b/schemagen/newsxml/22041367.xml @@ -0,0 +1 @@ + 22041367 ADN;PREVIEW-WAS-CAL 4733420 News NHL /nhl/news/ADN4733420.htm CAL WAS Calgary ALBERTA CANADA Washington DC USA Caps seek to rebound against Flames (SportsNetwork.com) - The Washington Capitals will aim to bounce back from their first regulation loss of the season on Saturday night as they visit the Calgary Flames.

The Capitals had won two in a row and put together a 3-0-2 record ahead of a 3-2 loss to the Edmonton Oilers on Wednesday. Washington got goals from defenseman Mike Green and John Carlson, while Nicklas Backstrom had an assist to record his 500th career point.

Braden Holtby made 17 saves in defeat.

"We played good, we just didn't execute," Capitals center Marcus Johansson said.

Washington also is set to visit Vancouver on Sunday, so it is unknown if Holtby or backup Justin Peters will get the start tonight.

Holtby has allowed six goals on 25 shots in two prior meetings with the Flames for a 12.34 goals against average and .760 save percentage, while Peters took a post-regulation setback in his only previous meeting with the Flames. He gave up two goals on 30 shots.

The Flames play the third contest of a five-game homestand and are 4-1-1 in their last six. They lost in overtime to Tampa Bay on Tuesday before blanking the Carolina Hurricanes 5-0 on Thursday.

Jonas Hiller recorded his first shutout with Calgary and the 22nd of his career after making 16 saves, while defenseman Dennis Wideman scored his fourth goal of the season. All four have come in his past five games.

Sean Monahan scored twice, while Matt Stajan and Lance Bouma also tallied.

"To score that many goals is great," Calgary head coach Bob Hartley said. "I challenged the players before the game to win the three periods. They did it, and they did it in a great fashion."

Despite Hiller's shutout, Hartley will continue his goaltender rotation and give Karri Ramo the start tonight. Ramo is 1-3-2 with a 3.11 GAA and .906 save percentage in his career versus the Capitals.

The Caps are 8-3-0 with a tie in their last 12 versus the Flames, but lost 5-2 in their most recent trip to Calgary.

October 25, 2014, at 10:59 AM ET
\ No newline at end of file diff --git a/test/xml/newsxml-empty-sms.xml b/test/xml/newsxml-empty-sms.xml index d08cff4..2cd8c24 100644 --- a/test/xml/newsxml-empty-sms.xml +++ b/test/xml/newsxml-empty-sms.xml @@ -1 +1 @@ - 21904559 AFN;UTAH-UCLA 0 News CFOOT UCLA UTAH U-C-L-A CA USA Utah UT USA Pasadena, CA (SportsNetwork.com) - October 1, 2014, at 11:11 AM ET \ No newline at end of file + 21904559 AFN;UTAH-UCLA 0 News CFOOT UCLA UTAH U-C-L-A CA USA Utah UT USA Pasadena, CA (SportsNetwork.com) - October 1, 2014, at 11:11 AM ET \ No newline at end of file diff --git a/test/xml/newsxml-with-editor.xml b/test/xml/newsxml-with-editor.xml index 1061c71..d99b505 100644 --- a/test/xml/newsxml-with-editor.xml +++ b/test/xml/newsxml-with-editor.xml @@ -1 +1 @@ - 12345 ACN;RECAP-HOU-SAN 4650108 News NBA /nba/news/ACN4650108.htm HOU SAN Houston TX USA San Antonio TX USA Harden powers Rockets past Spurs Washington Irving San Antonio, TX (SportsNetwork.com) - James Harden returned from a two-game absence and led all five Houston starters in double figures with 28 points, as the Rockets topped the San Antonio Spurs, 111-98, at AT&T Center.

Harden sat out games against Detroit and Dallas due to a sprained left ankle, but the veteran shooting guard was a one-man wrecking crew in the fourth quarter against the Spurs. Harden had 11 straight Houston points during the final period and scored 16 in the frame.

Dwight Howard contributed 15 points and 20 rebounds for the Rockets, who are within 3 1/2 games of the Spurs for first place in the Southwest Division. Terrence Jones had 21 points and 14 boards, while Chandler Parsons also scored 21 to go with six rebounds and six assists. Jeremy Lin had 13 points and eight helpers.

The Rockets, who didn't trail the entire game, made 12-of-24 shots from beyond the arc.

Manu Ginobili had 22 points for the Spurs, who suffered only their fourth home loss all season. Two of those defeats have come against the Rockets. Tim Duncan finished with 11 points, 14 rebounds, six blocks and five assists.

Kawhi Leonard scored 13 points for the Spurs, who lost for the second time in three contests.

December 25, 2013, at 10:38 PM ET
\ No newline at end of file + 12345 ACN;RECAP-HOU-SAN 4650108 News NBA /nba/news/ACN4650108.htm HOU SAN Houston TX USA San Antonio TX USA Harden powers Rockets past Spurs Washington Irving San Antonio, TX (SportsNetwork.com) - James Harden returned from a two-game absence and led all five Houston starters in double figures with 28 points, as the Rockets topped the San Antonio Spurs, 111-98, at AT&T Center.

Harden sat out games against Detroit and Dallas due to a sprained left ankle, but the veteran shooting guard was a one-man wrecking crew in the fourth quarter against the Spurs. Harden had 11 straight Houston points during the final period and scored 16 in the frame.

Dwight Howard contributed 15 points and 20 rebounds for the Rockets, who are within 3 1/2 games of the Spurs for first place in the Southwest Division. Terrence Jones had 21 points and 14 boards, while Chandler Parsons also scored 21 to go with six rebounds and six assists. Jeremy Lin had 13 points and eight helpers.

The Rockets, who didn't trail the entire game, made 12-of-24 shots from beyond the arc.

Manu Ginobili had 22 points for the Spurs, who suffered only their fourth home loss all season. Two of those defeats have come against the Rockets. Tim Duncan finished with 11 points, 14 rebounds, six blocks and five assists.

Kawhi Leonard scored 13 points for the Spurs, who lost for the second time in three contests.

December 25, 2013, at 10:38 PM ET
\ No newline at end of file diff --git a/test/xml/newsxml.dtd b/test/xml/newsxml.dtd index 20938a2..a6aa683 100644 --- a/test/xml/newsxml.dtd +++ b/test/xml/newsxml.dtd @@ -18,3 +18,6 @@ + + + diff --git a/test/xml/newsxml.xml b/test/xml/newsxml.xml index b608a83..2b61231 100644 --- a/test/xml/newsxml.xml +++ b/test/xml/newsxml.xml @@ -1 +1 @@ - 19956478 ACN;RECAP-HOU-SAN 4650108 News NBA /nba/news/ACN4650108.htm HOU SAN Houston TX USA San Antonio TX USA Harden powers Rockets past Spurs San Antonio, TX (SportsNetwork.com) - James Harden returned from a two-game absence and led all five Houston starters in double figures with 28 points, as the Rockets topped the San Antonio Spurs, 111-98, at AT&T Center.

Harden sat out games against Detroit and Dallas due to a sprained left ankle, but the veteran shooting guard was a one-man wrecking crew in the fourth quarter against the Spurs. Harden had 11 straight Houston points during the final period and scored 16 in the frame.

Dwight Howard contributed 15 points and 20 rebounds for the Rockets, who are within 3 1/2 games of the Spurs for first place in the Southwest Division. Terrence Jones had 21 points and 14 boards, while Chandler Parsons also scored 21 to go with six rebounds and six assists. Jeremy Lin had 13 points and eight helpers.

The Rockets, who didn't trail the entire game, made 12-of-24 shots from beyond the arc.

Manu Ginobili had 22 points for the Spurs, who suffered only their fourth home loss all season. Two of those defeats have come against the Rockets. Tim Duncan finished with 11 points, 14 rebounds, six blocks and five assists.

Kawhi Leonard scored 13 points for the Spurs, who lost for the second time in three contests.

December 25, 2013, at 10:38 PM ET
\ No newline at end of file + 19956478 ACN;RECAP-HOU-SAN 4650108 News NBA /nba/news/ACN4650108.htm HOU SAN Houston TX USA San Antonio TX USA Harden powers Rockets past Spurs San Antonio, TX (SportsNetwork.com) - James Harden returned from a two-game absence and led all five Houston starters in double figures with 28 points, as the Rockets topped the San Antonio Spurs, 111-98, at AT&T Center.

Harden sat out games against Detroit and Dallas due to a sprained left ankle, but the veteran shooting guard was a one-man wrecking crew in the fourth quarter against the Spurs. Harden had 11 straight Houston points during the final period and scored 16 in the frame.

Dwight Howard contributed 15 points and 20 rebounds for the Rockets, who are within 3 1/2 games of the Spurs for first place in the Southwest Division. Terrence Jones had 21 points and 14 boards, while Chandler Parsons also scored 21 to go with six rebounds and six assists. Jeremy Lin had 13 points and eight helpers.

The Rockets, who didn't trail the entire game, made 12-of-24 shots from beyond the arc.

Manu Ginobili had 22 points for the Spurs, who suffered only their fourth home loss all season. Two of those defeats have come against the Rockets. Tim Duncan finished with 11 points, 14 rebounds, six blocks and five assists.

Kawhi Leonard scored 13 points for the Spurs, who lost for the second time in three contests.

December 25, 2013, at 10:38 PM ET
\ No newline at end of file -- 2.44.2