You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Neeme Praks <ne...@one.lv> on 2001/05/13 21:49:45 UTC

XalanJ 1 vs 2

Is there some reason for not including the most recent Xalan with Batik?
And also a reason for using Crimson over Xerces?

I started to play around with recently commited XSLT stylesheets and Xalan1
(the one that comes with Batik) fails to transform these properly (bug with
rounding off some multiplications)... But Xalan2 works fine...

So, could we upgrade to Xalan2?

Neeme


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


Re: additions to XSL stylesheets

Posted by Vincent Hardy <vh...@eng.sun.com>.
Neeme,

I am not able to read the attached files (ms-tnef MIME type). Could 
you resend it is a zip or a tar? I am not sure if you wanted us to add 
your batch files to the distribution or if your post on the maining 
list is what you wanted? If you want us to add them to the distribution,
I think it would be better to have the equivalent shell scripts so that
the UNIX users do not feel left out :-)

Thanks.
Vincent.

Neeme Praks wrote:
> 
> I created a BAT file "system" for easing the transformation with these
> example XSLT stylesheets (files attached). There should also be an output
> dir with name "out".
> 
> Also removed XSLT extension dependencies to Lotus XSLT processor and made
> them dependent on Xalan instead (diff below).
> 
> Currently looking into separating the chart style and chart data...
> 
> Neeme
> 
> Index: pie.xsl
> ===================================================================
> RCS file: /home/cvspublic/xml-batik/contrib/charts/xsl/pie.xsl,v
> retrieving revision 1.1
> diff -r1.1 pie.xsl
> 22c22
> <       xmlns:math="http://xsl.lotus.com/java">
> ---
> >       xmlns:math="http://xml.apache.org/xslt/java">
> 
>   ------------------------------------------------------------------------
>                   Name: winmail.dat
>    winmail.dat    Type: application/ms-tnef
>               Encoding: base64
> 
>   ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


RE: additions to XSL stylesheets

Posted by John Morrison <jo...@ntlworld.com>.
Thanks for taking this on.  I've too much at work and personally to follow
these up atm.

I always had in mind that the data and chart style info would be seperate -
I just didn't quite get the design right in my head.

I used Cocoon for the transformations - the batch file is a welcome
enhancement.

J.

> -----Original Message-----
> From: Neeme Praks [mailto:neeme.praks@one.lv]
> Sent: Monday, 14 May 2001 9:09 am
> To: batik-dev@xml.apache.org
> Subject: additions to XSL stylesheets
> 
> 
> 
> I created a BAT file "system" for easing the transformation with 
> these example XSLT stylesheets (files attached). There should 
> also be an output dir with name "out".
> 
> Also removed XSLT extension dependencies to Lotus XSLT processor 
> and made them dependent on Xalan instead (diff below).
> 
> Currently looking into separating the chart style and chart data...
> 
> Neeme
> 
> Index: pie.xsl
> ===================================================================
> RCS file: /home/cvspublic/xml-batik/contrib/charts/xsl/pie.xsl,v
> retrieving revision 1.1
> diff -r1.1 pie.xsl
> 22c22
> < 	xmlns:math="http://xsl.lotus.com/java">
> ---
> > 	xmlns:math="http://xml.apache.org/xslt/java">
> 

additions to XSL stylesheets

Posted by Neeme Praks <ne...@one.lv>.
I created a BAT file "system" for easing the transformation with these
example XSLT stylesheets (files attached). There should also be an output
dir with name "out".

Also removed XSLT extension dependencies to Lotus XSLT processor and made
them dependent on Xalan instead (diff below).

Currently looking into separating the chart style and chart data...

Neeme

Index: pie.xsl
===================================================================
RCS file: /home/cvspublic/xml-batik/contrib/charts/xsl/pie.xsl,v
retrieving revision 1.1
diff -r1.1 pie.xsl
22c22
< 	xmlns:math="http://xsl.lotus.com/java">
---
> 	xmlns:math="http://xml.apache.org/xslt/java">

Re: XalanJ 1 vs 2

Posted by Vincent Hardy <vh...@eng.sun.com>.
Neeme,

Thanks for bringing that up. I agree we should probably update but I
will wait to see what Stephane thinks. In the meanwhile, and so we
make sure to keep track of it, I have entered a bug in Bugzilla (no,
no, Bugzilla is not my favorite past time, but it helps tracking
things :-) : #1736.

For the choice of parser, I think Thierry and Stephane could tell you
what their benchmarks were, which is what drove the choice. However,
the parser can be easily changed to be whatever you like and we 
actually updated that recently. By default, modules in Batik will 
use the same parser and there is a central location where that can
be changed (org.apache.batik.util.XMLResourceDescriptor). However,
you can typically specify the parser on a per-module basis (e.g., you
can choose to use one parser for the Transcoders and another one
for the viewer). 

V.


Neeme Praks wrote:
> 
> Is there some reason for not including the most recent Xalan with Batik?
> And also a reason for using Crimson over Xerces?
> 
> I started to play around with recently commited XSLT stylesheets and Xalan1
> (the one that comes with Batik) fails to transform these properly (bug with
> rounding off some multiplications)... But Xalan2 works fine...
> 
> So, could we upgrade to Xalan2?
> 
> Neeme
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: batik-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org


Re: XalanJ 1 vs 2

Posted by Stephane Hillion <St...@sophia.inria.fr>.
On Sunday 13 May 2001 21:49, Neeme Praks wrote:
> So, could we upgrade to Xalan2?

This is done.
Note that Xalan is not used by Batik but by Stylebook, the tool used to 
generate the web site. So it is not sure we will always be able to provide 
the latest version of Xalan in Batik developer's distribution.
--
  Stephane.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org