Yes...you're right...I am binding to qxmltools/qxml4pr520 -----Original Message----- From: Alberto Massari (JIRA) [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 3:32 PM To: [EMAIL PROTECTED] Subject: [jira] Commented: (XERCESC-1335) QxmlDomElement_SetAttribute does not work properly.
[ http://issues.apache.org/jira/browse/XERCESC-1335?page=comments#action_58522 ] Alberto Massari commented on XERCESC-1335: ------------------------------------------ Hi Rod, are you sure you are using Xerces-C++? As you write in RPG, maybe you are using XML4RPG, from IBM (http://alphaworks.ibm.com/tech/xml4rpg). Alberto > 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 ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]