Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 45447 invoked from network); 3 Oct 2006 08:08:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2006 08:08:35 -0000 Received: (qmail 88464 invoked by uid 500); 3 Oct 2006 08:08:32 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 88391 invoked by uid 500); 3 Oct 2006 08:08:32 -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 88380 invoked by uid 99); 3 Oct 2006 08:08:32 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of joerg.heinicke@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 03 Oct 2006 01:08:31 -0700 Received: (qmail invoked by alias); 03 Oct 2006 08:06:54 -0000 Received: from 44-11.bbned.dsl.internl.net (EHLO [192.168.3.55]) [82.215.11.44] by mail.gmx.net (mp034) with SMTP; 03 Oct 2006 10:06:54 +0200 X-Authenticated: #3483660 Message-ID: <45221A20.8010303@gmx.de> Date: Tue, 03 Oct 2006 10:06:56 +0200 From: Joerg Heinicke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [CFORMS] Template priority problems fix with saxon References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 02.10.2006 15:05, Christofer.Dutz@univativ.de wrote: > One of the patches was a change of template priorities in the > forms-field-styling.xslt If this isn't applied, I get > Abiguous Template errors from Saxon. > > > > Has to be changed to: > > > > And this bug is resolved. I would not call this a bug, it's just another way of confirming to the spec. It says [1]: "It is an error if this leaves more than one matching template rule. An XSLT processor may signal the error; if it does not signal the error, it must recover by choosing, from amongst the matching template rules that are left, the one that occurs last in the stylesheet." But I don't like influencing the priority as it might break other stylesheets extending our ones. Not only once, but regularly. This can happen if we add a new template rule and have to adapt priority again. But probably this is not that much a matter anymore as there are already so many @priority's added. I only wonder with which template it conflicts. All others have specified the attribute name and should so be more specific. Does this occur only with a specific version of Saxon? Is everybody using Saxon in need for such a patch? J�rg [1] http://www.w3.org/TR/xslt#conflict