Hi, 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 Browser-Message: "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: http://localhost:8080/trinidad-components-showcase-1.2.14/adf/svg/chart.svg (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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 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" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <svg xmlns="http://www.w3.org/2000/svg"> <defs> <!-- 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" fill="none"/> <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" fill="none"/> <!-- 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" stroke="#000000"/> <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> </g> <!-- END Tooltip Prototype--> </defs> <g> <g id="chartRoot"></g> </g> </svg> Any idea what ist going wrong? It seams to be an XML-Parsing problem!?!?! Thank you for your support :-) Regards Steffen
smime.p7s
Description: S/MIME cryptographic signature