mojarra icon indicating copy to clipboard operation
mojarra copied to clipboard

Fix for Issue #4281 - Namespaces on HTML tags cause a malformed facelet tree

Open Toberumono opened this issue 8 years ago • 0 comments

The issue is caused because raw HTML tags are closed and popped the next time a JSF tag is popped; however, this causes popNamespaces to fail if a namespace was defined on a raw HTML tag. I fixed this by adding a finishUnit call when t.endTag() closes the last tag in a block of text.

In case there is some issue with my fix, an alternative fix is to copy the if statement from lines 335-337 into popNamespaces (and the necessary variable declarations).

Toberumono avatar Sep 18 '17 18:09 Toberumono