Compser is said to be an HTML editor not an XML editor.
That said, and doing a little looking around, it appears there is not going to be an HTML 5 or greater. So Composer is dead-ending it self not supporting xhtml schemsa (dtds).
Composer is an HTML editor rather than an XML editor - it's designed to make web pages, not arbitrary XML documents.
I don't see the point of an HTML editor unless it at least supports XHTML 1.0 (it should probably default to it). HTML 4, implemented properly, is fine; it's just that XHTML 1.0 is better (it's valid XML, so you can do lots of funky XML-based stuff with it).
The W3C recommends HTML4-compatible XHTML 1.0 for maximum forward- and backward-compatibility and Mozilla is supposed to be "advancing" web standards.
It's really quite easy to convert valid HTML 4 to valid XHTML 1.0 - simply add " /" at the end of tags for images, line breaks etc., and quote all attributes. I'd expect it'd be easy to automatically convert (it's been done in other programs, such as HTML Tidy) using simple logic like "wherever you see <br>, write <br />"; so I see no reason why it shouldn't be done.
_______________________________________________
mozilla-editor mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-editor
