W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2008

[whatwg] Thoughts on HTML 5

From: Giovanni Campagna <scampa.giovanni@gmail.com>
Date: Tue, 16 Dec 2008 15:02:30 +0100
Message-ID: <65307430812160602nd2f8ee1yd9c9d6de0d706aeb@mail.gmail.com>
2008/12/16 Nils Dagsson Moskopp <
nils-dagsson-moskopp at dieweltistgarnichtso.net>

> Am Dienstag, den 16.12.2008, 14:32 +0100 schrieb Giovanni Campagna:
>
> > (The same behaviour can be achieved also with a @namespace rule,
> > putting non-standard attributes in an application-specific namespace)
>
> Since data attributes do not exist as of yet, I believe people would use
> XML for namespaces, so I somehow don't see your problem.
>
> 1) data attributes are not standarized and the "dataset" DOMStringMap is
not present, but if you try using them with domCore interfaces they should
work (i haven't tested though)
2) XML serialization is much more difficlut to implement than old HTML, and,
as i said before, in many cases it is not implementable at all: probably a
company which hosts user-generated content such as blogs or forums won't
like that no browser can display his pages because someone wrote invalid
html
even the most experienced can mis-type code, and in that case the only way
to solve is to manually edit source using a plain text editor, which is not
possible with user-generated content
3) the "dataset" DOMStringMap is a quite useful way to enumerate attributes
explicitly marked as "application data"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20081216/45878573/attachment.htm>
Received on Tuesday, 16 December 2008 06:02:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:46 UTC