I have all my pages delivered as XHTML using facelets. As for JavaScript, you need to put CDATA tags around the content and it works fine. If you can't add the CDATA tags, then your pages are not XHTML compliant.
On 8/24/06, "R. Müller" <[EMAIL PROTECTED]> wrote:
For some (probably many) reason, it would be nice to serve XHTML-compliant pages e.g. i'm just testing Firefox's native SVG-support, which only works with XHTML, espacially inline-svg. There was a discussion in this list serveral month ago : <cite from="2/15/06" ontopic="Myfaces not XHTML Transitional compliant?" > Well, JSF spec tell impls to provide a HTML 4.0.1 compliant RenderKit, that's what MyFaces does. So currently there is no XHTML support, AFIAK. -Matthias </cite> Is there anything done in between. Are there any workarounds ? In my case i forced the xhtml-interpretation with the namespace-attribute. <html xmlns="http://www.w3.org/1999/xhtml"> But than, all my javascript fails, probably because its rendered within comment-block <!-- javascript ---> and not in <
