You've already forked lazarus-ccr
SOAP serializer : ID and HREF usage fix, thanks DawnCode.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4380 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -510,7 +510,7 @@ var
|
||||
locHRefValue := locNode.NodeValue;
|
||||
if ( locHRefValue[1] = '#' ) then
|
||||
locHRefValue := Copy(locHRefValue,2,Length(locHRefValue));
|
||||
Result := SelectSingleNode(Format('//*[@id=%s]',[locHRefValue]),locNode.OwnerDocument,True);
|
||||
Result := SelectSingleNode(Format('//*[@id=%s]',[QuotedStr(locHRefValue)]),locNode.OwnerDocument,True);
|
||||
//ANode.OwnerDocument.GetElementById(locHRefValue);
|
||||
if ( Result = nil ) then
|
||||
raise ESOAPException.CreateFmt(SERR_NodeNotFoundByID,[locHRefValue]);
|
||||
|
Reference in New Issue
Block a user