Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.4.0-beta-1
-
None
-
Patch
Description
NamespaceBuilder(Support) requires explicit namespace registration whereas it would be possible to detect namespace declarations from the node attributes.
Example:
def result = builder.outer(id: "3") {
'ns1:innerWithNewNamespace'('xmlns:ns1': "http://foo/other", someAttr: 'someValue')
innerWithoutNewNamespace("bar")
}
Pull request with unit test will follow.