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

Detect broken XML #322

Closed
wdoekes opened this issue Sep 4, 2017 · 0 comments
Closed

Detect broken XML #322

wdoekes opened this issue Sep 4, 2017 · 0 comments
Milestone

Comments

@wdoekes
Copy link
Member

wdoekes commented Sep 4, 2017

Just now I failed to see the missing / at the end of the <recv/> tag:

  <recv request="BYE">

  <send>
    <![CDATA[

      SIP/2.0 200 OK
      [last_Via:]
      [last_From:]
      [last_To:]
      [last_Call-ID:]
      [last_CSeq:]
      Content-Length: 0

    ]]>
  </send>

SIPp swallowed the scenario, but simply stopped at the BYE.

It'd be nice if it complained about the lack of valid XML.

(Or I could've used the pysipp sippfmt command to format the XML, in which case I'd have found this quickly.)

@wdoekes wdoekes added this to the 3.6 milestone Apr 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant