Uploaded image for project: 'Cocoon 3'
  1. Cocoon 3
  2. COCOON3-3

Provide an XInclude transformer as a PipelineComponent

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha-1
    • Fix Version/s: 3.0.0-alpha-2
    • Component/s: cocoon-sax
    • Labels:
      None

      Description

      Oldest versions of cocoon already contain an XInclude transformer, it could be a good starting point:

      http://svn.eu.apache.org/repos/asf/cocoon/trunk/core/cocoon-pipeline/cocoon-pipeline-components/src/main/java/org/apache/cocoon/transformation/XIncludeTransformer.java

      XPointer package's dependencies should be reduced to be imported in the new pipeline:

      http://svn.eu.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/xpointer

      An alternative solution could be using xerces2 APIs:

      http://xerces.apache.org/xerces2-j/faq-xinclude.html

        Attachments

        1. XInclude.patch
          71 kB
          Simone Tripodi
        2. XIncludeTransformerFixedAndApacheHeaders.patch
          80 kB
          Simone Tripodi
        3. XIncludeTransformer.patch
          91 kB
          Simone Tripodi

          Activity

            People

            • Assignee:
              reinhard@apache.org Reinhard Poetz
              Reporter:
              simone.tripodi Simone Tripodi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: