W3C home > Mailing lists > Public > www-svg@w3.org > August 2010

[SVG1.1F2 LC] General: suppression of DOCTYPE declarations across the whole specification

From: Helder Magalhães <helder.magalhaes@gmail.com>
Date: Fri, 13 Aug 2010 09:20:30 +0100
Message-ID: <AANLkTimrReVos7NkQEfKOuTkOq4B3m31PH_N-Vzp_Y+i@mail.gmail.com>
To: SVG WG <www-svg@w3.org>
Hi everyone,


This was a suggestion originally motivated while reviewing [1]
appendix Q but I thought it deserved a separate thread. Again, it
ended up slipping through my TODO stack, so sorry for the delay. ;-)


Although the specification recommends against using a DOCTYPE...
 * "It is not recommended that a DOCTYPE declaration be included in
SVG documents." [2]
 * "Added a note recommending against the use of DOCTYPE declarations
in SVG documents." [3]
..., the current specification holds lots of cases where it is still
used (just search for "!DOCTYPE" in the full text [4]).

As one once said, “example is not the main thing in influencing
others, it's the only thing” [5]; I'd therefore suggest removing all
(or most, at least) DOCTYPE declarations across the document and
associated examples. This probably means reworking the SVG images [6]
which are (apparently) later embedded into the specification text
(and, in many cases, linked to allow direct access).


If it helps, I may assemble a patch which tries to implement this idea
(I can imagine that it will basically be a replace-in-files with a
regular expression, filtered afterward to check if no example is
actually about demonstrating the DOCTYPE). :-)


Cheers,
 Helder


[1] http://lists.w3.org/Archives/Public/www-svg/2010Aug/0009.html
[2] http://www.w3.org/TR/2010/WD-SVG11-20100622/intro.html#NamespaceAndDTDIdentifiers
[3] http://www.w3.org/TR/2010/WD-SVG11-20100622/changes.html#IntroChapter
[4] http://dev.w3.org/SVG/profiles/1.1F2/publish/single-page.html
[5] http://thinkexist.com/quotation/example_is_not_the_main_thing_in_influencing/165666.html
[6] http://dev.w3.org/cvsweb/SVG/profiles/1.1F2/master/images/
Received on Friday, 13 August 2010 08:21:18 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:45 GMT