What is the path you pass to getResourceAsStream, and the path to your xsd file within your jar? At this point, it might help to post an SSCCE that demonstrates this issue.
Type: Posts; User: copeg
What is the path you pass to getResourceAsStream, and the path to your xsd file within your jar? At this point, it might help to post an SSCCE that demonstrates this issue.
Is the resource packaged into the jar (you can unpack the jar and look)? Eclipse automatically does this for you...if you are using ant you must make sure all the necessary files are packaged...
What exception do you get when you try to run the jar? Does your manifest file specify the main class? See the following:
Lesson: Packaging Programs in JAR Files (The Java™ Tutorials > Deployment)