[jira] Commented: (COCOON-2058) Ambiguous rule match for "fi:styling/@submit-on-change"
[ https://issues.apache.org/jira/browse/COCOON-2058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514223 ] Antonio Gallardo commented on COCOON-2058: -- I am wondering if is a good idea to add priorities to xslt rules for the default cform rendering. I am thinking for the users that overwrote this rules. wdyt? > Ambiguous rule match for "fi:styling/@submit-on-change" > --- > > Key: COCOON-2058 > URL: https://issues.apache.org/jira/browse/COCOON-2058 > Project: Cocoon > Issue Type: Bug > Components: * Cocoon Core >Reporter: Ralph Collett >Priority: Minor > > Ambiguous rule match for "fi:styling/@submit-on-change" between > "fi:styling/@submit-on-change" and "fi:styling/@*" in forms-field-styling.xsl > rules when using Saxon. Priority of "fi:styling/@submit-on-change" should be > set to 1 (as in the "fi:styling/@type" rule). > --- Starting at line 151 of forms-field-styling.xsl --- > > > > > > forms_submitForm(this) > > >mode="styling"> > > > > >select="'text hidden checkbox radio password image reset > submit'"/> > > > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (COCOON-2058) Ambiguous rule match for "fi:styling/@submit-on-change"
[ https://issues.apache.org/jira/browse/COCOON-2058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514071 ] Jörg Heinicke commented on COCOON-2058: --- I think, you can add the priority attribute as Ralph wrote safely, Antonio. You should also add it to the other template matching on "fi:styling/@list-type | fi:styling/@list-orientation | ..." That one will probably be the next for which Saxon fails. > Ambiguous rule match for "fi:styling/@submit-on-change" > --- > > Key: COCOON-2058 > URL: https://issues.apache.org/jira/browse/COCOON-2058 > Project: Cocoon > Issue Type: Bug > Components: * Cocoon Core >Reporter: Ralph Collett >Priority: Minor > > Ambiguous rule match for "fi:styling/@submit-on-change" between > "fi:styling/@submit-on-change" and "fi:styling/@*" in forms-field-styling.xsl > rules when using Saxon. Priority of "fi:styling/@submit-on-change" should be > set to 1 (as in the "fi:styling/@type" rule). > --- Starting at line 151 of forms-field-styling.xsl --- > > > > > > forms_submitForm(this) > > >mode="styling"> > > > > >select="'text hidden checkbox radio password image reset > submit'"/> > > > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.