JBehave
  1. JBehave
  2. JBEHAVE-856

XML reporter creates invalid xml for stories with narrative in 4.x branch

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.x
    • Fix Version/s: 4.0
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      In stories with narrative, the normal XML reporter creates invalid xml in 4.x since the narrative tag comes before the story tag.
      The shortest story example to show the issue is this:

      Narrative:
      In order to xxx
      As a xxx
      I want to xxx
      
      Scenario: xxx
      

      (the story was initially reported for JBEHAVE-853 by Zihao Yu, but this issue was more relative to version issues, since it works with 3.7.3, so I decided to create a new issue mentioning 4.x directly)

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Fix Version/s 4.0 [ 18486 ]
        Mauro Talevi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Alexander Lehmann
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: