You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mr...@apache.org on 2009/06/21 19:49:36 UTC
svn commit: r787059 -
/xerces/java/branches/xml-schema-1.1-dev/docs/xml-schema.xml
Author: mrglavas
Date: Sun Jun 21 17:49:35 2009
New Revision: 787059
URL: http://svn.apache.org/viewvc?rev=787059&view=rev
Log:
Mention the JAXP secure processing feature as an alternative solution to the maxOccurs OutOfMemoryError for applications that cannot modify their schema.
Modified:
xerces/java/branches/xml-schema-1.1-dev/docs/xml-schema.xml
Modified: xerces/java/branches/xml-schema-1.1-dev/docs/xml-schema.xml
URL: http://svn.apache.org/viewvc/xerces/java/branches/xml-schema-1.1-dev/docs/xml-schema.xml?rev=787059&r1=787058&r2=787059&view=diff
==============================================================================
--- xerces/java/branches/xml-schema-1.1-dev/docs/xml-schema.xml (original)
+++ xerces/java/branches/xml-schema-1.1-dev/docs/xml-schema.xml Sun Jun 21 17:49:35 2009
@@ -67,7 +67,12 @@
<ul>
<li> For larger values of maxOccurs, an OutOfMemoryError may occur.
The workaround for this problem, if your application permits it,
- is to change the maxOccurs value to unbounded.</li>
+ is to change the maxOccurs value to unbounded. If you are unable to
+ change the schema you can configure Xerces-J so that it fails more
+ gracefully by enabling the JAXP secure processing feature. See the
+ Javadoc for javax.xml.XMLConstants.FEATURE_SECURE_PROCESSING for
+ more details.
+ </li>
</ul>
</s2>
<s2 title="Other Notes">
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org