Author: crossley Date: Sat Sep 28 11:26:02 2013 New Revision: 1527173 URL: http://svn.apache.org/r1527173 Log: Add the svg namespace using a Transformer. Issue: FOR-1241
Modified: forrest/branches/update_cocoon_2.1.12/plugins/org.apache.forrest.plugin.input.PhotoGallery/locationmap.xml forrest/branches/update_cocoon_2.1.12/plugins/org.apache.forrest.plugin.input.PhotoGallery/resources.xmap Modified: forrest/branches/update_cocoon_2.1.12/plugins/org.apache.forrest.plugin.input.PhotoGallery/locationmap.xml URL: http://svn.apache.org/viewvc/forrest/branches/update_cocoon_2.1.12/plugins/org.apache.forrest.plugin.input.PhotoGallery/locationmap.xml?rev=1527173&r1=1527172&r2=1527173&view=diff ============================================================================== --- forrest/branches/update_cocoon_2.1.12/plugins/org.apache.forrest.plugin.input.PhotoGallery/locationmap.xml (original) +++ forrest/branches/update_cocoon_2.1.12/plugins/org.apache.forrest.plugin.input.PhotoGallery/locationmap.xml Sat Sep 28 11:26:02 2013 @@ -41,5 +41,8 @@ <location src="{forrest:forrest.plugins}/org.apache.forrest.plugin.input.PhotoGallery/resources/default-album-metadata.xml"/> </select> </match> + <match pattern="transform.xml.namespaced-svg"> + <location src="{forrest:forrest.stylesheets}/add-namespace-svg.xsl" /> + </match> </locator> </locationmap> Modified: forrest/branches/update_cocoon_2.1.12/plugins/org.apache.forrest.plugin.input.PhotoGallery/resources.xmap URL: http://svn.apache.org/viewvc/forrest/branches/update_cocoon_2.1.12/plugins/org.apache.forrest.plugin.input.PhotoGallery/resources.xmap?rev=1527173&r1=1527172&r2=1527173&view=diff ============================================================================== --- forrest/branches/update_cocoon_2.1.12/plugins/org.apache.forrest.plugin.input.PhotoGallery/resources.xmap (original) +++ forrest/branches/update_cocoon_2.1.12/plugins/org.apache.forrest.plugin.input.PhotoGallery/resources.xmap Sat Sep 28 11:26:02 2013 @@ -42,6 +42,7 @@ <map:parameter name="use-request-parameters" value="true" /> <map:parameter name="label" value="{2}" /> </map:transform> + <map:transform src="{lm:transform.xml.namespaced-svg}"/> <map:serialize type="svg2png" /> </map:match>