#11474: models.XMLField doesn't work as advertised
------------------------------------------+---------------------------------
Reporter: garrison | Owner: nobody
Status: new | Milestone:
Component: Database layer (models, ORM) | Version: 1.0
Keywords: | Stage: Unreviewed
Has_patch: 0 |
------------------------------------------+---------------------------------
There are two errors currently in the (documentation of)
{{{models.XMLField}}}:
* The documentation claims that {{{schema_path}}} is a required argument,
but it is not.
* Regardless of whether {{{schema_path}}} is given, {{{models.XMLField}}}
does not actually perform any validation. It works no differently than an
ordinary {{{TextField}}}, succeeding even if the input is not XML at all.
Tickets #3094 and #5620 are likely related to this bug. I reference them
for historical interest, since it seems that it was once assumed that
#3094 would to be fixed before 1.0.
--
Ticket URL: <http://code.djangoproject.com/ticket/11474>
Django <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
-~----------~----~----~----~------~----~------~--~---