<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Has an NMTOKENS attribute containing a CR character that comes from a
     character reference in an internal entity.  Because CR is in the
     S production, this is valid in both XML 1.0 and 1.1. -->
<!DOCTYPE foo [
<!ELEMENT foo ANY>
<!ATTLIST foo bar  NMTOKENS #IMPLIED>
<!ENTITY val "abc&#x0d;def">
]>
<foo bar="&val;" />
