+1 for removing the XHTML parser and macro. It's not used internally
(even the WYSIWYF is using the HTML parser and not the XHTML one) and
it's not usable for macro users IMO. Lets remove it for now at add it
only if a strong need comes up.

On Mon, Dec 15, 2008 at 3:13 PM, Vincent Massol <[email protected]> wrote:
> Hi devs,
>
> We currently have 2 parsers and 2 macros depending on whether the
> content is HTML 4.01 or XHTML 1.0. This is way too complex for users.
> In addition the XHTML parser/macro expect the content to have the
> DOCTYPE declaration + a root element which make them even harder to use.
>
> I propose to simply all this by doing the following:
> * A single HTML parser
> * A single html macro
> * The HTMLCleaner is always called thus transforming HTML into clean
> XHTML and not doing anything in case of clean XHTML (actually it'll
> add the DOCTYPE and a root element if it's not there)
>
> This simplifies code, documentation and more importantly its usage for
> our end users.
>
> Since the xhtml macro was released not long ago I'd rather not go
> through a deprecation period and instead commit the changes above for
> 1.7.1 (with a nice message in the release notes).
>
> I've started working on this (should be finished tonight). Please
> shout if you don't agree.
>
> Thanks
> -Vincent
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
Thomas Mortagne
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to