System.NullReferenceException when you call XQueryDocument.CreateNavigator

Sep 13, 2010 at 1:07 AM

XQueryDocument doc = new XQueryDocument();
XPathNavigator nav = doc.CreateNavigator();
Second line fails.