XML deserializer can't read in pretty-printed <None/>
|Reported by:||Owned by:||Russell Keith-Magee|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||yes||Patch needs improvement:||no|
I'm pretty-printing an xml fixture in order to store it nicely in svn and be able to see changes on individual lines. This worked great until some <None/> FK elements showed up. As the patch in #2894 admits, it's a little naive about xml structure.
This patch is similarly naive, in that it will treat <field> value here value value value <None/> value value value</field> as None, but that construct is not going to be output by the serializer or a pretty-printer. It does properly accept my pretty-printed input.
Change History (5)
comment:1 Changed 9 years ago by
|Component:||Core framework → Serialization|
|Owner:||changed from Adrian Holovaty to Russell Keith-Magee|