Previously, XamlParser referenced a xamlns list that is created based on the root assembly of previously parsed xaml file.
That leads wrong result of searching types for the next xaml parsing.
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
public static void ParseXaml(RootNode rootNode, XmlReader reader)
{
+ // Reset xmlnsDefinitions to re-gather them for the new assembly.
+ s_xmlnsDefinitions = null;
+
IList<KeyValuePair<string, string>> xmlns;
var attributes = ParseXamlAttributes(reader, out xmlns);
var prefixes = PrefixesToIgnore(xmlns);