W3C home > Mailing lists > Public > www-validator-cvs@w3.org > May 2012

[Bug 17197] svg style validating should not treat type as required attribute

From: <bugzilla@jessica.w3.org>
Date: Tue, 29 May 2012 07:58:17 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1SZHJp-0004n9-MN@jessica.w3.org>

Michael[tm] Smith <mike@w3.org> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |mike@w3.org
         Resolution|                            |FIXED

--- Comment #1 from Michael[tm] Smith <mike@w3.org> 2012-05-29 07:58:17 UTC ---
(In reply to comment #0)
> svg style validating should not treat type as required attribute
> [...]
> As stated in 
> http://www.w3.org/TR/SVG/styling.html#StyleElement
> [...]
> It implies that type can be missing from style tag, should be optional.

Actually, the spec language you cite there does not imply the style element is
optional; it just says what UAs should do if it's omitted.

The prose of the SVG spec is unfortunately completely useless for determining
what the actual document-conformance requirements are. The only way you can
determine what's supposed to be required and what's not is to read the DTD. In
this case, you need to read the following section:


...where you'll find this:

  type %ContentType.datatype; #REQUIRED

If you think it should not be required and/or you think the SVG Working Group
should try to do a better job of actually making the requirements clear in the
prose of the spec itself, please file a bug against the SVG spec instead:


Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 29 May 2012 07:58:29 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:50 UTC