分辨率我试图用XDocument.Parse(string)
解析的http://feeds.feedburner.com/riabiz内容(因为它可以让在DB缓存)XDocument.Parse失败,由于分辨率的错误,如何禁用
然而,保持与下面的堆栈失败在尝试解析该XML中的某些URI时进行跟踪。
我不关心验证或任何XML废话,我只是想分析结构。如何在不使用此URI解析的情况下使用XDocument?
System.ArgumentException: The specified path is not of a legal form (empty). at System.IO.Path.InsecureGetFullPath (System.String path) [0x00000] in :0 at System.IO.Path.GetFullPath (System.String path) [0x00000] in :0 at System.Xml.XmlResolver.ResolveUri (System.Uri baseUri, System.String relativeUri) [0x00000] in :0 at System.Xml.XmlUrlResolver.ResolveUri (System.Uri baseUri, System.String relativeUri) [0x00000] in :0 at Mono.Xml2.XmlTextReader.ReadStartTag() [0x00000] in :0 at Mono.Xml2.XmlTextReader.ReadContent() [0x00000] in :0 at Mono.Xml2.XmlTextReader.Read() [0x00000] in :0 at System.Xml.XmlTextReader.Read() [0x00000] in :0 at Mono.Xml.XmlFilterReader.Read() [0x00000] in :0 at Mono.Xml.XmlFilterReader.Read() [0x00000] in :0 at System.Xml.XmlReader.ReadEndElement() [0x00000] in :0 at System.Xml.Linq.XElement.LoadCore (System.Xml.XmlReader r, LoadOptions options) [0x00000] in :0 at System.Xml.Linq.XNode.ReadFrom (System.Xml.XmlReader r, LoadOptions options) [0x00000] in :0 ...