Cause: The content sequence in a document constructor contained either a document or an attribute node. See the solution below.
Error solution: Fix the content so it does not contain any of the above node types.
Database version: Oracle 11g Release 2 (11.2)