You've already forked lazarus-ccr
Handling empty short namespace
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@500 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -141,13 +141,16 @@ begin
|
||||
mthdNd := bdyNd.FirstChild;
|
||||
PushStack(mthdNd);
|
||||
s := mthdNd.NodeName;
|
||||
nsShortName := ExtractNamespacePart(s);
|
||||
If IsStrEmpty(nsShortName) Then
|
||||
Error('Method Node must have a qualified name.');
|
||||
FCallProcedureName := ExtractNamePart(s);
|
||||
If IsStrEmpty(FCallProcedureName) Then
|
||||
Error('No Method name.');
|
||||
FCallTarget := FindAttributeByNameInScope(sXML_NS + ':' + nsShortName);
|
||||
nsShortName := ExtractNamespacePart(s);
|
||||
if IsStrEmpty(nsShortName) then
|
||||
FCallTarget := FindAttributeByNameInScope(sXML_NS)
|
||||
else
|
||||
FCallTarget := FindAttributeByNameInScope(sXML_NS + ':' + nsShortName);
|
||||
If IsStrEmpty(FCallTarget) Then
|
||||
Error('Method Node must have a qualified name.');
|
||||
end;
|
||||
|
||||
function TSOAPFormatter.GetCallProcedureName(): String;
|
||||
|
Reference in New Issue
Block a user