Bug in TSOAPBaseFormatter.InternalPutData

53 views
Skip to first unread message

PH

unread,
Mar 28, 2017, 6:32:52 AM3/28/17
to WST-LIST
Hi, there's a bug at line 902 in the current trunk in base_soap_formatter.pas. Here's the relevant code:
 if IsStrEmpty(s) then begin
   namespaceShortName
:= 'ns' + IntToStr(NextNameSpaceCounter());
   
AddScopeAttribute('xmlns:'+namespaceShortName, namespaceLongName);
   strNodeName
:= s + ':' + strNodeName;
 
end

Here strNodeName is always :strNodeName, when it should be ns1:strNodeName etc. Correct line would be
  strNodeName := namespaceShortName + ':' + strNodeName;  

Regards, PH

Inoussa OUEDRAOGO

unread,
Mar 28, 2017, 10:54:12 AM3/28/17
to wst-...@googlegroups.com
Hi,

2017-03-28 10:32 UTC, PH <sund...@gmail.com>:
Committed in revision 5823.

Thank you very much.

Best regards.

--
Inoussa O.
Reply all
Reply to author
Forward
0 new messages