anchor.diff:                     #{'html-version' := HtmlV} = Opts, InScopeNamespaces) ->
      At = xqldb_mem_nodes:attributes(Node),
      QNm = encode_qname(NodeName),
  -   NewNs = get_new_namespaces(Ns, InScopeNamespaces),
  +   %NewNs = get_new_namespaces(Ns, InScopeNamespaces),
      InScopeNamespaces1 = maps:merge(InScopeNamespaces, Ns),
  -   NsStr = << <<" ", (encode_namespace(P, N))/binary>> ||
  -              {P,N} <- NewNs>>,
  +   NsStr = <<>>,
  +   %NsStr = << <<" ", (encode_namespace(P, N))/binary>> ||
  +   %           {P,N} <- NewNs>>,
      Atts = << <<" ", (do_serialize_html(A, Opts, InScopeNamespaces1))/binary>> ||
                A <- At>>,
      IsCdataNode = is_cdata_node(NodeName, Opts),
  
positive.code:            end,
     ChNds = xqldb_mem_nodes:children(Node1),
     IsHtml = ENs == <<>> orelse (ENs == ?xhtml andalso HtmlV == 5.0),
     Ch = if IsCdataNode andalso not IsHtml ->
                lists:map(fun(#{nk := text} = Txt) ->
                                Txt#{nk := cdata};
                             (O) ->
  
negative.code:                                         'doctype-system' := <<>>}) ->
     case string:lowercase(Html) of
        <<"html">> ->
           <<"<!DOCTYPE ", Html/binary, ">\n">>;
        _ ->
           <<>>
     end;
  