I can get an app to work with XmlValidatingReader but of course that is
"obsolete".
I'd prefer not to use an obsolete class if possible.
However, when I instead used XmlReader as suggested, my program hangs at the
line.
myXmlReader.Settings.ValidationType = ValidationType.Schema;
I don't get a useful exception - it's a WinFX program and I get a BAML
exception in the main window.
In theory simply setting a property shouldn't cause this much carnage but
who know what code is behind the scenes.
Is anyone else suffering a similar problem ? Is it a known issue ?
--
Griff
(trying to make an industrial UI with XAML/WPF/c#)