Some template-generated reports are invalid.

Description

This bug appered when we started to use scenario level GivenStories keyword in our stories.

Scenario: ...
GivenStories: ...
Given ...

We use Hudson as CI with jenkins plugin for present reports. Probably, jbehave generates invalid xml, so exception occured(see StackTrace.txt in attachments) on post-build action "Publish testing tools result report".
I investigated generated xml and found some weird things:
1)missing "=" between attribute's name and value

2)strange string like

3)escaping missed


instead

4)in two similar stories we have different xml
first:

second:

Assignee

Mauro Talevi

Reporter

Eugeny Batov

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure