Two problems with character maps:
(a) the name of the character map in xsl:output is
expanded using the default namespace declaration, which
means that if it's unprefixed and a default namespace
is in force, it won't match the actual name of the
(b) character maps aren't implemented for method="text".
Source code fixed for both problems.
Test cases added: charmap011, charmap012.