
[patch] xml serialize child resource
Reported by kristian | April 5th, 2009 @ 03:06 PM
xml serialization of child resources via the :methods option did xml escape the nest child xml. find the patch + specs which fixes that behaviour and creates nice xml for all three xml libraries.
Comments and changes to this ticket
-
Michael Klishin (antares) April 7th, 2009 @ 01:22 AM
- Assigned user set to Michael Klishin (antares)
- State changed from unconfirmed to hold
This should be recreated against datamapper/dm-more next branch
-
-
Dan Kubb (dkubb) June 16th, 2009 @ 04:17 PM
- Assigned user changed from Michael Klishin (antares) to Xavier Shay
- State changed from hold to unconfirmed
-
Xavier Shay June 16th, 2009 @ 05:23 PM
- State changed from unconfirmed to accepted
-
Xavier Shay June 16th, 2009 @ 10:02 PM
"it 'should' do" heh
"it 'should support child associations included via the :methods parameter' do" ??
This isn't and XML specific spec, I would not have thought - applicable for JSON/YAML also?
I will have a play -
kristian June 17th, 2009 @ 01:26 AM
sorry for the "it 'should' do" but it is nice spoken english though ;-)
I guess I waas totally focused on xml since I need it for a restful service (using xml there), yes the spec should work for other formats as well.
-
Xavier Shay June 18th, 2009 @ 05:57 AM
- Tag changed from dm-more, serializer, xml to dm-more, dm-serializer, xml
I don't seem to have a commit bit on datamapper/dm-more anymore. Guess I haven't really been around...
Could someone please add me (dkubb?) or pull from my branch:
http://github.com/xaviershay/dm-more/tree/829-xml-serialize-childrenkristian: please see my commit directly after yours for cleanup I did on this patch
-
Dan Kubb (dkubb) June 23rd, 2009 @ 12:30 AM
- State changed from accepted to resolved
(from [796b6f5d24824bec2e6ee1bc13449f6d23a96071]) [dm-serializer] Move child association serialization spec into shared spec so it is run against JSON and YAML as well, not just XML
[#829 state:resolved] http://github.com/datamapper/dm-more/commit/796b6f5d24824bec2e6ee1b...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
People watching this ticket
Attachments
Tags
Referenced by
-
718 [PATCH] dm-serializer support for ValidationErrors Fixed in http://github.com/xaviershay/dm-more/tree/718-s...
-
829 [patch] xml serialize child resource [#829 state:resolved] http://github.com/datamapper/dm-mo...