URIResolver object not called when Input file is in JarFile 2005-11-02 - By Henry Zongaro
Hi, Michael
"Michael Kelly Ml (BH/LMI)" <michael.ml.kelly@(protected)> wrote on 2005-11-01 08:14:33 AM: > here is the code I use to reslove the XML input file in the jar file: > > StreamSource stream= new StreamSource(this.getClass(). > getClassLoader().getResourceAsStream(fileName)); > > > Can anyone let me know why my URIResolver is not been called in thissituation. > > Please note > > It is called and works if I put the Input file on the local file and > use the following code to reslove it: > > StreamSource stream = new StreamSource(fileName);
I tried reproducing the problem you've described, but was unable to - my URIResolver was called in both situations.
Could I ask you to open a bug report for this problem so that we can investigate it further? Please supply a complete stylesheet, input documents and Java source that are needed to reproduce the problem. Also, please describe exactly how the jar file should be set up - or actually attaching a jar would be nice too.
Thanks,
Henry ------------------------------------------------------------------ Henry Zongaro Xalan development IBM SWS Toronto Lab T/L 969-6044; Phone +1 905 413-6044 mailto:zongaro@(protected)
|
|