anchor.diff:  	    {error, Err}
       end.
   
  +add_attr(Key, Value, Attrs, H, #state{action=#occi_action{}=A}=S) ->
  +    try occi_action:set_attr_value(A, Key, Value) of
  +	#occi_action{}=A2 ->
  +	    parse_a_values(Attrs, H, S#state{action=A2});
  +	{error, Err} ->
  +	    {error, {parse_error, Err}}
  +    catch
  +	_:Err ->
  +	    {error, {parse_error, Err}}
  +    end;
   add_attr(_, _, _, _, #state{entity=undefined}) ->
       {error, {parse_error, attribute}};
   add_attr(Key, Value, Attrs, H, #state{entity=E}=S) ->
  
positive.code:     end;
  parse_c_kv(_, _, _V, _, #state{mixin=#occi_mixin{}}) ->
      {error, invalid_mixin};
  parse_c_kv(Bin, Term, V, H, S) ->
      case parse_kv(Bin) of
  	{ok, Dict} ->
  	    add_category(dict:store(term, {atom, Term}, Dict), V, H, S);
  	{error, Err} ->
  	    {error, Err}
      end.
  
  make_mixin(Dict, _, #state{mixin=#occi_mixin{id=#occi_cid{class=Cls}}=Mixin}=S) ->
  
negative.code: 	    {ok, State}
      end.
  
  parse_a_values([], _, #state{action=#occi_action{}}=State) ->
      {ok, State};
  parse_a_values([], H, #state{entity_id=undefined}=State) ->
      parse_location(H, State);
  parse_a_values([], _, State) ->
  