You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2001/08/14 00:26:50 UTC

[DO NOT REPLY: Bug 3111] New: -

Problem with LexicalHandler::startDTD() and LexicalHandler::endDTD()

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3111

*** shadow/3111	Mon Aug 13 15:26:50 2001
--- shadow/3111.tmp.4268	Mon Aug 13 15:26:50 2001
***************
*** 0 ****
--- 1,23 ----
+ +============================================================================+
+ | Problem with LexicalHandler::startDTD() and LexicalHandler::endDTD()       |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 3111                        Product: Xerces-C++              |
+ |       Status: NEW                         Version: 1.5.1                   |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Critical                 OS/Version: Other                   |
+ |     Priority: Other                     Component: SAX/SAX2                |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: xerces-c-dev@xml.apache.org                                  |
+ |  Reported By: David_N_Bertoni@lotus.com                                    |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ When a document has an internal subset only, SAX2XMLReaderImpl will send a SAX2 
+ LexicalHandler::startDTD() event, but no LexicalHandler::endDTD() event.
+ 
+ I'm not sure how this can be fixed -- LexicalHandler::endDTD() is called in 
+ SAX2XMLReaderImpl::endExtSubset(), and not in SAX2XMLReaderImpl::endIntSubset
+ ().  It needs to be called in SAX2XMLReaderImpl::endIntSubset(), but only when 
+ there's no external subset.
\ No newline at end of file

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org