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

toXML methods can generate invalid XML #10

Open
ryan-mahoney opened this issue Aug 16, 2012 · 0 comments
Open

toXML methods can generate invalid XML #10

ryan-mahoney opened this issue Aug 16, 2012 · 0 comments

Comments

@ryan-mahoney
Copy link

in XML, ampersands and several other characters need to be escaped before they are added to an XML document. For example, if my job title is "Sales & Marketing Director" when the API attempts to send the XML document to the HighriseAPI server, 37signals will return a 500 http status because the XML is not well formed.

Simply replacing & with & # 3 8 ; will fix many cases, but not all

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