Author: jackson
Date: 2007-06-20 12:06:46 -0400 (Wed, 20 Jun 2007)
New Revision: 80329
Modified:
trunk/moon/src/ChangeLog
trunk/moon/src/xaml.cpp
Log:
- Map in the default namespaces if we are unable to lookup the
proper namespace name.
Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog 2007-06-20 16:03:25 UTC (rev 80328)
+++ trunk/moon/src/ChangeLog 2007-06-20 16:06:46 UTC (rev 80329)
@@ -2,6 +2,8 @@
* xaml.cpp: More verbose debug output with namespace lookup
errors.
+ - Map in the default namespaces if we are unable to lookup the
+ proper namespace name.
2007-06-20 Sebastien Pouliot <[EMAIL PROTECTED]>
Modified: trunk/moon/src/xaml.cpp
===================================================================
--- trunk/moon/src/xaml.cpp 2007-06-20 16:03:25 UTC (rev 80328)
+++ trunk/moon/src/xaml.cpp 2007-06-20 16:06:46 UTC (rev 80329)
@@ -412,7 +412,9 @@
// Find the proper namespace
p->current_namespace = (XamlNamespace *) g_hash_table_lookup
(p->namespace_map, name [0]);
element = name [1];
- } else if (p->implicit_default_namespace) {
+ }
+
+ if (!p->current_namespace && p->implicit_default_namespace) {
p->current_namespace = default_namespace;
element = name [0];
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches