Tapestry 5
  1. Tapestry 5
  2. TAP5-263

Tapestry should produce XML-style output (not SGML) even for the text/html content type, for best compatibility with browsers

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.16
    • Fix Version/s: 5.0.16
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      Tapestry 5 has a great way to handle markup renderer, based on the doctype and the contenttype of the page, but it appears that producing XHTML output that can be understood by IE is difficult .

      XHTML output requires to have both a correct XHTML DOCTYPE and a correct content type (so, no "text/html" but a "application/xml+html"),
      BUT IE has a known, old bug that make it don't understand "applciation/xml+html" content type, see for example : http://blogs.msdn.com/ie/archive/2005/09/15/467901.aspx

      So, there is a workaround in the T5-HowTos : http://wiki.apache.org/tapestry/Tapestry5HowToXhtml
      Nonetheless, it would be great if by default, T5 was able to render valid XHTML even with "text/html" content-type.

        Activity

        Hide
        Cesar Lesc added a comment -
        Show
        Cesar Lesc added a comment - may be this can help. http://lists.evolt.org/archive/Week-of-Mon-20020304/105951.html
        Hide
        Howard M. Lewis Ship added a comment -

        Hm. Looking at the wiki page, I understand why <script> should always render with a </script> end tag (even if empty), but not the others (div, p, span)?

        Show
        Howard M. Lewis Ship added a comment - Hm. Looking at the wiki page, I understand why <script> should always render with a </script> end tag (even if empty), but not the others (div, p, span)?
        Hide
        Howard M. Lewis Ship added a comment -

        Maybe its time to jettison the whole "SGML markup output" option for html?

        Show
        Howard M. Lewis Ship added a comment - Maybe its time to jettison the whole "SGML markup output" option for html?

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Francois Armand
          • Votes:
            9 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development