Andy Clark wrote:

> I'm able to duplicate your problem. The strange thing, though,
> is that most of it works if I recompile the sources contained
> in the ZIP file and use *those* instead of the Jar files
> bundled with the ZIP. However, printing the DTD for an XML
> file with its grammar specified in XML Schema gives the
> NullPointerException you mention.

Andy, the interesting thing from my side is that I *do* get the error with 
recompiled sources (I had to recompile with the changed static variable in 
order to get a decent stack trace).  However, since I was too lazy to change my 
CLASSPATH, I used JAR to
build a replacement XERCES.JAR file from the new class files, and renamed the 
distribution one.  So it looks like the problem occurs only when the code is 
pulled from a JAR file in the classpath.  That's odd, but I had a harder time 
believing that the
DOMParser couldn't parse the file being sent out as a sample !  If it works in 
a classfile (i.e. development) environment, that explains how it wouldn't have 
occurred in testing.

Reply via email to