Michael,
thank you for this clear explanation. Now i`m sure I haven't overlooked something. And I can live without this feature. After all, it's a very special use case. Frank Von: Michael Glavassevich [mailto:mrgla...@ca.ibm.com] Gesendet: Montag, 11. Januar 2010 23:14 An: j-users@xerces.apache.org Betreff: Re: How to retain Entity References in Attribute Nodes while parsing ? This feature has no effect for attributes. Xerces-J always expands entity references in attribute values. Since XNI doesn't report entity boundaries in attribute values it's unlikely to ever be supported. The infrastructure isn't there. This was a conscious decision [1]. Thanks. [1] http://mail-archives.apache.org/mod_mbox/xerces-j-dev/200109.mbox/%3C3B9C591 5.e05d2...@apache.org%3e Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org kesh...@us.ibm.com wrote on 12/23/2009 12:27:25 PM: > Xerces-J has an option to control whether EntityReference notes are > generated in the DOM output. See > http://xerces.apache.org/xerces-j/features.html > ... specifically, the create-entity-ref-nodes feature. > > I haven't checked whether Xerces-C offers the same choice, but I > would be a bit surprised if it doesn't. > > ______________________________________ > "... Three things see no end: A loop with exit code done wrong, > A semaphore untested, And the change that comes along. ..." > -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (http:// > www.ovff.org/pegasus/songs/threes-rev-11.html)