cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonghe Yan (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2441) http-conf.xsd causes validation error in cxf.xml
Date Thu, 17 Sep 2009 20:42:57 GMT
http-conf.xsd causes validation error in cxf.xml
------------------------------------------------

                 Key: CXF-2441
                 URL: https://issues.apache.org/jira/browse/CXF-2441
             Project: CXF
          Issue Type: Bug
          Components: Resources
    Affects Versions: 2.2.3
         Environment: Spring-2.5.6, cxf-2.2.3
            Reporter: Yonghe Yan


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message