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

[whatwg] Thoughts on HTML 5

From: Nils Dagsson Moskopp <nils-dagsson-moskopp@dieweltistgarnichtso.net>
Date: Tue, 16 Dec 2008 15:48:42 +0100
Message-ID: <1229438922.31603.28.camel@desudesudesu>
Am Dienstag, den 16.12.2008, 15:38 +0100 schrieb Giovanni Campagna:
> Browser assume that author knows XML because he's put an application/*
> +xml mime type.
> On the other hand, this assumption cannot be done for blogger, who
> aren't expected to know XML / XML 1.1 / XHTML 1.0 / HTML5 specs
> (they're not expected to know about what or w3c either)
Then they shouldn't write XHTML in the first place ... there *are* some
good autoformatters which handle stuff for you (think: newline -> <br/>,
two newlines -> <p>aragraph). Also, WYSIWYG editors should *not* gave
you the oppontuniy to mess up your code.

> > Could not save you post, invalid XML markup (Mismatched end tag,
> expecting <img>, found </p>)
> > See W3C XML1.1 specification (link to  XML spec) for further
> information about this.
> Or just "Not well-formed (attribute values must be encoded in double
> quotes)"
The current error messages are crap, that is totally right. They could
certainly be more user-friendly.

> You have no page, thus no way to edit!
The admin interface should be always well-formed, having the offending
portion in a <textarea> (or similar) for easy editing and an <iframe>
for viewing.

-- 
Nils Dagsson Moskopp
<http://dieweltistgarnichtso.net>
Received on Tuesday, 16 December 2008 06:48:42 UTC

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