[
https://issues.apache.org/jira/browse/CXF-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524441
]
thred edited comment on CXF-957 at 9/2/07 11:00 PM:
----------------------------------------------------------------
This is correct. It does not resolve the URI of the schema, but there are
schema imports like this one in the jaxws.xsd file:
<xsd:import namespace="http://cxf.apache.org/configuration/beans"
schemaLocation="http://cxf.apache.org/schemas/configuration/cxf-beans.xsd"/>
To execute this import it tries to request the schemaLocation URL
"http://cxf.apache.org/schemas/configuration/cxf-beans.xsd" but can't reslove
it.
Such schemaLocations are in nearly all of the xsd files. The only workaround
for this is to copy the needed schemas to your own project and replace the
schemaLocations with something like:
...schemaLocation="classpath:xsd/cxf-beans.xsd"
Manfred
was (Author: thred):
This is correct. It does not resolve the URI of the schema, but there are
schema imports like this one in the jaxws.xsd file:
<xsd:import namespace="http://cxf.apache.org/configuration/beans"
schemaLocation="http://cxf.apache.org/schemas/configuration/cxf-beans.xsd"/>
To execute this import it tries to request the schemaLocation URL
"http://cxf.apache.org/schemas/configuration/cxf-beans.xsd" but can't reslove
it.
Such schemaLocations are in nearly all of the xsd files. The only workaround
for this is to copy the needed schemas to your own project and replace the
schemaLocations with something like:
...schemaLocation="classpath:xsd/cxf-beans.xsd"
> http://cxf.apache.org as referenced in any schema is not available
> ------------------------------------------------------------------
>
> Key: CXF-957
> URL: https://issues.apache.org/jira/browse/CXF-957
> Project: CXF
> Issue Type: Bug
> Components: Resources
> Affects Versions: 2.0-M1, 2.0-RC, 2.0, 2.0.1, 2.0.2, 2.1
> Reporter: Manfred Hantschel
>
> http://cxf.apache.org is not available. The DNS cannot resolve the hostname.
> This is no issue that is restricted to my nameserver. I have tried multiple
> and apache.org is available.
> This url is referenced in numerous .xsd files which makes it impossible to
> use the schemas.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.