The w3c from that link link says it *should* print a space before the
slash. Why do you want to turn the space off since it is "required"
for HTML compatibility? As for XML the space before the slash doesn't
matter (XML parsers don't care about whitespace in a tag).

On 10/17/06, Randahl Fink Isaksen <[EMAIL PROTECTED]> wrote:
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