[
https://issues.apache.org/jira/browse/COCOON-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler closed COCOON-321.
-----------------------------------
Resolution: Won't Fix
> Docs referenced by XSLT's document() are not included in cache validity
> -----------------------------------------------------------------------
>
> Key: COCOON-321
> URL: https://issues.apache.org/jira/browse/COCOON-321
> Project: Cocoon
> Issue Type: Improvement
> Components: - Components: Sitemap
> Affects Versions: 2.0.3
> Environment: Operating System: other
> Platform: Other
> Reporter: J.Pietschmann
> Assignee: Cocoon Developers Team
> Priority: Minor
>
> There is a NPE thrown from the 1.18.2.1 revision of
> o.a.c.components.xslt.XSLTProcessorImpl.java because resolve() is called to
> resolve the URI passed to document(), and the "includes" field is null in
> this line
> includes.add(new Object[]{xslSource.getSystemId(),
> new Long(xslSource.getLastModified())});
> The "includes" is only set during style sheet compilation.
> The comment at the beginning exhibit a wrong assumtion conneted to the fault:
> /** Resolver used to resolve XSL includes */
> protected SourceResolver resolver;
> A simple pipeline with an XSL transformation involving an arbitrary call to
> document() should reproduce the problem.
> The information of URIs referenced during the pipeline run gathered by
> resolve() should be used for cache control for the pipeline result the same
> way it is now used for validating the compiled style sheet.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.