Cocoon
  1. Cocoon
  2. COCOON-2149

Patch to IncludeTransformer to add root-element stripping (cf CIncludeTransformer)

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.11, 2.2
    • Fix Version/s: 2.1.12, 2.2
    • Component/s: * Cocoon Core
    • Labels:
      None
    • Other Info:
      Patch available
    • Affects version (Component):
      Cocoon Core - 2.2.0-RC2
    • Fix version (Component):
      Cocoon Core - 2.2.0-RC3-dev

      Description

      The CIncludeTransformer offers the useful ability to strip the root element of included content; this patch adds this functionality to the IncludeTransformer.

      Example:

       <i:include xmlns:i="http://apache.org/cocoon/include/1.0"
                     src="cocoon://path/to/include" strip-root="true"/>
      1. IncludeTransformer.java.patch
        3 kB
        Ellis Pritchard
      2. IncludeTransformer.java.2.2.patch
        3 kB
        Ellis Pritchard

        Activity

        Hide
        Ellis Pritchard added a comment -
        I'll do an equivalent patch for Cocoon 2.2 soon...
        Show
        Ellis Pritchard added a comment - I'll do an equivalent patch for Cocoon 2.2 soon...
        Hide
        Grzegorz Kossakowski added a comment -
        Ellis, thanks for contributing this patch. I'm waiting eagerly for one to be applied on Cocoon 2.2.
        Show
        Grzegorz Kossakowski added a comment - Ellis, thanks for contributing this patch. I'm waiting eagerly for one to be applied on Cocoon 2.2.
        Hide
        Ellis Pritchard added a comment -
        Patch against Cocoon trunk (Cocoon 2.2), revision 596903
        Show
        Ellis Pritchard added a comment - Patch against Cocoon trunk (Cocoon 2.2), revision 596903
        Hide
        Grzegorz Kossakowski added a comment -
        Will be applied after final release of 2.2.
        Show
        Grzegorz Kossakowski added a comment - Will be applied after final release of 2.2.
        Hide
        Jörg Heinicke added a comment -
        Patch applied to 2.2.

        2.1 is frozen at the moment, will be applied as soon as 2.1.11 is released.
        Show
        Jörg Heinicke added a comment - Patch applied to 2.2. 2.1 is frozen at the moment, will be applied as soon as 2.1.11 is released.
        Hide
        Jörg Heinicke added a comment -
        Patch applied to 2.1.12-dev as well
        Show
        Jörg Heinicke added a comment - Patch applied to 2.1.12-dev as well

          People

          • Assignee:
            Jörg Heinicke
            Reporter:
            Ellis Pritchard
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development