Hi Thomas,

It looks like our C API wrapped in Perl.  Can you send the URL for where
you got the code?

Also, there's no need to send email directly to my address -- posting to
the list is sufficient.

Thanks!

Dave



                                                                                
                                                         
                      "Thomas F.                                                
                                                         
                      O'Connell"               To:      [EMAIL PROTECTED]       
                                                
                      <[EMAIL PROTECTED]         cc:      
xalan-c-users@xml.apache.org, (bcc: David N Bertoni/Cambridge/IBM)              
 
                      com>                     Subject: Re: transforming to 
data causing assertion failure                               
                                                                                
                                                         
                      05/14/2003 03:15                                          
                                                         
                      PM                                                        
                                                         
                                                                                
                                                         



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