anchor.diff:                      true -> abstract(<<>>) end],
                   none,
                   [if IsRequired ->
  -                         make_function_call(
  -                           erlang, error,
  -                           [erl_syntax:tuple(
  -                              [erl_syntax:atom("missing_" ++ Type),
  -                               abstract(AttrName),
  -                               abstract(TagName),
  -                               abstract(TagNS)])]);
  +                         make_erlang_error(
  +                           ModName,
  +                           erl_syntax:tuple(
  +                             [erl_syntax:atom("missing_" ++ Type),
  +                              abstract(AttrName),
  +                              abstract(TagName),
  +                              abstract(TagNS)]));
                       true ->
                            abstract(Default)
                    end]),
  
positive.code:                io_lib:nl()]);
          Err ->
              Err
      end.
  
  make_records({Tags, TypesDict, RecDict}, TaggedElems) ->
  
negative.code:                         make_decoding_MFA([AttrName,attr,Tag],
                                            Name, XMLNS, AttrName,
                                            Required, AttrDefault,
                                            AttrDecF, Types, ModName) ++
                              make_encoding_MFA([AttrName,attr,Tag],
                                                AttrName, Required, AttrDefault,
                                                AttrEncF)
  