[
https://issues.apache.org/jira/browse/CXF-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524630
]
Manfred Hantschel commented on CXF-957:
---------------------------------------
Thanks for you quick response!
I have just tried a relative URL in the schema location and it works, so this
would be a solution. I have tried this on the two files i have in my project
(jaxws.xsd and cxf-beans.xsd). In your case this means that you have to copy
all the schemas to the same path. Could get messy.
Prior to the relative path i had a classpath reference in the jaxws.xsd file,
which looks like the following:
<xsd:import namespace="http://cxf.apache.org/configuration/beans"
schemaLocation="classpath:schemas/configuration/cxf-beans.xsd"/>
But changing all the locations to the classpath reference wont be a good
solution. The XSD files would only be valid for java parsers which can resolve
the "classpath:" protocol and I'm not even sure that this works with all the
xml parsers available in Java.
Another solution, and the best one i think, would be to make the XSD files
available at the current URL "http://incubator.apache.org/cxf/" and change the
imports according to this. Drawback: someone has to remember it until the new
URL is available and fix this.
Manfred
> 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.