Dmitri Toubelis wrote:
> Does anybody knows an easy way to include schema from jar file into
> xml document. It seems like java URL doesn't work for that.

Use an EntityResolver that returns an InputSource created
from getClass().getResourceAsStream("..."). Or use getClass().
getClassLoader().getSystemResourceAsStream("...") if you want
to retrieve the resource from any place in the classpath.

-- 
Andy Clark * IBM, TRL - Japan * [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to