Details
-
Bug
-
Resolution: Fixed
-
Major
-
4.2
-
None
-
N/A
-
N/A
-
Description
Input:
<document> <parameter0> <metadata class="linked-hash-map"> <entry> <string>syntax</string> <org.xwiki.rendering.syntax.Syntax> <type> <name>XWiki</name> <id>xwiki</id> </type> <version>2.0</version> </org.xwiki.rendering.syntax.Syntax> </entry> </metadata> </parameter0> <verbatim parameter0=" verbatim " parameter2=""></verbatim> </document>
Is parsed (with the xdom+xml/current parser) and then rendered as (with the xdom+xml/current block renderer):
<document><parameter0><metadata class="linked-hash-map"><entry><string>syntax</string><org.xwiki.rendering.syntax.Syntax><type><name>XWiki</name><id>xwiki</id></type><version>2.0</version></org.xwiki.rendering.syntax.Syntax></entry></metadata></parameter0><verbatim parameter0=" verbatim " parameter2=""></verbatim></document>