See the docs<http://code.google.com/p/swfobject/wiki/documentation#Does_SWFObject_2_support_MIME_type_application/xhtml+xml?> .
Does SWFObject 2 support MIME type application/xhtml+xml? SWFObject 2 does NOT support XML MIME types, which is a design decision. There are a number of reasons why we are not supporting this: - Only a very small (non-significant) amount of web authors is using it - We are unsure if it is the direction to go. Internet Explorer does not support it and all other major browser vendors are aiming their arrows at a new standard way of HTML parsing (with HTML 5), which departs from the current W3C vision of parsing HTML as XML - We save a considerate amount of file size and effort (testing, issue resolving) by not supporting it ---------- Now that HTML5 has won the battle with XHTML 2, it's pretty safe to say we won't officially support serving HTML as application/XHTML+XML. However, we're working on the SWFObject 2.3 beta, and have changed a few of the inner-workings; although innerHTML is still used, string concatenation is avoided and the result should be valid XHTML. You can give it a spin by grabbing the beta code from GitHub<https://github.com/swfobject/swfobject/blob/master/swfobject/src/swfobject.js> . - philip On Wed, Oct 19, 2011 at 9:54 AM, Dobby <[email protected]> wrote: > Hi > > All HTML in an application/XHTML+XML page needs to be well formed, > including content set by innerHTML. Looks like you're missing the > closing / on the param element. > > My company, one of the largest in the UK and most valuable in the > world use application/XHTML+XML as it improves security, performance > and stops IE9 from checking microsoft's compatibility mode list. > > -- > You received this message because you are subscribed to the Google Groups > "SWFObject" 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/swfobject?hl=en. > > -- You received this message because you are subscribed to the Google Groups "SWFObject" 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/swfobject?hl=en.
