Oracle Message LPX-01018 - [XPTY0018] Path last step contains both nodes and atomic values

ERROR[XPTY0018] Path last step contains both nodes and atomic values
CAUSEIt is a type error if the result of the last step in a path expression contains both nodes and atomic values.
ACTIONNone