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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.3
    • 2.2.4
    • Resources
    • None
    • Spring-2.5.6, cxf-2.2.3

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: