Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-584

Omit generator meta (from head element) when root element is not html

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.1.0.2
    • 5.1.0.2
    • tapestry-core
    • None

    Description

      When using tapestry to generate xml which is not xhtml, the generator meta should be omitted. Currently tapestry will add a head and generator meta to every root element if the SymbolConstants.OMIT_GENERATOR_META == false.

      Solution: check if the root element name is html, if not, don't add even with SymbolConstants.OMIT_GENERATOR_META == false.

      Attachments

        1. TAP-584_patch.txt
          2 kB
          Joost Schouten

        Activity

          People

            hlship Howard Lewis Ship
            joostschouten Joost Schouten
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: