anchor.diff:  %% This function is -nondeterministic-.
   resolve_path(_, Path) when is_binary(Path) ->
      try
  -      R = xqerl_lib:resolve_against_base_uri(filename:absname(<<>>), Path),
  +      R = xqerl_lib:resolve_against_base_uri(filename:absname(<<".">>), Path),
         N = filename:nativename(strip_scheme(R)),
         case filelib:is_file(N) of
            false ->
  
positive.code:          W = fun(S) ->
                    write_line(Fd,S)
               end,
           ok = lists:foreach(W, Values),
           _ = file:close(Fd),
           [];
        {error,eisdir} ->
  
negative.code:          W = fun(S) ->
                    write_line(Fd,S)
               end,
           ok = lists:foreach(W, l(Values)),
           _ = file:close(Fd),
           [];
        {error,eisdir} ->
  