anchor.diff:  	    CL = filename:absname(Dir),
               File = filename:basename(Name),
   	    ContinuationFun = fun default_continuation_cb/1,
  -            Res = stream(<<>>, 
  +            Res = stream(<<>>,
                            [{continuation_fun, ContinuationFun},
  -                          {continuation_state, FD}, 
  +                          {continuation_state, FD},
                             {current_location, CL},
                             {entity, File}
                             |Options],
  
positive.code: 	end,
      case Result of
  	{<<>>, _} ->
  	    ?fatal_error(State, "Can't detect character encoding due to lack of indata"); 
  	{NewBytes, NewContState} ->
  	    NextCall(<<Rest/binary, NewBytes/binary>>,  
  		     State#xmerl_sax_parser_state{continuation_state = NewContState})
      end.
  
negative.code:     parse_options(Options, State#xmerl_sax_parser_state{file_type = FT});
  parse_options([{encoding, E} |Options], State) ->
      case check_encoding_option(E) of
  	{error, Reason} ->
  	    {error, Reason};
  	Enc ->
  	    parse_options(Options, State#xmerl_sax_parser_state{encoding = Enc})
  