Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 29905 invoked from network); 25 Jan 2006 16:45:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Jan 2006 16:45:42 -0000 Received: (qmail 50685 invoked by uid 500); 25 Jan 2006 16:45:34 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 50574 invoked by uid 500); 25 Jan 2006 16:45:33 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 50544 invoked by uid 99); 25 Jan 2006 16:45:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2006 08:45:31 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 1A1C5E0 for ; Wed, 25 Jan 2006 17:45:10 +0100 (CET) Message-ID: <1306196861.1138207510104.JavaMail.jira@ajax.apache.org> Date: Wed, 25 Jan 2006 17:45:10 +0100 (CET) From: "Jean-Baptiste Quenot (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Closed: (COCOON-1704) Error Message brokenness when SAXON is used as the XSLT transformer. In-Reply-To: <1709766537.1133794148085.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/COCOON-1704?page=all ] Jean-Baptiste Quenot closed COCOON-1704: ---------------------------------------- Fix Version: 2.2-dev (Current SVN) 2.1.9-dev (current SVN) Resolution: Fixed Committed, thanks! > Error Message brokenness when SAXON is used as the XSLT transformer. > -------------------------------------------------------------------- > > Key: COCOON-1704 > URL: http://issues.apache.org/jira/browse/COCOON-1704 > Project: Cocoon > Type: Bug > Components: * Cocoon Core > Versions: 2.1.8 > Reporter: Pier Fumagalli > Assignee: Jean-Baptiste Quenot > Fix For: 2.2-dev (Current SVN), 2.1.9-dev (current SVN) > Attachments: patch.txt > > SAXON 8.x always fails with a message "Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor" no matter what error it encounters. > This is because it emits this as a warning to its configured ErrorHandler, and o.a.c.c.xslt.TraxErrorListener is configured to handler XALAN's brokenness, and caches warnings. > Also, the o.a.c.c.xslt.TraxProcessor class does not allow to set generic "attributes" in the wrapped SAXTransformerFactory class, so, this can't be solved with configurations. > And the only way I found to have SAXON to ignore those warnings is by setting the "http://saxon.sf.net/feature/version-warning" attribute to false. > This simple patch makes this behavior mandatory when using SAXON, so that error messages work back again no problem. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira