Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1-rc-3
-
None
Description
MarkupBuilder supports creation of text nodes by supplying a text value:
element("text")
It also supports creation of nested nodes.
element{ child() }
If you combine these, it produces invalid XML.
The preferred way to do mixed content is using the mkp.yield notation but the non-recommended style of combining the above two mechanisms should still not produce invalid XML.