anchor.diff:  scan_att_type([], S=#xmerl_scanner{continuation_fun = F}) ->
       ?dbg("cont()...~n", []),
       F(fun(MoreBytes, S1) -> scan_att_type(MoreBytes, S1) end,
  -      fun(S1) -> ?fatal(unexpected_end, S1) end,
  +      fatal_fun(unexpected_end),
         S);
   scan_att_type("CDATA" ++ T, S0) ->
       ?bump_col(5),
  
positive.code:     F(fun(MoreBytes, S1) -> scan_element("/" ++ MoreBytes, S1,
  					 Pos, Name, StartL, StartC, Attrs,
  					 Lang,Parents,NSI,NS,SpaceDefault) end,
        fun(S1) -> ?fatal(unexpected_end, S1) end,
        S);
  scan_element([], S=#xmerl_scanner{continuation_fun = F},
  	     Pos, Name, StartL, StartC, Attrs, Lang, Parents,
  
negative.code: scan_entity([], S=#xmerl_scanner{continuation_fun = F}) ->
      ?dbg("cont()...~n", []),
      F(fun(MoreBytes, S1) -> scan_entity(MoreBytes, S1) end,
        fatal_fun(unexpected_end),
        S);
  scan_entity("%" ++ T, #xmerl_scanner{rules_write_fun = Write} = S0) ->
      %% parameter entity
  