Well-formedness and markup regularity
Document has a single root element, and
Elements nest properly, but
Entities are synchronous with element/declaration boundaries, and
No minimization is allowed, and
A few entities are automatically declared, and
< and & must be escaped in some way