Schemas are loaded as resources. Therefore they have to be in the build path, i.e. if you are using eclipse add the folders containing your xsd files to the build path. This should fix your problem. Please do a cvs update and regenerate the code, I made some small changes to the templates.
++ basil Nikos Zarokostas wrote: > Hello, > > i have been successfully using LTKJava (compiled from sources checked > out from the llrp-toolkit project on sourceforge) without the Impinj > extensions in order to communicate with the Speedway reader. When i > compiled LTKJava with the Impinj extensions (edited > generator.properties) i had the following problem: << > org.llrp.ltk.exceptions.InvalidLLRPMessageException: LTK XML message > can not be validated against schema ../Definitions/Core/llrp-1x0.xsd > >> for all messages, both LLRP core and custom ones. The file > Definitions/Core/llrp-1x0.xsd is located where it should be since the > same code using LTKJava_with_dep_0_1_0-SNAPSHOT.jar without the Impinj > extensions works. > > Any help is greatly appreciated > Nikos Zarokostas > Software Engineer > Sensap Microsystems > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > ------------------------------------------------------------------------ > > _______________________________________________ > llrp-toolkit-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ llrp-toolkit-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel
