Mailing List Archive

[jira] [Commented] (FOR-1241) round corner PNGs are not being generated in the "update_cocoon_2.1.12" branch
[ https://issues.apache.org/jira/browse/FOR-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13778379#comment-13778379 ]

David Crossley commented on FOR-1241:
-------------------------------------

With Java 6 there is a little more detail about the cause. The rest of the stacktrace is as in the error.txt attachment.

Caused by: java.lang.ClassCastException: org.apache.batik.dom.GenericElement cannot be cast to org.w3c.dom.svg.SVGSVGElement

> round corner PNGs are not being generated in the "update_cocoon_2.1.12" branch
> ------------------------------------------------------------------------------
>
> Key: FOR-1241
> URL: https://issues.apache.org/jira/browse/FOR-1241
> Project: Forrest
> Issue Type: Bug
> Components: Skins (general issues)
> Affects Versions: 0.10-dev
> Reporter: David Crossley
> Fix For: 0.10-dev
>
> Attachments: error.txt
>
>
> The generation of the round corner PNGs is not happening in the "update_cocoon_2.1.12" branch:
> "java.lang.ClassCastException: org.apache.batik.dom.GenericElement"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FOR-1241) round corner PNGs are not being generated in the "update_cocoon_2.1.12" branch [ In reply to ]
[ https://issues.apache.org/jira/browse/FOR-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13780733#comment-13780733 ]

David Crossley commented on FOR-1241:
-------------------------------------

It needed the svg namespace (http://svn.apache.org/r1527156).
It seems that Apache Batik 1.6 let us get away without this, but not Batik 1.7

> round corner PNGs are not being generated in the "update_cocoon_2.1.12" branch
> ------------------------------------------------------------------------------
>
> Key: FOR-1241
> URL: https://issues.apache.org/jira/browse/FOR-1241
> Project: Forrest
> Issue Type: Bug
> Components: Plugin: internal.dispatcher, Skins (general issues)
> Affects Versions: 0.10-dev
> Reporter: David Crossley
> Assignee: David Crossley
> Fix For: 0.10-dev
>
> Attachments: error.txt
>
>
> The generation of the round corner PNGs is not happening in the "update_cocoon_2.1.12" branch:
> "java.lang.ClassCastException: org.apache.batik.dom.GenericElement"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FOR-1241) round corner PNGs are not being generated in the "update_cocoon_2.1.12" branch [ In reply to ]
[ https://issues.apache.org/jira/browse/FOR-1241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13780735#comment-13780735 ]

David Crossley commented on FOR-1241:
-------------------------------------

Cannot seem to get it to work for Dispatcher. The namespace seems be removed again further down the pipeline.

So used an additional transformation in themes.xmap to specifically add the svg namespace (http://svn.apache.org/r1527159).

> round corner PNGs are not being generated in the "update_cocoon_2.1.12" branch
> ------------------------------------------------------------------------------
>
> Key: FOR-1241
> URL: https://issues.apache.org/jira/browse/FOR-1241
> Project: Forrest
> Issue Type: Bug
> Components: Plugin: internal.dispatcher, Skins (general issues)
> Affects Versions: 0.10-dev
> Reporter: David Crossley
> Assignee: David Crossley
> Fix For: 0.10-dev
>
> Attachments: error.txt
>
>
> The generation of the round corner PNGs is not happening in the "update_cocoon_2.1.12" branch:
> "java.lang.ClassCastException: org.apache.batik.dom.GenericElement"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira