Hi
I want to perform XML Schema Validation using a XML-Schema stored in a File "MySchema.
xsd" in the classpath.
Unfortunately I have no clue, how I can load this file without using an absolute path. I already tried:
Thread.currentThead().getContextClassLoader().getRessourceAsStream()
but this method rejects to load Files with the extension XSD.It does however load the file, if I rename it to MySchema.
xml or MySchema.
properties, but then I cannot use the Visual Editors of JDeveloper to edit the File.
Has anyone an idea, how I can load a XSD-File stored in the classpath?
Thanks in advance
Frank Brandstetter