Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-773

Wicket strips <?xml?> line from html but doesn't remove newline

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 1.2.6, 1.3.0-beta2
    • 1.2.6, 1.3.0-beta2
    • wicket
    • None

    Description

      Having an html page like this:


      <?xml version="1.0" encoding="utf-8"?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


      Results in output of this:


      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


      Notice the blank line before the DOCTYPE. Line and newline should be removed if getStripXmlDeclarationFromOutput() is set.

      Attachments

        Activity

          People

            jdonnerstag Juegen Donnerstag
            tauren Tauren Mills
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: