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

Reply via email to