Hello, A while back I wrote some middleware to improve XHTML usage <http://code.djangoproject.com/ticket/3700>. Is this something that could or should be included within Django?
XHTML is ideally sent with the application/xhtml+xml media type; however it's normally delivered as text/html because older web browsers don't support it. This middleware addresses the chicken-and-egg problem by silently converting application/xhtml+xml content when it's delivered to a non-compliant browser. Possible use cases: (i) allowing "mobile" (XHTML Mobile Profile) content to still be viewed by desktop HTML browsers; (ii) allowing XHTML sites to make use of inline SVG (e.g. <http://intertwingly.net/>) whilst still offering something for XHTML-challenged web browsers; (iii) making it easier to use XForms in an intranet environment (e.g. when delivering content to Internet Explorer 7 with an XForms plug-in). Thank you, Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---
