Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: Facelets/VDL
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      696
    • Status Whiteboard:
      Hide

      size_large importance_large

      Show
      size_large importance_large

      Description

      The XML declaration is added to the Facelets template to make the tooling happy,
      but Facelets allows this markup to pass straight through the browser. The
      problem is that there are certain browsers which choke (or behave differently)
      when the XML declaration is included in the rendered response.

      The XML declaration really has no business being in the rendered output, so the
      best approach is to have Facelets suppress this markup. But if there are
      developers who prefer it, perhaps because they are using Facelets to generate an
      XML feed, then there should be a setting somewhere that allows them to control
      the terminus of the declaration (either suppressed or passed through). This is
      no different than the "omitXmlDeclaration" setting on most XML printers,
      including XSLT.

      What's odd is that Facelets does not pass through the DTD declaration, which is
      arguably even more of a problem. However, there is an easy workaround. Simply
      include a DTD-generating tag.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            rogerk
            Reporter:
            mojavelinux
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: