Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ghost opened this issue Nov 26, 2023 · 1 comment
Closed

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

ghost opened this issue Nov 26, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 26, 2023

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.

@wdoekes
Copy link
Member

wdoekes commented Apr 29, 2024

See #414 . Should be closed by #725 and #721

@wdoekes wdoekes closed this as completed Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant