Author: richard.opalka(a)jboss.com
Date: 2009-04-29 01:02:29 -0400 (Wed, 29 Apr 2009)
New Revision: 9912
Modified:
common/trunk/src/main/java/org/jboss/wsf/common/DOMUtils.java
Log:
[JBWS-1582] cannot disable DOCTYPE declarations because DOMUtils code is highly reused in
both Metadata and SOAP message processing layer
Modified: common/trunk/src/main/java/org/jboss/wsf/common/DOMUtils.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/common/DOMUtils.java 2009-04-28 17:38:11 UTC
(rev 9911)
+++ common/trunk/src/main/java/org/jboss/wsf/common/DOMUtils.java 2009-04-29 05:02:29 UTC
(rev 9912)
@@ -88,7 +88,6 @@
try
{
factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
- factory.setFeature(DISALLOW_DOCTYPE_DECL_FEATURE, true);
if (Boolean.getBoolean(DISABLE_DEFERRED_NODE_EXPANSION))
{
factory.setFeature(DEFER_NODE_EXPANSION_FEATURE, false);