An entity that was referenced prior to the start of a CDATA or RCDATA marked section must not end inside the marked section.

#0071   Markup Error

ISO 8879, 9.4

An entity that was referenced prior to the start of a CDATA or RCDATA marked section must not end inside the marked section.