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

Add XML control-character stripping #281

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arielallon
Copy link
Contributor

  • Encountered issues with bad XML from some RETS feeds breaking parsing on response payloads.
  • This matches xml-encoded character references (decimal or hex) for ASCII control characters group, and then removes those from the XML string.

- Encountered issues with bad XML from some RETS feeds breaking parsing on response payloads.
- This matches xml-encoded character references (decimal or hex) for ASCII control characters group, and  then removes those from the XML string.
@nader14y
Copy link

nader14y commented Feb 6, 2021

Not Working for realtyserver.com:6103

@realtysage
Copy link

Thank you; this corrected data from bright-rets.brightmls.com breaking parsing.

@arielallon
Copy link
Contributor Author

arielallon commented Apr 18, 2021

@realtysage glad it helped :) bright was also the RETS server on which we were encountering the issue.

@nader14y can you provide some specifics about the way(s) it is not working for? An example request and details of how it's failing would help.

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

Successfully merging this pull request may close these issues.

3 participants