anchor.diff:  scan_char_ref_dec([], S=#xmerl_scanner{continuation_fun = F}, Acc) ->
       ?dbg("cont()...~n", []),
       F(fun(MoreBytes, S1) -> scan_char_ref_dec(MoreBytes, S1, Acc) end,
  -      fun(S1) -> ?fatal(unexpected_end, S1) end,
  +      fatal_fun(unexpected_end),
         S);
   scan_char_ref_dec([H|T], S0, Acc) when H >= $0, H =< $9 ->
       ?bump_col(1),
  
positive.code: scan_attdef([], S=#xmerl_scanner{continuation_fun = F}) ->
      ?dbg("cont()...~n", []),
      F(fun(MoreBytes, S1) -> scan_attdef(MoreBytes, S1) end,
        fun(S1) -> ?fatal(unexpected_end, S1) end,
        S);
  scan_attdef(T, S) ->
      scan_attdef(T, S, _AttrAcc = []).
  
negative.code: scan_char_data([], S=#xmerl_scanner{continuation_fun = F}, Space, _MUD,Acc) ->
      ?dbg("cont()...~n", []),
      F(fun(MoreBytes, S1) -> scan_char_data(MoreBytes,S1,Space,_MUD,Acc) end,
        fatal_fun(unexpected_end),
        S);
  scan_char_data([$&|T], S,Space,"&",Acc) ->
      scan_char_data(T, S, Space,[], [$&|Acc]);
  