You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ne...@apache.org on 2003/12/14 22:09:53 UTC
cvs commit: xml-xerces/c/src/xercesc/parsers AbstractDOMParser.cpp
neilg 2003/12/14 13:09:53
Modified: c/src/xercesc/parsers AbstractDOMParser.cpp
Log:
make use of XMLDocumentHandler::elementTypeInfo instead of non-thread-safe XMLElementDecl methods
Revision Changes Path
1.58 +0 -5 xml-xerces/c/src/xercesc/parsers/AbstractDOMParser.cpp
Index: AbstractDOMParser.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/parsers/AbstractDOMParser.cpp,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- AbstractDOMParser.cpp 28 Nov 2003 05:15:07 -0000 1.57
+++ AbstractDOMParser.cpp 14 Dec 2003 21:09:53 -0000 1.58
@@ -731,9 +731,6 @@
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::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);
- *******/
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org