Andy Clark wrote:
> 
> Glenn Marcy wrote:
> > Can someone refresh my memory...  are these events used in XNI to also
> > indicate the start and end of the DTD entity ?  It would seem strange
> 
> Yes. Do we want to end up adding more methods to the interface
> or should we just handle entities (general/parameter) and the
> DTD the same way we're doing now?

What this all comes down to is that in fact there is no events to signal
entity references. We only signal the beginning and end of the entities
being parsed as a result of encountering an entity reference. So, we
have to infer the presence of the entity references from the events we
receive about the entities. That leads to some confusion, in particular
in the DOM parser where we have to call createEntityReference in
startEntity, but I guess it's not worth changing anything, except the
documentation that could explain that.
-- 
Arnaud  Le Hors - IBM, XML Standards Strategy Group / W3C AC Rep.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to