MyFaces seems to follow the browser compatibility recommendations of XHTML and outputs a space inside empty elements like this:

<br /> instead of <br/>

These recommendations were written back in 2000 (as can be seen here http://www.w3.org/TR/html/#C_2), and today I would like to output normal XML in which there is not a space inside empty elements.

Is it possible to configure MyFaces to render empty elements without spaces?

Randahl

Reply via email to