From 27d5a5fe206a557b001fa630383f1c9b66c15c35 Mon Sep 17 00:00:00 2001 From: Neil Graham <neilg@apache.org> Date: Sun, 14 Dec 2003 21:09:53 +0000 Subject: [PATCH] make use of XMLDocumentHandler::elementTypeInfo instead of non-thread-safe XMLElementDecl methods git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@175560 13f79535-47bb-0310-9956-ffa450edef68 --- src/xercesc/parsers/AbstractDOMParser.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/xercesc/parsers/AbstractDOMParser.cpp b/src/xercesc/parsers/AbstractDOMParser.cpp index 2bc4e49fb..cd84f0107 100644 --- a/src/xercesc/parsers/AbstractDOMParser.cpp +++ b/src/xercesc/parsers/AbstractDOMParser.cpp @@ -731,9 +731,6 @@ void AbstractDOMParser::endElement( const XMLElementDecl& elemDecl fCurrentNode = fCurrentParent; fCurrentParent = fNodeStack->pop(); - // REVISIT: delete when elementTypeInfo callback - // is implemented - ((DOMElementImpl *)(fCurrentNode))->setTypeInfo(elemDecl.getDOMTypeInfoName(), elemDecl.getDOMTypeInfoUri()); // If we've hit the end of content, clear the flag if (fNodeStack->empty()) fWithinElement = false; @@ -742,13 +739,11 @@ void AbstractDOMParser::endElement( const XMLElementDecl& elemDecl void AbstractDOMParser::elementTypeInfo( const XMLCh * const typeName , const XMLCh *const typeURI) { - /**** REVISIT: enable when callback is implemented in scanners // very tightly coupled to endElement(). The state of the // object must not have changed between these calls! //validation is performed after the startElement event so we have to associate the info here ((DOMElementImpl *)(fCurrentNode))->setTypeInfo(typeName, typeURI); - *******/ } -- GitLab