Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
Description
It seems like there is attribute corruption when dealing with converting attributes that include namespaces.
(It might be that my understanding on namespaces is a bit wrong, but I still think jelly is broken)
Essentially, the script
<j:jelly xmlns:j="jelly:core">
<j:file name="target/testFileTag.tmp" outputMode="html">
<html xmlns="http://www.w3.org/1999/xhtml"" xml:lang="en" lang="en">
</html>
</j:file>
</j:jelly>
is creating a file with the content (not even valid XML)
<html xmlns="http://www.w3.org/1999/xhtml lang="en"></html>
when I would expect it to produce something like
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"></html>
I have included tests cases and scripts for this scenario