anchor.diff:      raise Exception.Create('Can not set text value when there are several text subnodes');
   
     // value that will be set.
  -  if Length(Value) > 0 then
  +  Res := sdRigthTrim(Value);
  +  if Length(Res) > 0 then
     begin
   
       // add or update a value
  
positive.code:       Result[i] := '.';
  end;
  
  function sdTrim(const S: Utf8String): Utf8String;
  var
    I, L: Integer;
  
negative.code: 
        // we do not have a value node, so we will add it after FDirectNodeCount
        Node := TsdCharData.Create(TNativeXml(FOwner));
        Node.Value := Res;
        NodeInsert(FDirectNodeCount, Node);
        FValueIndex := FDirectNodeCount;
  
  