#23908: XHTML breaks admin site
-------------------------------+--------------------------------------
Reporter: brian | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.7
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by jarshwah):
I didn't get the implication that "HTML5 replaces XHTML" from the linked
ticket. Just that Django has chosen to support HTML5 rather than XHTML
[N].
From your link: http://www.w3.org/TR/html5/introduction.html#html-vs-xhtml
> The first such concrete syntax is the HTML syntax. This is the format
suggested for most authors. ... This specification defines version 5.0 of
the HTML syntax, known as "HTML 5".
> The second concrete syntax is the XHTML syntax, which is an application
of XML. ... This specification defines version 5.0 of the XHTML syntax,
known as "XHTML 5".
> The DOM, the HTML syntax, and the XHTML syntax cannot all represent the
same content.
My understanding is that authors should *choose* which to support. The
authors of the Admin have chosen HTML 5. You are free to choose XHTML 5
for your own templates.
HTML 5 *is* a modern standard. There is no requirement (demonstrated) to
support multiple, competing standards though.
Is there a particular reason that you feel Django should support XHTML 5
in the admin?
--
Ticket URL: <https://code.djangoproject.com/ticket/23908#comment:3>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.ecf059afda592426c9af1e450efa6a5b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.