Well, the trouble is, I'm using XML::Xalan, so I'm having trouble tracking
down exactly what the difference is. I've not done a lot with Perl's XS
interfaces to other languages, so I'm not exactly sure which C++ function
is getting called and what is getting passed to it.

My perl looks like this:

---------------------------------------------------------------------------
#!/usr/bin/perl

use strict;
use XML::Xalan;

my $tr = new XML::Xalan::Transformer;

my( $xml, $xsl, $html ) = @ARGV;

my $parsed = $tr->parse_file( $xml );
my $compiled = $tr->compile_stylesheet_file( $xsl );

my $res = $tr->transform_to_file( $parsed, $compiled, $html )
        or die $tr->errstr;
---------------------------------------------------------------------------

If I change that last line to

my $res = $tr->transform_to_data( $parsed, $compiled )
        or die $tr-errstr;

then I get the aforementioned assertion.

-tfo

On Mon, May 12, 2003 at 02:37:32PM -0700, [EMAIL PROTECTED] wrote:
> Hi Thomas,
> 
> Looks like a bug.  Can you post the snippet of code where you're calling
> the XalanTransformer instance, and include all of the relevant code you're
> using to construct the XSLTResultTarget?
> 
> Thanks!
> 
> Dave

Reply via email to