Details
-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Not A Bug
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
If a story file contains <narrative> tag, then the generated xml report will look like the following:
<narrative keyword="Narrative:"> <inOrderTo keyword="In order to">do something</inOrderTo> <asA keyword="As a">user</asA> <iWantTo keyword="I want to">be able to do something else</iWantTo> </narrative> <story path="story1.story" title="It should do something"> ... </story>
Jenkins plugin cannot parse files like this, log
INFO: [xUnit] - Converting '/path/to/jenkins/job/workspace/target/jbehave/story1.xml' . [Fatal Error] :6:2: The markup in the document following the root element must be well-formed. com.thalesgroup.hudson.plugins.xunit.exception.XUnitException: Conversion error Error to convert - A file not found
Line 6 points to the starting <story> tag, which comes after the closing </narrative> tag.
Activity
Zihao Yu
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | bdd-core.zip [ 61990 ] |
Zihao Yu
made changes -
Attachment | bdd-core.zip [ 61990 ] |
Zihao Yu
made changes -
Attachment | bdd-core.zip [ 61991 ] |
Zihao Yu
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Not A Bug [ 6 ] |
I think there were a few errors with xml fixed in or before 3.7, which version are you currently using?
Maybe we missing some cases though.