An entity that was referenced prior to the start of a CDATA or RCDATA element must not end inside the element's content.

#0072   Markup Error

ISO 8879, 9.4

An entity that was referenced prior to the start of a CDATA or RCDATA element must not end inside the element's content.