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 "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2005/08/30 10:53:04 UTC

[jira] Resolved: (XERCESC-1488) CLONE -in the NamedNodeMapImpl::cloneMap, forget verify whther the ownerNod->getDocument() return NULL.

     [ http://issues.apache.org/jira/browse/XERCESC-1488?page=all ]
     
Alberto Massari resolved XERCESC-1488:
--------------------------------------

    Resolution: Duplicate

Please don't clone a bug that has been closed, especially if you do it to ask for a question that should be posted to the mailing list (c-users@xerces.apache.org).

> CLONE -in the NamedNodeMapImpl::cloneMap, forget verify whther the ownerNod->getDocument() return NULL.
> -------------------------------------------------------------------------------------------------------
>
>          Key: XERCESC-1488
>          URL: http://issues.apache.org/jira/browse/XERCESC-1488
>      Project: Xerces-C++
>         Type: Bug
>   Components: DOM
>     Versions: 2.6.0
>  Environment: win32, vc7,
>     Reporter: Caochongyu
>     Priority: Blocker

>
> I createDocumentType, then call DOM_Node::cloneNode on it. 
> it crashes in 
> NamedNodeMapImpl::cloneMap(NodeImpl *ownerNod).
> {
>   MemoryManager* manager = ownerNod->getDocument()->getMemoryManager();
> where ownerNod->getDocument() returns NULL.
> it could be NULL, eh?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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