A document type definition must not end inside a marked section.

#0038   Markup Error

ISO 8879, 10.4.2

A document type definition must not end inside a marked section.