anchor.diff:                             : if '$3' == <<>> ->
                                       ?err('XQST0088');
                                    true ->
  -                                    Ns = list_to_binary(["Q{", '$3', "}"]), 
  +                                    Ns = list_to_binary(["Q{", check_import_uri('$3'), "}"]), 
                                       xqerl_context:add_statically_known_namespace(parser,Ns, <<>>),
                                       {Ns, <<>>}
                                 end.
  
positive.code:                            : if '$6' == <<>> ->
                                      ?err('XQST0088');
                                   true ->
                                      Ns = list_to_binary(["Q{", '$6', "}"]), 
                                      xqerl_context:add_statically_known_namespace(parser,Ns, bin_value_of('$4')),
                                      {Ns, bin_value_of('$4')}
                                end.
  
  'NamespaceDecl'          -> 'declare' 'namespace' 'NCName' '=' 'URILiteral' 
                             : check_prefix_namespace(bin_value_of('$3'), '$5'), 
                               xqerl_context:add_statically_known_namespace(parser,'$5', bin_value_of('$3')),
                               {namespace, {'$5', bin_value_of('$3')}}.
  
  
negative.code:                            : if '$3' == <<>> ->
                                      ?err('XQST0088');
                                   true ->
                                      Ns = list_to_binary(["Q{", check_import_uri('$3'), "}"]), 
                                      xqerl_context:add_statically_known_namespace(parser,Ns, <<>>),
                                      {Ns, <<>>}
                                end.
  