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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17197

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:

  http://www.w3.org/TR/SVG/svgdtd.html#DTD.1.21

...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:

  https://www.w3.org/Bugs/Public/enter_bug.cgi?product=SVG

-- 
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