[jdom-interest] no parser on classpath but things work... I can't
explain this... canyou?
jhunter at acm.org
Fri Jul 27 18:02:39 PDT 2001
Martin Bravenboer wrote:
> > what I can't figure out is why does this work when jdom.jar is the only
> > jar on the classpath? I'm certain that I'm not picking up any other
> > parser 'cause when I take jdom off things fail. I checked the jdom.jar
> > and can't see any parser packages in there... so what magic is JDOM
> > doing to make this work?
> :-) In the manifest of jdom.jar, xerces.jar is included in the search-path.
I'm writing this at an airport, so I can't check the docs, but I suspect
search-path would only have an effect when you do "jdom -jar jdom.jar"
but not when jdom.jar is just in the classpath. It doesn't seem "right"
that including various JARs would implicit include their search-path
More information about the jdom-interest