xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caochongyu (JIRA)" <xerces-c-...@xml.apache.org>
Subject [jira] Commented: (XERCESC-1484) in the NamedNodeMapImpl::cloneMap, forget verify whther the ownerNod->getDocument() return NULL.
Date Mon, 29 Aug 2005 03:14:08 GMT
    [ http://issues.apache.org/jira/browse/XERCESC-1484?page=comments#action_12320374 ] 

Caochongyu commented on XERCESC-1484:
-------------------------------------

no one answers this?

maybe I have not expressed it well?

we have built some program on 2.1, now migrate to 2.6. then the problem occurs,
in 2.1, Xerces supported clone on the DomumentType without OwnerDocument, but in 2.6, it doesn't
support it. 
it is your design? or it is a bug?


> in the NamedNodeMapImpl::cloneMap, forget verify whther the ownerNod->getDocument()
return NULL.
> ------------------------------------------------------------------------------------------------
>
>          Key: XERCESC-1484
>          URL: http://issues.apache.org/jira/browse/XERCESC-1484
>      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


Mime
View raw message