cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manfred Hantschel (JIRA)" <>
Subject [jira] Commented: (CXF-957) as referenced in any schema is not available
Date Tue, 04 Sep 2007 06:56:57 GMT


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="" 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 "" and change the imports according to this. Drawback:
someone has to remember it until the new URL is available and fix this.


> as referenced in any schema is not available
> ------------------------------------------------------------------
>                 Key: CXF-957
>                 URL:
>             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
> is not available. The DNS cannot resolve the hostname. This is
no issue that is restricted to my nameserver. I have tried multiple and 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.

View raw message