[ expat-Patches-598352 ] Patch for defaultHandler in DTD

noreply@sourceforge.net noreply@sourceforge.net
Wed Aug 21 09:50:17 2002


Patches item #598352, was opened at 2002-08-21 12:49
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=310127&aid=598352&group_id=10127

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Karl Waclawek (kwaclaw)
Assigned to: Karl Waclawek (kwaclaw)
Summary: Patch for defaultHandler in DTD

Initial Comment:
This patch fixes the problem of having the default
handler called for DTD declarations, when a 
designated handler is already provided. 
Check bug #483514: "Default handler reports 
handled events".

There is one limitation to this fix:
When there is an entityDeclHandler set, then
predefined and duplicate entity declarations will
be reported only partially by the default handler. 
The reason is that at the time when it is detected 
that the entity is a predefined one, or that the 
declaration is a  duplicate, part of the declaration 
has already been reported. Example:
Instead of 
  <!ENTITY quot "&#34;">
the default handler will only report
  quot"&#34;"
For details see the  attached overview.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=310127&aid=598352&group_id=10127