[whatwg] Thoughts on HTML 5

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