QxmlDomElement_SetAttribute does not work properly.
----------------------------------------------------

         Key: XERCESC-1335
         URL: http://issues.apache.org/jira/browse/XERCESC-1335
     Project: Xerces-C++
        Type: Bug
  Components: DOM  
 Environment: AS400 using RPG ILE
    Reporter: Rod Perkins
    Priority: Critical


I am trying to add the following attributes:
id=2048
qualifiers=false
reqval=false
selected=true
using the code snippet below, in a loop

I am ending up with:
false="false"
id="2048"
true="true"

 Eval      %Str(strgbuf@:256) = AttrName2C        
 Eval      XMLString1@ =                          
            QxmlTranscodeToUNICODE(strgbuf@:      
            Qxml_CHARSTR:%Len(%TrimR(AttrName2C)))
                                                  
 Eval      %Str(strgbuf@:256) = AttrVal2C         
 If        %Subst(AttrName2C:1:8) = 'selected'    
 Eval      %Str(strgbuf@:256) = 'true'            
 EndIf                                            
                                                  
CALLP     QxmlDOMElement_setAttribute 
           (NodePtr1@:                
            XMLString1@:              
            qxml_UNICODE:             
            %Len(%TrimR(AttrName2C)): 
            strgbuf@:                 
            Qxml_CHARSTR:             
            %Len(%TrimR(AttrVal2C)))  

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

Reply via email to