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

        Francois Armand created issue -
        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?
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        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)?
        Howard M. Lewis Ship made changes -
        Summary XHTML output and IE (5,6,7) Tapestry should produce XML-style output (not SGML) even for the text/html content type, for best compatibility with browsers
        Howard M. Lewis Ship made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Fix Version/s 5.0.16 [ 12313427 ]
        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
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        22d 12h 28m 1 Howard M. Lewis Ship 04/Nov/08 21:29
        In Progress In Progress Closed Closed
        2h 30m 1 Howard M. Lewis Ship 05/Nov/08 00:00

          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