XML deserializer can't read in pretty-printed <None/>
|Reported by:||Bill Fenner <fenner@…>||Owned by:||russellm|
|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)
Changed 9 years ago by Bill Fenner <fenner@…>
comment:1 Changed 9 years ago by russellm
- Component changed from Core framework to Serialization
- Has patch set
- Needs documentation unset
- Needs tests set
- Owner changed from adrian to russellm
- Patch needs improvement unset