<?xml version="1.0"?>
<!DOCTYPE test [
<!ENTITY ampproblem "&amp;">
]>
<t a="&amp;">a</t>