Author: jim.ma
Date: 2011-07-12 01:23:56 -0400 (Tue, 12 Jul 2011)
New Revision: 14676
Modified:
common/branches/jbossws-common-1.0.0.GA_CP/src/main/java/org/jboss/wsf/common/DOMUtils.java
Log:
[JBPAPP-6247]:correct the previous fix
Modified:
common/branches/jbossws-common-1.0.0.GA_CP/src/main/java/org/jboss/wsf/common/DOMUtils.java
===================================================================
---
common/branches/jbossws-common-1.0.0.GA_CP/src/main/java/org/jboss/wsf/common/DOMUtils.java 2011-07-12
05:02:15 UTC (rev 14675)
+++
common/branches/jbossws-common-1.0.0.GA_CP/src/main/java/org/jboss/wsf/common/DOMUtils.java 2011-07-12
05:23:56 UTC (rev 14676)
@@ -97,7 +97,7 @@
factory.setFeature(DEFER_NODE_EXPANSION_FEATURE, false);
}
- if (Boolean.getBoolean(ENABLE_DOCTYPE_DECL))
+ if (!Boolean.getBoolean(ENABLE_DOCTYPE_DECL))
{
factory.setFeature(DISALLOW_DOCTYPE_DECL_FEATURE, true);
}