Not sure how this is possible. I re-read up on getResourceAsStream and it\'s always returning null.
InputStream source = this.getClass().getResourceAsStream(
getResourceAsStream() is using the CLASSPATH, and as such it will load from wherever your classes are, not your source files.
getResourceAsStream()
I suspect you need to copy your XML to the same directory as your .class file.