Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


Validating Against Schema in a Jar File


  • Anonymous

    I want to use a schema from a JAR file with mxquery.  The way I do this appears to be Context.addSchemaLocation… but this takes a string as input, and my schema is in the JAR file.  I found this post that suggests I do this: http://marc.info/?l=xerces-j-user&m=108370270512800&w=2

    This leaves me with the question of how to find the path to the currently executing JAR file… or even better, maybe I can just pass the schema via a Reader or something into the mxquery call?