pauldotknopf / iphone-plist-net

Automatically exported from code.google.com/p/iphone-plist-net
4 stars 2 forks source link

There is no way to disable DTD validation #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When you deserialize an XML plist, it will ping Apple to download the DTD; 
however there is no way to prevent this.  It would be a simple change to the 
PListRoot.Load() method to pass an XMLReader (configured to not validate the 
DTD) into the XMLSerializer as opposed to passing in the stream directly.

Would you consider making this change/addition? 

Original issue reported on code.google.com by jon.lip...@gmail.com on 28 Aug 2014 at 8:12

GoogleCodeExporter commented 9 years ago
Note: It would be easy to make the change myself (ourselves) to a fork; however 
as we're using the NuGet version of the library, it would be great if this 
change could be included officially.

Original comment by jon.lip...@gmail.com on 28 Aug 2014 at 8:14