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 xe...@xml.apache.org on 2004/07/09 11:52:34 UTC

[jira] Resolved: (XERCESC-957) setPrefix(NULL) doesn't set fPrefix to NULL

Message:

   The following issue has been resolved as FIXED.

   Resolver: Alberto Massari
       Date: Fri, 9 Jul 2004 2:52 AM

Fix is CVS. Please verify.

Alberto
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-957

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-957
    Summary: setPrefix(NULL) doesn't set fPrefix to NULL
       Type: Bug

     Status: Resolved
 Resolution: FIXED

    Project: Xerces-C++
 Components: 
             DOM
   Versions:
             2.3.0

   Assignee: 
   Reporter: Syam Gadde

    Created: Thu, 17 Jul 2003 4:01 PM
    Updated: Fri, 9 Jul 2004 2:52 AM
Environment: Operating System: All
Platform: All

Description:
In DOMElementNSImpl::setPrefix(const XMLCh *prefix), the following code:      if (prefix == 0 || *prefix == 0) {          fName = fLocalName;          return;      }  seems like it should also set fPrefix to NULL.  The following sequence:      curnode->setPrefix(NULL);      pref = curnode->getPrefix();  does not necessarily result in pref == NULL.    Thanks!


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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