You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Michael Marr <ec...@gmail.com> on 2007/07/09 10:53:12 UTC

[Orchestra] location of orchestra.xsd

Hi,

during startup I get the following warning 
WARN [main] (SimpleSaxErrorHandler.java:47) - Ignored XML validation warning
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema
document '/META-INF/orchestra.xsd'

Somehow the orchestra.xsd is not found. It does not stop orchestra from
working though, just a warning. 

Spring itself uses the following pattern for handling namespaces:
xsi:schemaLocation="http://www.springframework.org/schema/lang
http://www.springframework.org/schema/lang/spring-lang-2.0.xsd"

spring.schemas :
http\://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd  

The xsd file is then located in the classpath.
Would it make sense for orchestra to do the same?

Thanks 
Michael

-- 
View this message in context: http://www.nabble.com/-Orchestra--location-of-orchestra.xsd-tf4047999.html#a11498142
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: [Orchestra] location of orchestra.xsd

Posted by Mario Ivankovits <ma...@ops.co.at>.
Hi Michael!
> Spring itself uses the following pattern for handling namespaces:
> xsi:schemaLocation="http://www.springframework.org/schema/lang
> http://www.springframework.org/schema/lang/spring-lang-2.0.xsd"
>
> spring.schemas :
> http\://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd  
>
> The xsd file is then located in the classpath.
> Would it make sense for orchestra to do the same?
>   
Yes, definitely. I've seen the warning too, just neglected to fix it :-)
Thanks for the hints, I'll try to fix it the same way ... or send a
patch if you have some time ;-)

Ciao,
Mario