cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <...@apache.org>
Subject [CForms] Ambiguous rule in stylesheets
Date Thu, 20 Oct 2005 19:19:29 GMT
I just got this error while displaying a previously working form in  
an application, after having updated Cocoon to the latest revision  
(326894) from branch  2.1:

Ambiguous rule match for /html/body[1]/div[1]/fi:form-template[1]/ 
fi:group[1]/fi:items[1]/div[2]/fi:field[1]/fi:styling[1]/@type
Matches both "fi:styling/@type" on line 134 of resource://org/apache/ 
cocoon/forms/resources/forms-field-styling.xsl
and "fi:styling/@*" on line 116 of resource://org/apache/cocoon/forms/ 
resources/forms-field-styling.xsl

I tried to fix it by adding priority="-1" to the template at line 116  
and it seems that it works now, but I'm afraid of having broken  
something else. Could someone else please verify the proposed fix  
before I commit it?

     Ugo

P.S. Now it works but it's the HTMLArea which stopped working ... sigh

-- 
Ugo Cei
Tech Blog: http://agylen.com/
Open Source Zone: http://oszone.org/
Wine & Food Blog: http://www.divinocibo.it/




Mime
View raw message