You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Manfred Hantschel (JIRA)" <ji...@apache.org> on 2007/08/30 15:54:30 UTC

[jira] Created: (CXF-957) http://cxf.apache.org as referenced in any schema is not available

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.1, 2.0, 2.0-RC, 2.0-M1, 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.


Re: [jira] Commented: (CXF-957) http://cxf.apache.org as referenced in any schema is not available

Posted by Benson Margulies <bi...@gmail.com>.
It is a really bad idea to depend on reaching the apache web site in
production code. Using a catalog to bundle in the files you need is much
more reliable. Otherwise, your app is at the mercy of extraneous network
outages.

[jira] Commented: (CXF-957) http://cxf.apache.org as referenced in any schema is not available

Posted by "Manfred Hantschel (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Issue Comment Edited: (CXF-957) http://cxf.apache.org as referenced in any schema is not available

Posted by "Manfred Hantschel (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (CXF-957) http://cxf.apache.org as referenced in any schema is not available

Posted by "Wim Verreycken (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586069#action_12586069 ] 

Wim Verreycken commented on CXF-957:
------------------------------------

suggested solution : register the url cxf.apache.org (or any) pre release and put the gd xsd's there.
wtf's in a name?

if not, i'm keeping xf1 and i'll stop porting the sheiss.

very funny.

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


[jira] Commented: (CXF-957) http://cxf.apache.org as referenced in any schema is not available

Posted by "Varner_Reid@emc.com (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589703#action_12589703 ] 

Varner_Reid@emc.com commented on CXF-957:
-----------------------------------------

Daniel,

Can you tell me how soon the cxf.apache.org website will be up?  We have
a product release coming up soon and I'd like to do-away with my
workaround.

Thanks for your help,

Reid Varner
Software Engineer
EMC Corporation



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


[jira] Issue Comment Edited: (CXF-957) http://cxf.apache.org as referenced in any schema is not available

Posted by "Varner_Reid@emc.com (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589703#action_12589703 ] 

varner_reid@emc.com edited comment on CXF-957 at 4/16/08 12:39 PM:
-------------------------------------------------------------------

Daniel,

Can you tell me how soon the cxf.apache.org website will be up?  We have
a product release coming up soon and I'd like to do-away with my
workaround.

Thanks,

Reid


      was (Author: varner_reid@emc.com):
    Daniel,

Can you tell me how soon the cxf.apache.org website will be up?  We have
a product release coming up soon and I'd like to do-away with my
workaround.

Thanks for your help,

Reid Varner
Software Engineer
EMC Corporation


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


[jira] Commented: (CXF-957) http://cxf.apache.org as referenced in any schema is not available

Posted by "Manfred Hantschel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524441 ] 

Manfred Hantschel commented on CXF-957:
---------------------------------------

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.


[jira] Commented: (CXF-957) http://cxf.apache.org as referenced in any schema is not available

Posted by "Glen Mazza (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523894 ] 

Glen Mazza commented on CXF-957:
--------------------------------

AFAIK there is no requirement for a Schema URI to resolve to an HTTP URL.

Glen

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


[jira] Commented: (CXF-957) http://cxf.apache.org as referenced in any schema is not available

Posted by "Glen Mazza (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524583 ] 

Glen Mazza commented on CXF-957:
--------------------------------

I believe this is just a temporary problem until CXF leaves incubator status--then we can create the http://cxf.apache.org URL.  I supplied a patch to make this change about two months ago, because we were using another company's URI.  What do you see as a good solution until CXF gets the new URL?  Can we place the schemas in the same directory as those various files, and change the schemaLocation to "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.


[jira] Commented: (CXF-957) http://cxf.apache.org as referenced in any schema is not available

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589696#action_12589696 ] 

Daniel Kulp commented on CXF-957:
---------------------------------


FYI: now that CXF has officially graduated, the cxf.apache.org domain will be established and our website moved there.   At that point, we can get the schemas available at the correct location.



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


[jira] Commented: (CXF-957) http://cxf.apache.org as referenced in any schema is not available

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589706#action_12589706 ] 

Daniel Kulp commented on CXF-957:
---------------------------------


Honestly, I don't know.   It's completely in the hands of the Apache infrastructure team, which, keep in mind, is mostly volunteer individuals.   I've seen such requests take anywhere from a few hours to a few weeks.   :-(     The request has been made, I just don't know how long it will take.

Dan


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