Subjects
Home
Xalan extension functions
Fomatting question serializing DOM with pretty print
xalan with pull parser
Cannot find the declaration
Apache Xalan drop support to run on JRE 1 1 x
Why does Doctype change processing of a document
Node set to XML string via Java extensions in Xalan J: possible?
Templates/Transformers + thread safety???
Problem evaluating xpath with muliple prefix with different namespace
remove an arbitrary attribute from xsl output
Xalan3 XSLT 2 0 XPath 2 0 support?
Problem using compiled translets with Xalan !!
Xalan and jstl 1 1 problem with transform tag
NullPointer in DOM2DTM getLocalName
URIResolvers base parameter with xsltc and cascaded imports
Performance problem for Xalan J on intel dual core
Standard libraries in JAXP?
Serializing a DOM tree to XML file, customize entities replacement
Library Conflict Involving BCEL Library
A question on how users are using <xsl:message >
Kevin Cormier as a new Apache Xalan J committer
Struggling to iterate over tokenized string
Xalan count() trouble
Problem with recursive xpath
Error when switching to java 1 5
document( ' ')
Problem with Xalan2 7 0 transformation
cr/lf options
entity encoded XML
can xalan transform 2 xml using one xslt?
Xalan J JIRA defect review Monday October 16, 2006 from 2:00 to 3:30 pm ED
xsl transform with cdata section elements
xslt parameters not expanded
Weird behavior of XPath evaluate()
How to avoid <xsl:message > instruction prints stylesheet file informations ?
Cannot find SimpleTransform subdirectory after installing Xalan J
recover from document not found exceptions
jdk1 5 and Xalan jar differences?
Performance Issue
Error/Bug adding floating point numbers
XPathAPI: eval exp using nodes with default namespace
modifying xalan to output invalid XML
NullPointerException
mege two separate xml nodes into one
Is this a XALAN document identification bug?
is StylesheetRoot really java io Serializable ?
transform() fails for DOMSource but succeeds for StreamSource
Thoughts on Transformer parameter passing
HELP, Xalan and jstl 1 1 problem with transformer
Problem with XPath namespace axis?
string utils:replace deleting search string if replacement string is an HTML
help with enumeration values pls
xalan 2 5 1 vs 2 7 performance question
How to insert/update in XML document
HTML Serialization and Handling of Ampersands in HREF Attributes
XHTML link tag stripping
SystemId Unknown; Line #24; Column #49; java lang NullPointerException
xpath text() help
Apostrophe problem with xalan 2 7 0
How to set variables in XML document?
Links
Home
Oracle database error code ...
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Getting / Building / Testing the latest Xalan-J

Getting / Building / Testing the latest Xalan-J

2006-10-28       - By Brian Minchau

Todie,
yes the link pointing to the latest code is wrong on our website (will be
fixed in 2.7.1 release).

You can look at the code with either of these links in your browser:
http://svn.apache.org/repos/asf/xalan/
http://svn.apache.org/viewvc/xalan/

The java/trunk and test/trunk subdirectories are the ones with the latest
development code.
The second link, with "viewvc" in it is slightly prettier.

However, to really download the code you need a subversion client and
anonymous access.
You can find pre-built binaries of subversion clients for different
operating systems here:
http://subversion.tigris.org/project_packages.html#binary-packages

The command line with "svn" (the client) to get the latest Xalan-J on
Windows is then
something like this:
       svn checkout http://svn.apache.org/repos/asf/xalan/java/trunk
D:\temp5\java
which checks out a copy of the code into local directory D:\temp5\java

Similarly for the test harness (if you want that, but don't need it to
download/build the latest Xalan-J)
      svn checkout http://svn.apache.org/repos/asf/xalan/test/trunk
D:\temp5\test

Those two commands will put a copy of the latest parts in the local
directories "java" and "test",
which are sibling directories with both having parent "D:\temp5".  If you
want to test your build with
the test harness provided with Xalan then it is easiest if you keep the
local directory names
as I suggest.

With your paths set up to compile Java code, go into D:\temp5\java (or the
equivalent) and issue these two commands:
      build clean
      build

When done you will find xalan.jar and serializer.jar in D:\temp5\java\build

If you want to test the jars you built in D:\temp5\java\build, change
directory to D:\temp5\test and issue this command:
      build jar
then
       build smoketest

Running the "build smoketest" or other targets in the "test" directory
automatically looks for the jars in ..\java\build
and that is why it is easiest to just download the projects into sibling
directories with the given names.

Towards the end of that you will see two "CONGRATULATIONS" messages if all
goes well, and it should.

You'll need to get both xalan.jar and serializer.jar on the appropriate
classpath.


See http://www.apache.org/dev/version-control.html for a little more
information on Apache and subversion.

- Brian
- - - - - - - - - - - - - - - - - - - -
Brian Minchau
Apache Xalan PMC



                                                                         
            "toadie D"                                                    
            <toadie643@(protected)                                            
            com>                                                       To
                                      Brian Minchau/Toronto/IBM@(protected)    
            10/28/2006 03:52                                           cc
            AM                        xalan-j-users@(protected)        
                                                                  Subject
                                      Re: xalan 2.5.1 vs. 2.7 performance
                                      question                            
                                                                         
                                                                         
                                                                         
                                                                         
                                                                         
                                                                         




Brian

Will do.  Although I am having problem getting at the source

Linkin from Xalan main page

http://svn.apache.org/viewvc/xml-xalan/java/

leads me to a 404


Regards

Toadie

On 10/27/06, Brian Minchau <minchau@(protected)> wrote:
> Toadie,
> In general 2.7.0 should be faster than 2.5.1 because some performance
work
> was done after the 2.5.1 release. Of course it all depends on the
> stylesheet and other factors.
>
> I'm concerned that you see more that 10X degredation for your
> multi-threaded application. We are ramping up for 2.7.1 soon. Can you
build
> Xalan from the latest code in subversion and see how that performs for
you?
> That is going to be very close to the 2.7.1 release.
>
> If the latest development code has the same problem for you, then you
need
> to open a defect in JIRA as soon as possible.
>
> - Brian
>
>
>
>
>             "toadie D"
>             <toadie643@(protected)
>             com>                                                       To
>                                       xalan-j-users@(protected)
>             10/27/2006 10:20                                           cc
>             PM
>                                                                   Subject
>                                       xalan 2.5.1 vs. 2.7 performance
>                                       question
>
>
>
>
>
>
>
>
>
>
> We have an XSLT that makes ****extensive**** use of Java Extension
Function
>
> During benchmarking, the XSLT performs at the same speed in single
> thread mode running under 2.5.1 or 2.7.0.
>
> In multi threaded mode, when multiple threads run concurrently by
> creating a Transformer object from a previously created Templates(),
> the performance degrades 10X or more in Xalan 2.7.0 compared to 2.5.1
>
> I was wondering if there were extensive changes in the Extension
> Function implementation in 2.7.0 compared to 2.5.1?
>
> Thanks in advance
> Toadie
>
>
>