Hi,
I am doing xml validation using schema and transformation using xsl. All the
schemas and stylesheets are stored in the memory (HashMap) at the time of
initialization of my application.
First, I used java 1.5.0.13 to validate xml document and also for
transformation. First I do schema validation and then do transformation and
measure CPU utilization
Second, I used java1.5.0.13 with xalan 2.7.1 with endorsed directory. Xalan
jars files are put into the endorsed directory under lib directory of java home
and used the -Djava.endorsed.dir=/opt/java1.5/jre/lib/endorsed with java
executable and measure CPU utilization.
On my machine (HP-UX Itanium server), With java 1.5 with inbuilt xalan version
2.6.0 gives better perfomance then xalan 2.7.1 version. Xalan 2.7.1 takes
approx. 20% more than java 1.5 with inbuilt xalan 2.6.0.
I used the same xml, xsl and schema files in my test.
Why xalan 2.7.1 takes more cpu than standard java 1.5. inbuild with xalan-2.6.0
version ?
What should I do so that I can get the same performace with xalan-2.7.1 as I am
getting with Standard java 1.5 ?
Thanks & regards
Ajay B.