-
Notifications
You must be signed in to change notification settings - Fork 385
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
Regression: XML checks fail if less than character < is inside a string value #721
Comments
This looks like a duplicate of #670 |
Which in turn looks like a duplicate of #414 But if the documentation wrongly advises |
I see the conversation in #414 and I'll concede that SIPp previously supported invalid XML syntax, but it did so for two decades; yes I'm old. I think this would have taken me a lot less time if SIPp were to implement the following changes:
|
I just submitted a pull request for my suggestion to yet more notes for future me. |
Suggested and reviewed by Michael Stovenour (@mstovenour). Closes: #721 (along with #725)
I have existing scenario files that are modeled directly out of the documentation:
https://sipp.readthedocs.io/en/latest/scenarios/variables.html?highlight=search_in#variables
The less than character
<
inside the quotes of the regexp tag (regexp="<sip:([^;@]*)"
) causes the following failure when running with any release after v3.6.0:2024-04-20 12:55:46.344095 1713635746.344095: Invalid XML in scenario
Existing scenario files work fine up until v3.5.3. They will not pass the XML check logic starting with v3.6.0.
I'm pretty sure this commit introduced the regression:
411ccf4 @wdoekes
It might be the deletion of this function call as the xp_find_start_tag_end() function is checking for embedded strings in quotes "".
The text was updated successfully, but these errors were encountered: