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

http-conf.xsd causes validation error in cxf.xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.3
    • Fix Version/s: 2.2.4
    • Component/s: Resources
    • Labels:
      None
    • Environment:

      Spring-2.5.6, cxf-2.2.3

    • Estimated Complexity:
      Novice

      Description

      Eclipse reports the following cxf.xml is not valid:

      <beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws"
      xmlns:http="http://cxf.apache.org/transports/http/configuration"
      xsi:schemaLocation="
      http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
      http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
      http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd">

      <import resource="classpath:META-INF/cxf/cxf.xml" />
      <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
      <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />

      <http:conduit></http:conduit>

      </beans>

      The error is caused by the http-conf.xsd since it imports spring-beans-2.0.xsd. If http-conf.xsd just import spring-bean.xsd, the bug can be fixed and the cxf.xml becomes valid.

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              yan.yonghe@gmail.com Yonghe Yan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: