Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7845

Feature "http://apache.org/xml/features/disallow-doctype-decl" is not supported.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 3.2.6
    • Fix Version/s: 3.2.6
    • Component/s: Core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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)

        Attachments

        1. bug.jpg
          2.04 MB
          Zhongjian Li

          Activity

            People

            • Assignee:
              ffang Freeman Yue Fang
              Reporter:
              zhongjian.li@zionsbancorp.com Zhongjian Li
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: