Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 35008 invoked from network); 20 Feb 2007 16:15:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Feb 2007 16:15:32 -0000 Received: (qmail 16708 invoked by uid 500); 20 Feb 2007 16:15:37 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 16670 invoked by uid 500); 20 Feb 2007 16:15:37 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 16544 invoked by uid 99); 20 Feb 2007 16:15:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Feb 2007 08:15:36 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Feb 2007 08:15:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2DE707141EF for ; Tue, 20 Feb 2007 08:15:06 -0800 (PST) Message-ID: <20468913.1171988106185.JavaMail.jira@brutus> Date: Tue, 20 Feb 2007 08:15:06 -0800 (PST) From: "Evgeniya Maenkova (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-3209) Harmony's default instance of javax.xml.TransformerFactory differs from RI's one In-Reply-To: <29313364.1171987985953.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-3209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Evgeniya Maenkova updated HARMONY-3209: --------------------------------------- Attachment: set_property.patch to set system property for TransformerFactory > Harmony's default instance of javax.xml.TransformerFactory differs from RI's one > -------------------------------------------------------------------------------- > > Key: HARMONY-3209 > URL: https://issues.apache.org/jira/browse/HARMONY-3209 > Project: Harmony > Issue Type: Bug > Components: Misc > Reporter: Evgeniya Maenkova > Attachments: set_property.patch > > > Xalan provides both a compiler and a runtime processor. > Interpretive processor is used by defaut in xalan's distribution unlike SUN's jdk, which uses XSLT compiler. > So Harmony uses "interpreter" mode now. > This change could be done by setting of system property. > See please more info at http://xml.apache.org/xalan-j/xsltc_usage.html. > The test to see this is: > import javax.xml.parsers.DocumentBuilderFactory; > import javax.xml.parsers.SAXParserFactory; > import javax.xml.transform.TransformerFactory; > public class TransformerFactoryTest { > public static void main(String[] args) { > System.out.println(TransformerFactory.newInstance()); > System.out.println(DocumentBuilderFactory.newInstance()); > System.out.println(SAXParserFactory.newInstance()); > } > } > RI prints: > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl@247401 > com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl@247eff > com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl@2483b5 > unlike Harmony: > org.apache.xalan.processor.TransformerFactoryImpl@206b9400 > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@206c004c > org.apache.xerces.jaxp.SAXParserFactoryImpl@206c46a8. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.