[
https://issues.apache.org/jira/browse/CXF-7845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16616778#comment-16616778
]
Zhongjian Li commented on CXF-7845:
-----------------------------------
I tried both cxf 3.1.16 and 3.2.6. They throw the same exceptions. The CXF
3.2.6 stack trace:
[9/14/18 9:46:08:617 MDT] 0000009d SystemErr R Caused by:
javax.xml.parsers.ParserConfigurationException: jaxp_feature_not_supported:
Feature "http://apache.org/xml/features/disallow-doctype-decl" is not supported.
[9/14/18 9:46:08:617 MDT] 0000009d SystemErr R at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.setFeature(Unknown
Source)
[9/14/18 9:46:08:617 MDT] 0000009d SystemErr R at
org.apache.cxf.helpers.DOMUtils.getDocumentBuilder(DOMUtils.java:123)
[9/14/18 9:46:08:617 MDT] 0000009d SystemErr R at
org.apache.cxf.helpers.DOMUtils.createDocument(DOMUtils.java:163)
> Feature "http://apache.org/xml/features/disallow-doctype-decl" is not
> supported.
> --------------------------------------------------------------------------------
>
> Key: CXF-7845
> URL: https://issues.apache.org/jira/browse/CXF-7845
> Project: CXF
> Issue Type: Bug
> Components: Core
> Affects Versions: 3.2.6
> Reporter: Zhongjian Li
> Assignee: Freeman Fang
> Priority: Major
> Fix For: 3.2.6
>
> Attachments: bug.jpg
>
>
> my app at runtime references cxf-core-3.2.6.jar,
> cxf-rt-bindings-soap-3.2.6.jar, cxf-rt-frontend-jaxws-3.2.6.jar,
> cxf-rt-frontend-simple-3.2.6.jar, cxf-rt-ws-security-3.2.6.jar.jar. It throws
> "Feature 'http://apache.org/xml/features/disallow-doctype-decl' is not
> supported":
>
> [9/14/18 17:11:57:052 MDT] 0000006e SystemErr R java.lang.RuntimeException:
> javax.xml.parsers.ParserConfigurationException: jaxp_feature_not_supported:
> Feature "http://apache.org/xml/features/disallow-doctype-decl" is not
> supported.
> [9/14/18 17:11:57:053 MDT] 0000006e SystemErr R at
> org.apache.cxf.helpers.DOMUtils.createDocument(DOMUtils.java:125)
> [9/14/18 17:11:57:053 MDT] 0000006e SystemErr R at
> org.apache.cxf.helpers.DOMUtils.newDocument(DOMUtils.java:119)
> [9/14/18 17:11:57:053 MDT] 0000006e SystemErr R at
> org.apache.cxf.staxutils.W3CDOMStreamWriter.<init>(W3CDOMStreamWriter.java:49)
> [9/14/18 17:11:57:053 MDT] 0000006e SystemErr R at
> org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:656)
> [9/14/18 17:11:57:074 MDT] 0000006e SystemErr R at
> org.apache.cxf.databinding.AbstractDataBinding.copy(AbstractDataBinding.java:235)
> [9/14/18 17:11:57:074 MDT] 0000006e SystemErr R at
> org.apache.cxf.databinding.AbstractDataBinding.addSchemaDocument(AbstractDataBinding.java:166)
> [9/14/18 17:11:57:075 MDT] 0000006e SystemErr R at
> org.apache.cxf.databinding.AbstractDataBinding.addSchemaDocument(AbstractDataBinding.java:96)
> [9/14/18 17:11:57:075 MDT] 0000006e SystemErr R at
> org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:391)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)