[ 
https://issues.apache.org/jira/browse/CXF-7845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16619865#comment-16619865
 ] 

Freeman Fang commented on CXF-7845:
-----------------------------------

You should firstly check if websphere itself already has xerces-impl and 
xml-api jar in it's classpath when you launch websphere. Besides, I don't think 
this is a cxf issue, you should post such question on websphere forum.

I will close this issue. Btw, if you have questions(not sure if a bug) when 
using CXF, cxf-dev mailing list probably is a better place to ask rather than 
raising jira ticket.

Thanks!

> 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)

Reply via email to