[XML-SIG] Handling of character entity references
Martin v. Löwis
martin@v.loewis.de
26 May 2003 22:48:48 +0200
Randall Nortman <randall@wonderclown.com> writes:
> Everything parsed fine, but "é" was translated to nothing (no
> character in that spot at all) on output. I suspect the skippedEntity
> method needs to actually *do* something other than just print that it
> is skipping an entity (which it does, so I know my version is being
> used), but I am completely ignorant about how to XmlDomGenerator works
> internally, and I've never really written SAX-based parsers anyway.
> Can you give me a hint?
You have to create an EntityReference node, to represent an
EntityReference. The document provides .createEntityReference to
create this kind of node.
Regards,
Martin