BitWorkingTheories on software development.System.Xml.XmlDocument and DTD's- (Found July 2, 2008 ) In .NET it turns out that if you load an XML document into XmlDocument, i.e. XmlDocument doc = new XmlDocument(); doc.Load("test.html"); then all of the DTD's are pulled in and parsed, even if you do not pass the XmlDocument to a validating reader. If it can't find the DTD's then it throws an exception. Not the behaviour I expected. The way to stop this isn't obvious at first either, but this works: XmlDocument doc = new XmlDocument(); doc.XmlResolver = null; ...http://bitworking.org/2002/06/21.html#a216 (Untitled)- (Found July 2, 2008 ) If you are interested in how Aggie works, I have posted a short Theory Of Operation for Aggie.http://bitworking.org/2002/06/21.html#a215 I am soooo jealous- (Found July 2, 2008 ) It seems like every day I run into one more reason to move to Italy. Recently it was this wired article, and now Ben Hammersley is moving there.http://bitworking.org/2002/06/21.html#a214 I need to revise my statement.- (Found July 2, 2008 ) NPR doesn't just suck. They are brutally stupid too. Via Boing Boinghttp://bitworking.org/2002/06/21.html#a213 System.Xml.XmlDocument and DTD's (Now officially a mini-series)- (Found July 2, 2008 ) Drew did the heavy lifting and points out that the problem isn't with .NET but with the DTDs themselves which include a module which simply doesn't exist. I must also sheepishly admit that he had responses to some earlier questions that I missed. One was about FTP client services in .NET and the other was about creating a custom XmlResolver. Sorry Drew.http://bitworking.org/2002/06/24.html#a223 |