Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Calling 'result' on JAPI side of things multiple times causes an error. Essentially we're attempting to add the 'content' (the root element of the result) to a Document when result is called. Subsequent calls attempt to do it again, but the 'root element' already has a parent Document from the prior call.
Need to simply clone the node before adding it to the Document.