(cherry picked from commit b9aeeaa6e3bab21e578e67c1a66ed1bf94fec4a0)
@@ -586,6 +586,7 @@ Var
lRes,lRawlen : Integer;
begin
+ Result:='';
aValue:=Char(aStartByte)+GetTillByte(Ord('>'));
lRawlen:=Length(aValue) div 2;
SetLength(Result{%H-},lRawLen);