anchor.diff:      Length = length(List),
       check_min_elements_(Length, Key, lists:keyfind('min-elements',1,Info)),
       check_max_elements_(Length, Key, lists:keyfind('max-elements',1,Info)),
  -    {binary_to_atom(Key, latin1), List, Info};
  +    {to_atom(Key), List, Info};
   validate_rpc_elem(Stmt, {Key, Other}, _Info)
     when Stmt==list; Stmt=='leaf-list' ->
       throw({invalid_params, {mismatch, [Key, Other, array]}}).
  
positive.code: 	  {call, <<"y0:t0">>,
  	   {struct, [{<<"a">>,17}]}}, Y).
  
  
  simplest_rpc_test1(Y) ->
      {ok, [{l,[],[{leaf,_,<<"x">>,[{type,_,<<"uint32">>,_}]}]}], []} =
  	yang_json:validate_request(
  
negative.code:     error.
  
  validate_rpc_request(Req, Data) ->
      try begin
  	    {ValidReq, Meta} = validate_rpc_request(Req, Data, [], []),
  	    {ok, ValidReq, Meta}
  	end
      catch
  	throw:Error ->
  	    {error, Error}
      end.
  
  validate_rpc_request([{Leaf,_,Key,Info}|Elems], Data, Acc, Meta)
    when Leaf == leaf; Leaf == anyxml ->
  