Uploaded image for project: 'Cocoon 3 (Retired)'
  1. Cocoon 3 (Retired)
  2. COCOON3-48

Relative access of deeply nested matcher parameters doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-alpha-3
    • 3.0.0-beta-1
    • cocoon-sitemap
    • None

    Description

      Following pipeline doesn't work:

            <map:match wildcard="deep-relative-matcher/{a}">
              <map:match value="{jexl:cocoon.request.param_a}" equals="1">
                <map:match value="{jexl:cocoon.request.param_b}" equals="1">
                  <map:generate src="sax-pipeline/simple.xml" />
                  <map:transform src="sax-pipeline/simple.xslt">
                    <map:parameter name="myParam" value="{map:../../a}" />
                  </map:transform>
                  <map:serialize />
                </map:match>
              </map:match>
            </map:match>

      I added this pipeline to the cocoon-samples sitemap and an integration test to org.apache.cocoon.it.MatcherTest#ignored_testDeepRelativeMatcher().

      Attachments

        Activity

          People

            Unassigned Unassigned
            reinhard@apache.org Reinhard Poetz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: