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

DOCTYPE tag seems to be obligatory since 1.7beta1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Won't Fix
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: SVG Viewer
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other

      Description

      1.6 allowed for svg files without <!DOCTYPE svg PUBLIC ...>, but 1.7beta1 does
      not. As other programs do allow for such files, batik 1.7 should not make an
      exception.

      A quote from http://wiki.svg.org/Doctype says:

      Some people recommend that you do not use a DOCTYPE declaration in your SVG
      files since they consider them to cause more problems than they solve.

      So this implies optional use of the DOCTYPE declaration.

      Error message:
      Root element namespace does not match that requested:
      Requested: http://www.w3.org/2000/svg
      Found: null

        Attachments

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              mack@ifis.cs.tu-bs.de Thomas Mack
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: