Yes, the return value is indeed null. Shouldn't the Configuration jar file contain the dtd
file already? I couldn't locate it in the jar after inspecting it.
Thanks,
Ashkan
----- Original Message ----
From: Emmanuel Bourg <ebourg@apache.org>
To: Jakarta Commons Users List <user@commons.apache.org>
Sent: Friday, February 15, 2008 5:08:30 PM
Subject: Re: Commons Configuration
It
seems
there
is
an
issue
with
the
DTD
validation.
What's
the
result
of
this
line
in
your
test
class
?
getClass().getClassLoader().getResource("PropertyList-1.0.dtd")
Does
it
return
a
null
value
?
Emmanuel
Bourg
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
|