Author: fmui
Date: Mon Mar 30 14:56:28 2015
New Revision: 1670119
URL: http://svn.apache.org/r1670119
Log:
CMIS-902: fixed DTD processing
Modified:
chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub-parser.cs
Modified: chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub-parser.cs
URL:
http://svn.apache.org/viewvc/chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub-parser.cs?rev=1670119&r1=1670118&r2=1670119&view=diff
==============================================================================
--- chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub-parser.cs (original)
+++ chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub-parser.cs Mon Mar
30 14:56:28 2015
@@ -79,6 +79,8 @@ namespace DotCMIS.Binding.AtomPub
XmlReaderSettings settings = new XmlReaderSettings();
settings.IgnoreWhitespace = true;
settings.IgnoreComments = true;
+ settings.ProhibitDtd = false;
+ settings.MaxCharactersFromEntities = 1024;
try {
using (XmlReader reader = XmlReader.Create(stream, settings))