You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by fm...@apache.org on 2015/03/30 16:56:29 UTC
svn commit: r1670119 -
/chemistry/dotcmis/trunk/DotCMIS/binding/atompub/atompub-parser.cs
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))