I found it! I was assuming, since the error pointed the line with that entity on it, that the entity was the issue. But no. In fact it was my fault - the DTD specifies only a single instance of <study> in each <subject>. It should have been:
Code:
<!ELEMENT subject (about,study+)>
I should have posted a more complete code sample - the sample I posted actually
is valid by that DTD, but what I'm actually using, which produced the error, is like this:
Code:
<subject>
<about>3com</about>
<study year="1998" season="w">&coi;</study>
<study year="1999" season="w">&coi;</study>
<study year="2000" season="w">&coi;</study>
<study year="2000" season="w">&itp;</study>
</subject>
doh

thanks for the help though