anchor.diff:  check_bool(false, _Fld, _Rec, Acc) ->
       Acc;
   check_bool(Val, Fld, Rec, Acc) ->
  -    [io_lib:format("Invalid ~p in ~p ~p~sn", [Fld, Rec, Val, "~"]) | Acc].
  +    case string:to_lower(Val) of
  +        "true"  -> Acc;
  +        "false" -> Acc;
  +        _       -> [io_lib:format("Invalid ~p in ~p ~p~sn",
  +                                  [Fld, Rec, Val, "~"]) | Acc]
  +    end.
   
   check_int(undefined, _Min, _Fld, _Rec, Acc) ->
       Acc;
  
positive.code:              {record,       Dial#dial.record}],
      CleanAttrs = remove_undefined(Attrs),
  
      case is_list(Dial#dial.body) of
          true ->
              Body = [Dial#dial.body];
          false ->
              Body = [to_xmerl_element(Dial#dial.body)]
      end,
      {'Dial', CleanAttrs, Body};
  to_xmerl_element(#number{} = Number) ->
      Attrs = [{sendDigits, Number#number.send_digits},
  
negative.code:          testing2/0,
           testing3/0,
           testing4/0,
           testing5/0,
           testing6/0
          ]).
  
  -include("twilio.hrl").
  
  -define(DOLLAR, "$"). %". for the code colouring
  
  %% @doc Encodes a set of twiml records as an XML document.
  encode(Elements) ->
      Content = [{'Response', [], [to_xmerl_element(El) || El <- Elements]}],
      xmerl:export_simple(Content, xmerl_xml).
  
  encode_record(Record) ->
      El = xmerl:export_simple([to_xmerl_element(Record)], xmerl_xml),
  