I'm using two <svg>
elements inside a <ul>
.
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
...
<ul>
<li>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" >...</svg>
</li>
<li>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" >...</svg>
</li>
</ul>
...
</html>
JSF is swallowing the first closing </li>
when it's rendering the HTML.
Is this a bug or is my xhtml invalid?
I'm using Mojarra 2.1.7.
Update: As @BalusC suggested I reported this to the Mojarra Guys.
Update 2: Fixed with Mojarra 2.1.26 and 2.2.3