"XmlDataProvider has inline XML that does not explicitly set its XmlNamespace (xmlns="")"
-
I've added xmlns="" to all my XmlDataProvider (after Googling for sometime[^]), but from Visual Studio output Window still getting the very annoying error message - "XmlDataProvider has inline XML that does not explicitly set its XmlNamespace (xmlns="")"
<XmlDataProvider x:Key="MoreColors" XPath="/colors"> <x:XData> <colors xmlns="" > <color name="pink"/> <color name="white"/> <color name="black"/> <color name="cyan"/> <color name="gray"/> <color name="magenta"/> </colors> </x:XData> </XmlDataProvider>
Any idea? Thanksdev
-
I've added xmlns="" to all my XmlDataProvider (after Googling for sometime[^]), but from Visual Studio output Window still getting the very annoying error message - "XmlDataProvider has inline XML that does not explicitly set its XmlNamespace (xmlns="")"
<XmlDataProvider x:Key="MoreColors" XPath="/colors"> <x:XData> <colors xmlns="" > <color name="pink"/> <color name="white"/> <color name="black"/> <color name="cyan"/> <color name="gray"/> <color name="magenta"/> </colors> </x:XData> </XmlDataProvider>
Any idea? Thanksdev