Author: crossley Date: Sat Sep 28 06:41:45 2013 New Revision: 1527156 URL: http://svn.apache.org/r1527156 Log: Add svg namespace to corner svg stylesheets. This fixes the error "java.lang.ClassCastException: org.apache.batik.dom.GenericElement cannot be cast to org.w3c.dom.svg.SVGSVGElement" Issue: FOR-1241
Modified: forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/corner-imports.svg.xslt forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/dc.svg.xslt forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/rc.svg.xslt forrest/branches/update_cocoon_2.1.12/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/images/corner-imports.svg.xslt forrest/branches/update_cocoon_2.1.12/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/images/dc.svg.xslt forrest/branches/update_cocoon_2.1.12/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/images/rc.svg.xslt Modified: forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/corner-imports.svg.xslt URL: http://svn.apache.org/viewvc/forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/corner-imports.svg.xslt?rev=1527156&r1=1527155&r2=1527156&view=diff ============================================================================== --- forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/corner-imports.svg.xslt (original) +++ forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/corner-imports.svg.xslt Sat Sep 28 06:41:45 2013 @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/2000/svg"> <xsl:param name="orientation-tb"/> <xsl:param name="orientation-lr"/> <xsl:param name="size"/> Modified: forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/dc.svg.xslt URL: http://svn.apache.org/viewvc/forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/dc.svg.xslt?rev=1527156&r1=1527155&r2=1527156&view=diff ============================================================================== --- forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/dc.svg.xslt (original) +++ forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/dc.svg.xslt Sat Sep 28 06:41:45 2013 @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/2000/svg"> <xsl:import href="corner-imports.svg.xslt" /> <!-- Diagonal 45 degrees corner --> <xsl:template name="figure"> Modified: forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/rc.svg.xslt URL: http://svn.apache.org/viewvc/forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/rc.svg.xslt?rev=1527156&r1=1527155&r2=1527156&view=diff ============================================================================== --- forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/rc.svg.xslt (original) +++ forrest/branches/update_cocoon_2.1.12/main/webapp/skins/common/images/rc.svg.xslt Sat Sep 28 06:41:45 2013 @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/2000/svg"> <xsl:import href="corner-imports.svg.xslt" /> <!-- Rounded corner --> <xsl:template name="figure"> Modified: forrest/branches/update_cocoon_2.1.12/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/images/corner-imports.svg.xslt URL: http://svn.apache.org/viewvc/forrest/branches/update_cocoon_2.1.12/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/images/corner-imports.svg.xslt?rev=1527156&r1=1527155&r2=1527156&view=diff ============================================================================== --- forrest/branches/update_cocoon_2.1.12/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/images/corner-imports.svg.xslt (original) +++ forrest/branches/update_cocoon_2.1.12/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/images/corner-imports.svg.xslt Sat Sep 28 06:41:45 2013 @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/2000/svg"> <xsl:param name="orientation-tb" /> <xsl:param name="orientation-lr" /> <xsl:param name="size" /> Modified: forrest/branches/update_cocoon_2.1.12/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/images/dc.svg.xslt URL: http://svn.apache.org/viewvc/forrest/branches/update_cocoon_2.1.12/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/images/dc.svg.xslt?rev=1527156&r1=1527155&r2=1527156&view=diff ============================================================================== --- forrest/branches/update_cocoon_2.1.12/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/images/dc.svg.xslt (original) +++ forrest/branches/update_cocoon_2.1.12/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/images/dc.svg.xslt Sat Sep 28 06:41:45 2013 @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/2000/svg"> <xsl:import href="corner-imports.svg.xslt" /> <!-- Diagonal 45 degrees corner --> <xsl:template name="figure"> Modified: forrest/branches/update_cocoon_2.1.12/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/images/rc.svg.xslt URL: http://svn.apache.org/viewvc/forrest/branches/update_cocoon_2.1.12/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/images/rc.svg.xslt?rev=1527156&r1=1527155&r2=1527156&view=diff ============================================================================== --- forrest/branches/update_cocoon_2.1.12/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/images/rc.svg.xslt (original) +++ forrest/branches/update_cocoon_2.1.12/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themer/themes/common/images/rc.svg.xslt Sat Sep 28 06:41:45 2013 @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. --> -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/2000/svg"> <xsl:import href="corner-imports.svg.xslt" /> <!-- Rounded corner --> <xsl:template name="figure">