[whatwg] Thoughts on HTML 5

2008/12/16 Ian Hickson <ian at hixie.ch>

>
> I tried following this thread but I can't find what I would need to change
> in the spec to address the feedback so far. If this feedback relates to
> requests for the spec, please elaborate on exactly what it is that should

change -- thanks!

I thought later on this topic and i arrived to conclusion that we cannot
forbid or delete completely the HTML serialization, but there are no real
use cases for this in server generated web pages. Even in case of
user-generated content an application must parse it server-side prior to
publish, and in the worst case may use the spec's algorithm to build a
standard-compliant DOM tree, then serialize it producing valid XML code
(therefore an application can always provid valid XHTML)
In my opinion, we should allow content to be sent as text/html, but HTML
serialization and associated technologies (DOMDocument.write or
DOMElement.outerHTML) should be marked deprecate, since there are stricter
and more performant way to do same thing.
Giovanni Campagna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20081217/a1f5f2cc/attachment.htm>

Received on Wednesday, 17 December 2008 09:53:01 UTC