Hi Michael, On 17 Oct 2006, at 12:00, Michael Radziej wrote: > Large part of Django seems to use xhtml, and I like it somehow > better than html, so I use it and give to browsers that accept it > application/xhtml+xml as media type (and to others I feed the same > input but call it text/html).
this is slightly orthogonal to your question, but bear in mind that when served as application/xhtml+xml the page is parsed differently from the browser. For example, Javascript requires namespace-aware methods for DOM manipulation on application/xhtml+xml documents, so your scripts will likely break from one version to the other. This is not the only problem, many others have been outlined in these two articles that I strongly advice you to read: http://hixie.ch/advocacy/xhtml http://webkit.org/blog/?p=68 Since you stated you’re serving the same content with different MIME types, you may be on a slippery slope there. HTH, -- Antonio --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
