[ 
https://issues.apache.org/jira/browse/COCOON3-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635407#action_12635407
 ] 

Simone Tripodi commented on COCOON3-3:
--------------------------------------

It seems that Xerces' implementation of XPointer is incomplete:

https://svn.apache.org/repos/asf/xerces/java/trunk/src/org/apache/xerces/xinclude/XIncludeHandler.java

Reading from the javadoc: "Currently, this implementation has only partial 
support for the XInclude specification. Specifically, it is missing support for 
XPointer document fragments.  Thus, only whole documents can be included using 
this component in the pipeline."

The oldest cocoon's version porting should be the best solution.

> 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
>            Reporter: Simone Tripodi
>            Assignee: Cocoon Developers Team
>            Priority: Minor
>
> 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