DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16824>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16824 XMLForm Nested Repeat Problem Summary: XMLForm Nested Repeat Problem Product: Cocoon 2 Version: 2.0 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: general components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When i make a nested repeat the nodeset isnt getting the context added to it. Ive patched my own code with the following fix without any problems: XMLFormTransformer.java Line 1098: // reset ignore hooks counter this.ignoreHooksCount = 0; Form currentForm = (Form) formStack.peek(); // START PATCH //ADD the ablity to unroll nodesets just like ref's String cRef; if ( !refStack.isEmpty() ) { // this is a nested nodeset cRef = nodeset.startsWith ("/") ? nodeset : ( ((Entry) refStack.peek ()).getValue() + "/" + nodeset ); } else { // top level nodeset cRef = nodeset; } Collection locations = currentForm.locate( cRef );//was nodeset //END PATCH Iterator iter = locations.iterator(); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]