Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-941

SVGGraphics2D: Allow toggling the output of DOCTYPE declaration

    XMLWordPrintableJSON

    Details

      Description

      In the current draft for SVG 1.1 Second Edition, DOCTYPE declaration usage is not being recommended [bug's URL].

      It seems that suppressing it isn't trivial [1] but there are known workarounds (a couple in the provided link).

      The idea would be adding a mechanism to control the output of the DOCTYPE declaration. Also, maybe change the default to "do not emit the DOCTYPE" as well.

      [1] http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/200908.mbox/%3COF29725232.1FB07677-ON85257623.003BF0EA-85257623.003C7CDB@knotes.kodak.com%3E

        Attachments

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              helder.magalhaes@gmail.com Helder Magalhães
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: