> > If you need to know entity-reference boundaries, you can get that > > information by asking the parser to generate a DOM which has Entity > > Reference Nodes and then looking at the children of the attribute > > nodes. > > Xerces-J doesn't support that. See the rationale here [1] from Andy Clark.
Beg pardon? There's a long-standing Feature for the DOM parser, create-entity-ref-nodes, which toggles this... and in fact, the documentation says it defaults to true. Are you confused, or is the documentation out of date?