My apologies in advance, i don\'t do a lot of front end development. But in short xmlns attributes are removing tags and moving them around in the rendered document. This is pro
I debugged a bit and found this must be happening in JSF SAXCompiler routines.
While the com.sun.faces.facelets.compiler.SAXCompiler.CompilationHandler
gets its' startElement
and endElement
methods invoked in correct order as per the XHTML source code, the result of
FaceletHandler h = this.compiler.compile(url, alias);
at line 475 of com.sun.faces.facelets.impl.DefaultFaceletFactory
Mojarra 2.3.8, is a FaceletHandler
representing the observed wrong element tree structure.
This has been reported as bug #4555.
There has also been a very similar question before which was then reported as a bug to Mojarra. As that bug is resolved, I'd consider this to be a new one. So I'd suggest you to report that bug using a minified reproducable example. For your application you should consider to emebed SVGs using
as BalusC suggest in response to the other question.