Askild, the problem has been solved already. It's just not in Cocoon yet.
Have a look here: http://cvs.apache.org/viewcvs.cgi/jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImpl.java?r1=1.43&r2=1.44&diff_format=h The developers of commons-jxpath had fixed this, that was past 1.2 of jxpath and Cocoon is using 1.2. If you just update your Cocoon to the current nightly build of commons-jxpath.jar the problem will go away and you probably don't need the workaround with the additional context any more. Also the identity / additional row problems that I was mentioning earlier went away all of a sudden. So I am quite happy and I do hope that the Cocoon devs will update commons-jxpath in the trunk soon. (A pitty i didn't make it for 2.1.7). Interesting enough, the issue with <link> versus <ld:link> remains, but I can live with that. Thank's for you pointing me in the right direction. I would have never found that without you spotting the Java code. I will also update the bug. Regards, Torsten > Torsten Schlabach wrote: > >>Now the repeater does not show any rows any more. >> >>Any idea where to search for the probem? Might this even be a bug? >> Binding >>simple fields (no repeater) works with and without namespaces. >> >>Regards, >>Torsten >> >> > I have the same problem, and it seems to be a bug in > RepeaterJXPathBinding.java, but I can't figure out exactly what goes > wrong. > > I managed with my particular case by changing > > Iterator rowPointers = repeaterContext.iteratePointers(this.rowPath); > to > Iterator rowPointers = jxpc.iteratePointers(this.rowPath); > > and setting parent-path to ".", replacing it with a fb:context instead. > > A report [34196] is also filed in bugzilla, > http://issues.apache.org/bugzilla/show_bug.cgi?id=34196 > > Regards, > Askild > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
