Expat would report an incorrect "Unlosed token" error when expanding %percent; in the second of these entity declarations:
Expat would report an incorrect "Unlosed token" error when
expanding %percent; in the second of these entity declarations:

<!ENTITY % percent "&#37;">
<!ENTITY %percent; y "value">

This patch was submitted by James Clark on the xml-dev mailing list.

cgwalters/expat-git-mirror,cgwalters/expat-git-mirror,cgwalters/expat-git-mirror