This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21799 - SVG does not require a !DOCTYPE delcaration
Summary: SVG does not require a !DOCTYPE delcaration
Status: NEW
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: HEAD
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
Depends on:
Reported: 2013-04-23 18:03 UTC by trlkly
Modified: 2015-02-16 00:35 UTC (History)
1 user (show)

See Also:


Description trlkly 2013-04-23 18:03:14 UTC
The validator claims that, to be valid SVG, one must declare a !DOCTYPE. While such is allowed in the SVG spec, it is not only not required, but is even actively discouraged in the current spec:

I realized that the SVG parser is essentially in beta, as the warnings always state. But that's all the more reason to report a bug. The SVG tag with its namespace and version declarations should be sufficient to identify the document as SVG 1.1 for the purpose of validation.