myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject SVG-Error using Trinidad-Charts in combination with JDK 1.7
Date Mon, 23 Jan 2012 13:38:27 GMT


I am using trinidad 1.2.14 / myfaces 1.2.11 on TomCat 6 / 7 running on a
JDK (JVM) 1.6.

Everything works fine until I made an update to JDK 1.7.0_02.

Calling a Trinidad Chart with the new JDK 1.7 leads to the following

	"This component needs an SVG enabled browser like Internet Explorer,
Firefox 1.5+ or Opera 9.0+"

After comparing the fired requests between JDK 1.6 and JDK 1.7 using the
Charts-Examples in the "Trinidad-Showcase-Web-Application", I found a
difference in the response of the following URL:


(Rem.: It is important to clean the browser-cache after switching form jdk
1.6 to jdk 1.7 or back to get the effect !!!)

1)	If I used the JDK 1.7 I got the following error in the response:

	XML-Verarbeitungsfehler: Kein Element gefunden Adresse:
moz-nullprincipal:{49b2a7ab-3f00-402a-b6ca-cb83853ce6a7} Zeile Nr. 1,
Spalte 1:

2)	If i am using the JDK 1.6 everything works fine and I got the
following response:

<?xml version="1.0" encoding="UTF-8"?>
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.

<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
<svg xmlns="">
  <!-- prototype for border-->
  <rect id="borderPrototype" stroke="#004E7E" fill="none"/>

  <!-- START Prototypes for chart grid-->
    <rect id="gridRectPrototype" stroke="#000000" stroke-width="1"/>
    <path id="gridPathPrototype" stroke="#A0A0A0" stroke-width="1"
    <path id="gridPath3dRectPrototype" stroke="#000000" stroke-width="1"/>
      <!-- Used for Radar Chart -->
    <circle id="radarCirclePrototype" stroke="#000000" stroke-width="1"/>
    <circle id="radarInnerCirclePrototype" stroke="#A0A0A0" fill="none"/>
    <path id="radarGridPathPrototype" stroke="#A0A0A0" stroke-width="1"
  <!-- END Prototypes for chart grid-->


  <!-- START Tooltip Prototype-->
  <g id="toolTip" style="font:9px Tahoma, Verdana, Helvetica, sans-serif;">
    <circle cx="0" cy="20" r="3" fill="#fefee6" stroke-width="2"
    <rect height="25" rx="2" ry="2" style="opacity:.8;" fill="#fefee6"
stroke-width="1" stroke="#000000"/>
    <text x="5" y="10" fill="#000000">Series(Group)</text>
    <text y="20" fill="#000000">Value</text>
  <!-- END Tooltip Prototype-->

  <g id="chartRoot"></g>

Any idea what ist going wrong?
It seams to be an XML-Parsing problem!?!?!

Thank you for your support :-)


View raw message