-
Notifications
You must be signed in to change notification settings - Fork 148
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
Creates invalid XML when a dict has keys containing "/" #24
Comments
Good catch - thanks for bringing this to my attention. I'll have to update the code so it escapes slashes in key names. |
That'd be awesome of you, thanks. We're kind of stuck without this working, heh. |
I'll try to fix it this afternoon. |
<3 On Fri, Aug 15, 2014 at 7:41 PM, Ryan McGreal notifications@github.com
|
Any luck on this, or is it simple enough that I can make a PR? |
Sorry, I haven't had a chance to tackle this yet. I hope to have some time later today but will try to update you either way. |
So I've had a chance to look at this and we have the following issue: XML element names can not contain special characters, even if they are escaped. The best we could do is to call the key "key" and put the name of the route in a "name" attribute. If we implement this, your XML output would look like the following:
Does this meet your needs? |
That's absolutely fine (and basically what I was expecting). Would be On Mon, Aug 18, 2014 at 9:26 PM, Ryan McGreal notifications@github.com
|
Issue should be fixed in v. 1.5.6. Thanks for bringing this issue to my attention. |
Let's say I have this JSON..
This gives us..
This is invalid XML. Any ideas?
The text was updated successfully, but these errors were encountered: