Hi,
I am using the Saxon processor for java to transform an XML into HTML. The
XSL expects the user to provide two parameter values as command line
arguments to Saxon. So, my call to Saxon is something like this:
java net.sf.saxon.Transform -o report.html report.xml report.xsl
param1=val1 param2=val2
The values val1 and val2 are inputs in an HTML form and would be available
at run-time in a CGI perl script. Once I get these values, I basically want
to call Saxon as above to perform the transformation. I am trying to use the
'system' command inside the CGI perl script but it doesn't work - I am
seeing the following error in the webserver error logs:
*** glibc detected *** java: free(): invalid pointer: 0xbfc7cbb8 ***,
referer: http://localhost/cgi-bin/report.cgi
I do set the correct CLASSPATH inside the CGI script.
Would appreciate any help with the above issue and/or other cleaner
solutions.
PS: Before I started requiring command line arguments, I used to do this by
just referring to the XSL stylesheet from within the XML document and my
browser did the transformation.
Thanks,
Bhaskar
_________________________________________________________________
Real Estate classifieds on MSN - for free.www.yello.in
http://www.yello.in/home.php?utm_source=hotmailtag&utm_medium=email&utm_content=in&utm_campaign=jun
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--