Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 74799 invoked from network); 25 Oct 2005 06:01:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Oct 2005 06:01:21 -0000 Received: (qmail 90893 invoked by uid 500); 25 Oct 2005 06:01:17 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 90824 invoked by uid 500); 25 Oct 2005 06:01:17 -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 90804 invoked by uid 99); 25 Oct 2005 06:01:16 -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; Mon, 24 Oct 2005 23:01:16 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 6A7A0220 for ; Tue, 25 Oct 2005 08:00:55 +0200 (CEST) Message-ID: <548416742.1130220055404.JavaMail.jira@ajax.apache.org> Date: Tue, 25 Oct 2005 08:00:55 +0200 (CEST) From: "Reinhard Poetz (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Updated: (COCOON-1526) [PATCH] processToDOM returns a read-only DOM 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-1526?page=all ] Reinhard Poetz updated COCOON-1526: ----------------------------------- Bugzilla Id: (was: 35273) Component: * Cocoon Core (was: - Components: Avalon) Description: When Saxon is the active XSLT processor, using the zero-argument constructor to DOMResult results in a read-only DOM being produced. This, in turn, means that a call to PipelineUtil.processToDOM() always returns a read-only DOM. The attached patch adds overloaded versions of PipelineUtil.processToDOM() and SourceUtil.toDOM() to allow the user to pass in an explicit Node object to be passed to DOMResult (via DOMBuilder). was: When Saxon is the active XSLT processor, using the zero-argument constructor to DOMResult results in a read-only DOM being produced. This, in turn, means that a call to PipelineUtil.processToDOM() always returns a read-only DOM. The attached patch adds overloaded versions of PipelineUtil.processToDOM() and SourceUtil.toDOM() to allow the user to pass in an explicit Node object to be passed to DOMResult (via DOMBuilder). > [PATCH] processToDOM returns a read-only DOM > -------------------------------------------- > > Key: COCOON-1526 > URL: http://issues.apache.org/jira/browse/COCOON-1526 > Project: Cocoon > Type: Bug > Components: * Cocoon Core > Versions: 2.1.7 > Environment: Operating System: All > Platform: All > Reporter: Jeffrey Kirby > Assignee: Cocoon Developers Team > Attachments: PipelineUtil.java.diff, SourceUtil.java.diff, utils.patch > > When Saxon is the active XSLT processor, using the zero-argument constructor to > DOMResult results in a read-only DOM being produced. This, in turn, means that > a call to PipelineUtil.processToDOM() always returns a read-only DOM. The > attached patch adds overloaded versions of PipelineUtil.processToDOM() and > SourceUtil.toDOM() to allow the user to pass in an explicit Node object to be > passed to DOMResult (via DOMBuilder). -- 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