-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where is the xsd file #1135
Comments
document is very old...
Try this. |
http://www.cloudslang.io/schema/score.xsd also results in a 404 error. |
Hi @ssrini, |
Also this issue has some steps on what I did to get it working: #1133 What exactly do you additionally need? |
Thank you @srinisubramanian for the response. I copied the xsd to the location : /CloudSlangDemo/src/main/resources/schema/score.xsd. <beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:score="file:/CloudSlangDemo/src/main/resources/schema/"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
file:/CloudSlangDemo/src/main/resources/schema
file:/CloudSlangDemo/src/main/resources/schema/score.xsd">
<bean class="io.cloudslang.lang.api.configuration.SlangSpringConfiguration"/>
<score:engine externalDatabase="true" />
<score:worker uuid="-1"/>
</beans>
Now I get this error: Any suggestion on how to resolve it? |
Looks like the schema file is not being found. Actually the xsd file is found in score-api.jar .. your dev setup probably needs adjustment to have a reference to it so it can be located In any case, if you do not want to use a http link but rather use a local file, this should work.
In the META-INF folder create a properties file called spring.schemas with the following content
And copy score.xsd to your src folder. If you are using Eclipse the error should now disappear |
While adding the score:engine/ declarations to the spring config xml, Eclipse shows errors and does not run due to both links resulting in 404 errors.
As a workaround I hosted the score.xsd internally (copied it from the GitHub repo) and referred that in my spring config.
Can the link http://www.cloudslang.io/schema/score/score.xsd be restored to working state please?
The text was updated successfully, but these errors were encountered: