mod_mam: Implement option to enable MAM implicitly when client support is detected (#867)
functionparse(parse)localx=[[<x xmlns:a="b"> <y xmlns:a="c"> <!-- this overwrites 'a' --> <a:z/> </y> <a:z/> <!-- prefix 'a' is nil here, but should be 'b' --></x>]]localstanza=parse(x);assert_equal(stanza.tags[2].attr.xmlns,"b");end