cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-1980) XML Validation in offline fails due to missing cxf-beans.xsd in distro
Date Thu, 22 Jan 2009 18:27:59 GMT

     [ https://issues.apache.org/jira/browse/CXF-1980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp resolved CXF-1980.
------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.2)
                   2.1.4
                   2.0.10

> XML Validation in offline fails due to missing cxf-beans.xsd in distro
> ----------------------------------------------------------------------
>
>                 Key: CXF-1980
>                 URL: https://issues.apache.org/jira/browse/CXF-1980
>             Project: CXF
>          Issue Type: Bug
>          Components: Resources
>    Affects Versions: 2.2
>            Reporter: Andrzej Michalec
>            Assignee: Daniel Kulp
>             Fix For: 2.0.10, 2.1.4
>
>
> Validation of Spring config fails when XML parser cannot reach schema online:
> ...
> 2009-01-14 13:02:07,968 [main] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader
 - Loading XML bean definitions from ServletContext resource [/WEB-INF/beans.xml]
> 2009-01-14 13:02:08,703 [main] WARN  org.springframework.beans.factory.xml.XmlBeanDefinitionReader
 - Ignored XML validation warning
> org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://cxf.apache.org/schemas/configuration/cxf-beans.xsd',
because 1) could not find the document; 2) the document could not be read; 3) the root element
of the document is not <xsd:schema>.
> 	at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
> 	at org.apache.xerces.util.ErrorHandlerWrapper.warning(Unknown Source)
> ...
> Comparing versions 2.1.3 and 2.2 is seems that:
> 1. in cxf-2.2*.jar!/schemas/configuration/cxf-beans.xsd is missing
> 2. in cxf-2.2*.jar!/META-INF/spring.schemas mapping entry is missing
> It is not possible to apply client-side fix (introducing spring.schemas in client application)
so CXF must be fixed.
> I guess it is build problem, however temporarily I do not have time to checkout code,
fix build and apply patch :/
> cheers,
> andy.

-- 
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