[NUI] Reset XamlParser's xamlns list whenever it starts to parse
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / Xaml / XamlParser.cs
index 83f26cd..45e0804 100755 (executable)
@@ -63,6 +63,9 @@ namespace Tizen.NUI.Xaml
 
         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);