2 Apr
2016
2 Apr
'16
2:16 p.m.
On 04/02/2016 09:38 AM, Vincent Massol wrote:
Hi devs,
One issue we have ATM is that the xhtml/1.0 parser requires valid XHTML but the xhtml/1.0 renderer generates invalid XHTML (it generates fragments only). This causes https://jira.xwiki.org/browse/XWIKI-13278 for example.
I’m proposing to: * Modify "xhtml/1.0" renderer to generate valid XHTML (i.e. xml declaration + doctype + html element) * Introduce a new "xhtmlfragment/1.0” renderer * Have annotated versions of both for the WYSIWYG editor
WDYT?
Isn't this an incompatible change? Why not change the parser to accept a fragment? -- Sergiu Dumitriu http://purl.org/net/sergiu/