Re: SVG Feedback on HTML5 SVG Proposal

On Mon, Mar 16, 2009 at 1:48 AM, David Woolley
<forums@david-woolley.me.uk> wrote:
> Robin Berjon wrote:
>
>>
>> Not without the massive application of electric shocks. People learn by
>> example, by viewing the source. You'd have to lock them up to get them to
>> use any particular style.
>>
> Cut and paste coders will tend to cut and paste the SVG, so will naturally
> avoid the HTML syntactic sugar and HTML5 mandated error recovery.

As long as they do literal and perfect cut-n-paste yes. However many
will copy and forget an end tag, or copy and make a few modifications
to adjust the contents to their need. Or look at what others have done
and recreate something from scratched based on that experience, but
not do a perfect job.

If people want XML-perfect syntax and error handling HTML provides
that, by using the application/xhtml+xml mime type. If people don't
want that, they should use the text/html mime type with all the error
recovery that comes with that.

/ Jonas

Received on Monday, 16 March 2009 09:10:37 UTC