Hi Sergey, Yes exactly, its working. (The other thread was big and i thought i's easier a new one for this detail) Yes, maybe im wrong but I have impression problem is only when moving to tomcat lib. When using absolute path to (c:/filexy) it works also in tomcat lib. Yes, slash im using i know about it. (I not use the snapshot, just the last version.)
Many thanks and greetings from zurich MAx Sergey Beryozkin-2 wrote: > > Hi > > It appears there's a problem with loading a schema? > As far as I remember you made the schema validation working, so has > something changed ? Was the bundle located in the WEB-INF/libs > originally and then it stopped working once you moved it to a /shared > (lib) Tomcat folder ? > At the moment, one needs to use "classpath:/" prefix, note the trailing > '/' and the actual schema resources have to be located in > WEB-INF/classes. > It's all been fixed on the trunk so one won't need to use a trailing > slash and resources like schemas/templates can be located directly under > WEB-INF, say in WEB-INF/schemas > > Cheers, Sergey > > > -----Original Message----- > From: javamustang [mailto:[email protected]] > Sent: 28 July 2009 08:11 > To: [email protected] > Subject: jaxrs Schemahandler inside tomcat lib folder > > > Hello, > > Could it be - that when the package cxf-bundle-jaxrs-2.2.2.jar is in > tomcat > lib-folder - a xsd File within the apllication-context can't be loaded > with > notation classpath:..? If not. how could it be done (absolute path, or > relative path url?...) > > Many thanks! MAx > > https://svn.apache.org/repos/asf/cxf/trunk/rt/frontend/jaxrs/src/main/ja > va/org/apache/cxf/jaxrs/utils/schemas/SchemaHandler.java > -- > View this message in context: > http://www.nabble.com/jaxrs-Schemahandler-inside-tomcat-lib-folder-tp246 > 93656p24693656.html > Sent from the cxf-user mailing list archive at Nabble.com. > > > -- View this message in context: http://www.nabble.com/jaxrs-Schemahandler-inside-tomcat-lib-folder-tp24693656p24696813.html Sent from the cxf-user mailing list archive at Nabble.com.
