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

    Resolution: Won't Fix

It's a bug, but it's in the deprecated DOM, that is not maintained anymore. A 
workaround for this behavior is to first create a DOM_Document, then invoke 
createDocumentType on it.


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

Reply via email to