[ 
https://issues.apache.org/jira/browse/COCOON3-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simone Tripodi updated COCOON3-3:
---------------------------------

    Attachment: XIncludeTransformerFixedAndApacheHeaders.patch

Hi!!!!
I'm really sorry to have provided a corrupted patch.
The new patch, named XIncludeTransformerFixedAndApacheHeaders.patch fixes the 
missing method, creates an XInclude unit test for JUnit4, and adds the right 
header.

Sorry if I've never attached the header, but not being an Apache committer I 
thought I didn't have the right to apply it.

I also modified a little the previous XIncludeTransformer in way to be ready to 
be reused in the sitemap.

The XPointerFrameworkParser is generated using javacc; this justify the pom's 
modifications: the javacc plugin compiles the grammar in java sources, hat are 
managed through the build-helper plugin. So, only the .jj file should be 
committed, not also generated files.

I really hope this helps, don't hesitate if some help is needed.

> Provide an XInclude transformer as a PipelineComponent
> ------------------------------------------------------
>
>                 Key: COCOON3-3
>                 URL: https://issues.apache.org/jira/browse/COCOON3-3
>             Project: Cocoon 3
>          Issue Type: Improvement
>          Components: cocoon-pipeline
>    Affects Versions: 3.0.0-alpha-2
>            Reporter: Simone Tripodi
>            Assignee: Cocoon Developers Team
>            Priority: Minor
>             Fix For: 3.0.0-alpha-2
>
>         Attachments: XInclude.patch, 
> XIncludeTransformerFixedAndApacheHeaders.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to