Re: Some possible MicroXML design goals

> One use case I'm thinking of is using a text-based MicroXML editor
> (similar to nxml-mode) to write HTML documents. It would be convenient
> if my MicroXML editor could ensure I was writing valid HTML5 just by
> telling it to use the appropriate HTML schema.

The more general use case is that validating a MicroXML document
against an appropriate schema would ensure that the document was valid
HTML5 (in the HTML syntax).

I find this attractive, because I find the complexities of HTML5
syntax repugnant. This would enable me to write a toolchain that
generates HTML5 without having to worry about all these complexities.

Another mechanism to avoid these complexities is just to transform the
(Micro)XML into HTML5 at the final stage.  If people are happy with
that, then I don't think MicroXML needs any goals relating to HTML5,
and it wouldn't need a DOCTYPE declaration.

James

Received on Tuesday, 24 July 2012 04:54:37 UTC