#4558: XML deserializer can't read in pretty-printed <None/>
----------------------------------------------+-----------------------------
Reporter: Bill Fenner <[EMAIL PROTECTED]> | Owner:
russellm
Status: new | Component:
Serialization
Version: 0.96 | Resolution:
Keywords: | Stage:
Unreviewed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 1 | Needs_better_patch: 0
----------------------------------------------+-----------------------------
Comment (by Bill Fenner <[EMAIL PROTECTED]>):
Here is that same xml, run through `xmllint --format`:
{{{
<?xml version="1.0" encoding="utf-8"?>
<django-objects version="1.0">
<object pk="1" model="mytest.testmodel">
<field type="CharField" name="data">
<None/>
</field>
<field to="auth.user" name="user" rel="ManyToOneRel">
<None/>
</field>
</object>
</django-objects>
}}}
This is the format that the current code can't load, because of the
whitespace between <field> and <None/>.
--
Ticket URL: <http://code.djangoproject.com/ticket/4558#comment:2>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---