You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/10/10 13:21:50 UTC

DO NOT REPLY [Bug 23721] New: - AttributesImpl operator= switches attribute value/name/type

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23721>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23721

AttributesImpl operator= switches attribute value/name/type

           Summary: AttributesImpl operator= switches attribute
                    value/name/type
           Product: XalanC
           Version: 1.6
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XalanC
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: ts@edvwl.de


xalanc/PlatformSupport/AttributesImpl.cpp line 214 (CVS Rev 1.2):

AttributesImpl::operator=(const AttributesType&	theRHS)
{
   ...

theTempList.addAttribute(
	theRHS.getQName(i),
	theRHS.getType(i),
	theRHS.getValue(i),
	theRHS.getURI(i),
	theRHS.getLocalName(i));

   ...
}

fix:

theTempList.addAttribute(
	theRHS.getURI(i),
	theRHS.getLocalName(i),
	theRHS.getQName(i),
	theRHS.getType(i),
	theRHS.getValue(i));