Hi Alan, This is an old topic. Here is a response from 2004 [1] on the same subject. It still applies now.
Thanks. [1] http://markmail.org/message/oq3g26f3t2rbafdv Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org Alan Egerton <egg...@gmail.com> wrote on 05/25/2011 03:26:38 AM: > Dear all, > > Following on from [a question][1] I posted on StackOverflow, I note > that after parsing an XML document any nodes returned by > DocumentType.getEntities() have children only if the entity has been > referenced. > > Grateful if someone could help me understand why this is and, if at > all possible, how I can workaround it in order to lookup the > replacement text of entities which have _not_ been referenced. > > Kind regards, > -- Alan > > [1]: http://stackoverflow.com/questions/6115972/obtain-xml-entity- > replacement-text-from-dom-in-xerces > > --------------------------------------------------------------------- > To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org > For additional commands, e-mail: j-users-h...@xerces.apache.org