[
http://jira.codehaus.org/browse/MOJO-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michiel Meeuwissen updated MOJO-1418:
-------------------------------------
Attachment: MOJO-1418.diff
I think this patch fixes it.
> <stylesheet>resource:..</stylesheet> does not work
> --------------------------------------------------
>
> Key: MOJO-1418
> URL: http://jira.codehaus.org/browse/MOJO-1418
> Project: Mojo
> Issue Type: Bug
> Components: xml
> Reporter: Michiel Meeuwissen
> Assignee: Jochen Wiedmann
> Attachments: MOJO-1418.diff
>
>
> As said in:
> http://mojo.codehaus.org/xml-maven-plugin/faq.html#ClassLoader_Resources
> That should work.
> But the 'Resolver' in which is implemented is not used. I suppose it is used
> during transformation only
> Indeed it works if I simply wrap the 'external' xslt:
> <xsl:stylesheet
> xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" version = "1.0" >
> <xsl:import href="resource:org/mmbase/config/xslt/copy.xslt" />
> </xsl:stylesheet>
> At least that information should be part of that FAQ entry then, too. I can
> work around it now, but it costed me some time to figure this out...
> In TransformationSet the stylesheet is represented with a File object, so I
> don't see how that could contain a resource in some jar or so. It should have
> been represented by an URL.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email