You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Yonghe Yan (JIRA)" <ji...@apache.org> on 2009/09/17 22:42:57 UTC

[jira] Created: (CXF-2441) http-conf.xsd causes validation error in cxf.xml

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.


[jira] Resolved: (CXF-2441) http-conf.xsd causes validation error in cxf.xml

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2441.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.4
         Assignee: Daniel Kulp

> 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
>            Assignee: Daniel Kulp
>             Fix For: 2.2.4
>
>
> 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.