Project

Profile

Help

No output after upgrading from 6.5.3 to 8.7

Added by Anonymous about 15 years ago

Legacy ID: #7196387 Legacy Poster: bbaggett2 (bbaggett2)

I have an application that currently uses Saxon 6.5.3. I want to upgrade to use xslt 2.0 functionality. However, when I move to using 8.7 (and I tried 9.1 also), I get the output file created, but it is a zero length file. I am using this via Java API. I am using se 1.5. I use DOMSource as the source, so I also include the saxon-dom jar for this support. I don't see any errors. It is almost like the serializer is not running or outputting anything. Any help is appreciated. Thanks. Bill


Replies (5)

Please register to reply

RE: No output after upgrading from 6.5.3 to 8.7 - Added by Anonymous about 15 years ago

Legacy ID: #7196523 Legacy Poster: Michael Kay (mhkay)

Try first to determine whether the problem is in your Java code or your XSLT code. For example, if the XSLT code produces output when using Saxon from the command line, then the problem is likely in your Java code; conversely, if it fails from the command line then the problem is in the XSLT. It might be something as simple as failing to close the output stream. Little details like whether Saxon closes the stream or leaves it to you to do so are likely to have changed over the years. Why are you moving to 8.7, as a matter of interest, rather than to 9.1? 8.7 is now quite an old release and not actively maintained.

RE: No output after upgrading from 6.5.3 to 8.7 - Added by Anonymous about 15 years ago

Legacy ID: #7196612 Legacy Poster: bbaggett2 (bbaggett2)

Thanks Michael. I'll try from the command line, and see what happens. I had thought that it might be something like not flushing/closing the output stream, I'll take a closer look again. The reason I was using 8.7 was because 9.1 wasn't available in the maven repositories. I downloaded and installed 9.1 to my local repository just to see if I got anything different, but didn't. I guess I should see how to get 9.1 in the maven repositories. Cheers. Bill

RE: No output after upgrading from 6.5.3 to 8.7 - Added by Anonymous about 15 years ago

Legacy ID: #7196689 Legacy Poster: Michael Kay (mhkay)

The copy of 8.7 in maven is unauthorised. Saxon includes components, e.g. Unicode libraries, that require certain legal notices to be included with any binary distribution. Maven is illegally distributing the binaries (i.e. the JAR files) without these notices.

RE: No output after upgrading from 6.5.3 to 8.7 - Added by Anonymous about 15 years ago

Legacy ID: #7198482 Legacy Poster: bbaggett2 (bbaggett2)

Thanks Michael. I'll try from the command line, and see what happens. I had thought that it might be something like not flushing/closing the output stream, I'll take a closer look again. The reason I was using 8.7 was because 9.1 wasn't available in the maven repositories. I downloaded and installed 9.1 to my local repository just to see if I got anything different, but didn't. I guess I should see how to get 9.1 in the maven repositories. Cheers. Bill

RE: No output after upgrading from 6.5.3 to 8.7 - Added by Anonymous over 14 years ago

Legacy ID: #7947408 Legacy Poster: Dan T. Tran (danttran)

how about add all notices to saxon.jar's META-INF/notices directory in would that good enough?

    (1-5/5)

    Please register to reply