Hi there.

> > I have the same problem.  The setSystemID seems to
> > work for only the first source sheet.  Any stylesheets
> > imported in this sheet go back to the working
> > directory even if you use setSystemID.
> >
> > would appreciate any answers as well.
> 
> That's the first I've heard of this.  If true, it's a very
> bad bug indeed. Can you send me a small replication of this?

First of all, thx for the hint. It works now for me setting the 
path.
But I was also curious if I can reproduce Sandeep's problem. 
Answer is no. I attached the java file as well as two stylesheets 
and three xml files. Move the xml and xsl files into a subfolder 
called "1" (as they are referenced from within the app). You have
this structure now:

Xalan2Test.java
1/in.xml
1/addon.xml
1/style.xsl
1/style2.xsl

Compile and run the app. If the system id setting works properly, 
you get sth like this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<out>
  Hello, I was input and should become output
  <addon>Hello, I am addon data</addon>
  <style2>
    This text is added by the imported stylesheet 2
  </style2>
</out>

Regards.

--
Bjoern Martin                                [EMAIL PROTECTED]
<?xml version="1.0" encoding="iso-8859-1"?>
<addon>Hello, I am addon data</addon>

style.xsl

<?xml version="1.0" encoding="iso-8859-1"?>
<in>Hello, I was input and should become output</in>

style2.xsl

Xalan2Test.java

Reply via email to