yes, people, a Unicode char is not 16 bit (as I always though!) but 32!!
And even the XML specification says so.
Char ::=��#x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]
do the math and you find that #x10000 cannot fit in 16 bits!
now, if you thought you could take the character() SAX event and create a String out of it and do something useful with is (like print it, for example), forget it. The result will very likely not be the one you expect.
Another reason not to use Stings at all.
-- Stefano.
smime.p7s
Description: S/MIME cryptographic signature
