poolLastChar
if (! isCdata && poolLength(pool) && poolLastChar(pool) == 0x20)
&& (poolLength(pool) == 0 || poolLastChar(pool) == 0x20))
if (! isCdata && (poolLength(pool) == 0 || poolLastChar(pool) == 0x20))