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 7077 - SVG documents are validated even if namespace is not declared
Summary: SVG documents are validated even if namespace is not declared
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: HEAD
Hardware: All All
: P2 normal
Target Milestone: 1.3
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
Depends on:
Reported: 2009-07-04 21:59 UTC by ccprog
Modified: 2011-08-24 21:45 UTC (History)
1 user (show)

See Also:


Description ccprog 2009-07-04 21:59:05 UTC
Just like XHTML, SVG needs a mandatory xmlns attribute on the root element. Unlike XHTML, the validator doesn't give a warning if it is missing. 

I suggest this should be resolved just like Bug #68, even though namespace handling remains an awkward issue.
Comment 1 Ville Skyttä 2011-08-24 21:45:00 UTC
According to comments in validator's config files, until SVG 1.1 2nd edition the spec wasn't quite clear whether the namespace is required or not.  But as of 2nd ed it now is, and the next version of validator (1.3) will start to flag omission of it as an error.