5 Replies Latest reply on Aug 6, 2007 1:37 PM by samdoyle

    Google Maps and application/xhtml+xml mime type

    samdoyle

      So another lovely snag I have hit.

      I'm trying to embed a Google Map into some of my seam .xhtml pages which works with IE but not with Firefox. So after some searching I see that IE is not compliant and renders this as straight html while Firefox will parse it as xhtml.

      The problem is that the Google Map JavaScript API uses document.write extensively which is a no no with xhtml. How can I get around this using Seam and/or Facelets?

      I have tried changing the mime types in both the head of the xhtml files as well as having it served up from my web server as that type. Both don't appear to have any impact.

      Thanks, S.D.