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: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
