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.2.2.patch
        3 kB
        Ellis Pritchard
      2. IncludeTransformer.java.patch
        3 kB
        Ellis Pritchard

        Activity

        Jörg Heinicke made changes -
        Fix version (Component) Parent values: Cocoon Core(10227). Parent values: Cocoon Core(10227). Level 1 values: 2.2.0-RC3-dev(10304).
        Resolution Fixed [ 1 ]
        Assignee Grzegorz Kossakowski [ grek ] Jörg Heinicke [ joerg.heinicke@gmx.de ]
        Status Open [ 1 ] Closed [ 6 ]
        Jörg Heinicke made changes -
        Fix Version/s 2.1.12-dev (Current SVN) [ 12312903 ]
        Fix Version/s 2.2-dev (Current SVN) [ 12310611 ]
        Affects version (Component) Parent values: Cocoon Core(10151). Parent values: Cocoon Core(10151). Level 1 values: 2.2.0-RC2(10309).
        Grzegorz Kossakowski made changes -
        Fix Version/s 2.1.11 [ 12312231 ]
        Fix Version/s 2.2-dev (Current SVN) [ 12310611 ]
        Ellis Pritchard made changes -
        Fix Version/s 2.2-dev (Current SVN) [ 12310611 ]
        Fix version (Component) Parent values: Cocoon Core(10227).
        Affects Version/s 2.2-dev (Current SVN) [ 12310611 ]
        Affects version (Component) Parent values: Cocoon Core(10151).
        Ellis Pritchard made changes -
        Attachment IncludeTransformer.java.2.2.patch [ 12370203 ]
        Grzegorz Kossakowski made changes -
        Assignee Grzegorz Kossakowski [ grek ]
        Ellis Pritchard made changes -
        Field Original Value New Value
        Attachment IncludeTransformer.java.patch [ 12370133 ]
        Ellis Pritchard created issue -

          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