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/06/17 01:14:48 UTC

[jira] Resolved: (XERCESC-1223) Change importNode in DOMDocument to a const DOMNode*

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

    Resolution: Fixed

> Change importNode in DOMDocument to a const DOMNode*
> ----------------------------------------------------
>
>          Key: XERCESC-1223
>          URL: http://issues.apache.org/jira/browse/XERCESC-1223
>      Project: Xerces-C++
>         Type: Wish
>   Components: DOM
>     Versions: 2.5.0
>  Environment: All implementations.
>     Reporter: Nicholas Komick
>     Priority: Minor

>
> The DOMDocument::importNode method takes a DOMNode*.  
> To improve consistency it would be nice to have the pointer passed to the import be a const DOMNode*.
> The method currently looks like:
> DOMNode* DOMDocument::importNode (DOMNode *importedNode, bool deep);
> but seeing as the importedNode shouldn't change with the call, the method could be changed to:
> DOMNode* DOMDocument::importNode (const DOMNode *importedNode, bool deep);

-- 
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