Hello,

this is more supposed to be mailed to a users list, but I haven't found
one.

We recently upgraded our production environment (Websphere 3.5, JDK 1.2.2
and Xerces 1.4.2) from Xalan 2.1 to 2.2 D6 and experienced a major
performance problem with this upgrade.
Transformations that took around 3 seconds now take 6-8 seconds.

We have cached Template objects that we use for transforming multiple
DOMSources from a JSP.

Transformer transformer =Cache.getTransformer(someThing);
StreamResult streamResult = new StreamResult(out);
DOMSource domSource = new DOMSource();
for (int i=0; i<invList.size(); i++) {
     transformer.clearParameters();
     doc = (Document) invList.get(i);
     domSource.setNode(doc);
     transformer.transform( domSource, streamResult);
}

We experimented with setting the features from the DTM: 
"http://xml.apache.org/xalan/features/incremental";  and
"http://xml.apache.org/xalan/features/optimize"; with no performance gains.

We also tried release 2.2 D9 but this shows the same effect.

Can anyone help? Thanks!

Kind regards,
 Steffen



|------------------------------------+------------------------------------|
|Diese Nachricht ist vertraulich. Sie|This message is confidential and may|
|ist ausschliesslich fuer            |be privileged. It is                |
|den im Adressfeld ausgewiesenen     |intended solely for the named       |
|Adressaten bestimmt.                |addressee. If you are not the       |
|Sollten Sie nicht der vorgesehene   |intended recipient please inform us.|
|Empfaenger sein, so bitten          |Any unauthorised                    |
|wir um eine kurze Nachricht. Jede   |dissemination, distribution or      |
|unbefugte Weiterleitung             |copying hereof is prohibited.       |
|oder Fertigung einer Kopie ist      |As we cannot guarantee the          |
|unzulaessig. Da wir nicht die       |genuineness or completeness of      |
|Echtheit oder Vollstaendigkeit der  |the information contained in this   |
|in dieser Nachricht                 |message, the statements             |
|enthaltenen Informationen           |set forth above are not legally     |
|garantieren koennen, schliessen wir |binding. In connection              |
|die rechtliche Verbindlichkeit der  |therewith, we also refer to our     |
|vorstehenden Erklaerungen           |governing regulations of            |
|und Aeusserungen aus. Wir verweisen |concerning signatory authority      |
|in diesem Zusammenhang              |published in the                    |
|auch auf die  fuer uns geltenden    |standard bank or company signature  |
|Regelungen ueber die                |lists with regard to the            |
|Verbindlichkeit von                 |legally binding effect of statements|
|Willenserklaerungen mit             |made with the intent to             |
|verpflichtendem                     |obligate us.                        |
|Inhalt, die in den bank- bzw.       |                                    |
|unternehmensueblichen               |                                    |
|Unterschriftenverzeichnissen bekannt|                                    |
|gemacht werden.                     |                                    |
|------------------------------------+------------------------------------|




Reply via email to