[XML-SIG] Character entities (XHTML)

Thomas B. Passin tpassin@comcast.net
Tue, 07 May 2002 23:57:25 -0400


Yes, for some reason in my mind I lumped that in with preprocessing when I
wrote my response, but of course it's really not.

Tom P

[Juergen Hermann]

On Tue, 07 May 2002 19:49:39 -0400, Thomas B. Passin wrote:

>There are really only two ways to get the entities back in to the output.
>Either you use or write a serializer to replace certain characters with
your
>entities (and which ones to replace will depend on the encoding), or you do
>some preprocessing to replace the entities with some encoded version, then
>convert them back with postprocessing.

The third of the two ways is to use a SAX2 LexicalHandler.