Thanks to visit codestin.com
Credit goes to github.com

Skip to content

The parser confuses <> in attribute value as a tag #670

@ghost

Description

With xml scenario contains an assignstr element like that:

  <nop>
    <action>
      <assignstr assign_to="dummy" value="Alice <sip:[email protected]>"/>
    </action>
  </nop>

The SIPp shows error:

Unexpected </action> (expected </assignstr>)
2023-11-26	15:09:54.629523	1700986194.629523: Invalid XML in scenario
2023-11-26	15:09:54.629523	1700986194.629523: Invalid XML in scenario

Via debugging, I saw that the <sip:[email protected]> is parsed as an element, then the "/>" is used for closing this element instead of the assignstr.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions