Bug 49046 - SVGGraphics2D: Allow toggling the output of DOCTYPE declaration
Summary: SVGGraphics2D: Allow toggling the output of DOCTYPE declaration
Status: NEW
Alias: None
Product: Batik - Now in Jira
Classification: Unclassified
Component: SVGGraphics2D (show other bugs)
Version: 1.8
Hardware: All All
: P4 enhancement
Target Milestone: ---
Assignee: Batik Developer's Mailing list
URL: http://www.w3.org/TR/SVG11/intro.html...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-05 13:59 UTC by Helder Magalhães
Modified: 2012-08-13 18:39 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helder Magalhães 2010-04-05 13:59:11 UTC
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
Comment 1 Helder Magalhães 2012-08-13 18:39:15 UTC
(In reply to comment #0)
> In the current draft for SVG 1.1 Second Edition, DOCTYPE declaration usage
> is *not* being recommended [bug's URL].

The draft has became a recommendation for a while already - updating bug's URL in accordance.