SVG Bug.....
Hi, having worked with SVG generation solidly for over one week now, I am convinced that there is a bug with the process. If your browser makes a request for one image which is svg'd then a java alert is thrown, before the first image is displayed, which says (org.apache.catalina.startup.Bootstrap). The browser then hangs while waiting for the second image which never gets displayed and is shown as a broken image. If you quit the java alert this causes Tomcat to shutdown, and the only way to restart the server after that is to reboot the machine. Any ideas? The process I have been doing is reading a bytea from postgreSQL into a java byte[], and then converting that into base 64. From here the base64 string is used to create an svg. The image sizes of the images read into the postgreSQL table are 252kb and 223kb respectively. The final svg'd rendered image, displayed to the browser is 44kb. How do I get the bug registered? System: Mac OS X 10.3.2 postgreSQL ver 7.4.1 Tomcat ver 5 Cocoon 2.1.4 many thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SVG bug!!!
I think you will need to use _javascript_ to get the SVGdocument and then set the viewBox attribute, I don't have an example at hand but I seem to remember some posts to the SVG usergroup about this so you may want to try there. http://groups.yahoo.com/group/svg-developers/ Linc - Original Message - From: beyaNet Consultancy To: [EMAIL PROTECTED] Sent: Thursday, February 19, 2004 8:05 PM Subject: Re: SVG bug!!! Linc,I think I am coming closer to the answer. If I make a request for the image outside of the iframe it is loaded into, (http://www.mysite.com/cocoon/beyarecords/artistImage/1/46.jpg), then the image changes according to the sizes I give it. If i try and call the image so that the document which it is called into sits within the iframe, then no matter what values you give the height and width of the svg tag no change to the canvas size takes place. Any ideas?AndrewOn 19 Feb 2004, at 11:54, Linc wrote: Try just creating the SVG on its own ie. Let me know if this works for you! Linc - Original Message -From: beyaNet Consultancy To: [EMAIL PROTECTED] Sent: Thursday, February 19, 2004 5:05 PMSubject: SVG bug!!!Hi,I have, for the last few days now, tried unsuccessfully to change the canvas size of generated svg images. Is there a bug in SVG or is there something very simple I am failing to grasp here?00300300data:image/jpeg;base64,Photo1artist1many thanks in advance
Re: SVG bug!!!
Linc, I think I am coming closer to the answer. If I make a request for the image outside of the iframe it is loaded into, (http://www.mysite.com/cocoon/beyarecords/artistImage/1/46.jpg), then the image changes according to the sizes I give it. If i try and call the image so that the document which it is called into sits within the iframe, then no matter what values you give the height and width of the svg tag no change to the canvas size takes place. Any ideas? Andrew On 19 Feb 2004, at 11:54, Linc wrote: Try just creating the SVG on its own ie. Let me know if this works for you! Linc - Original Message - From: beyaNet Consultancy To: [EMAIL PROTECTED] Sent: Thursday, February 19, 2004 5:05 PM Subject: SVG bug!!! Hi, I have, for the last few days now, tried unsuccessfully to change the canvas size of generated svg images. Is there a bug in SVG or is there something very simple I am failing to grasp here? 0 0 300 300 data:image/jpeg;base64,Photo1 artist1 many thanks in advance
Re: SVG bug!!!
Try just creating the SVG on its own ie. Let me know if this works for you! Linc - Original Message - From: beyaNet Consultancy To: [EMAIL PROTECTED] Sent: Thursday, February 19, 2004 5:05 PM Subject: SVG bug!!! Hi,I have, for the last few days now, tried unsuccessfully to change the canvas size of generated svg images. Is there a bug in SVG or is there something very simple I am failing to grasp here?00300300data:image/jpeg;base64,Photo1artist1many thanks in advance
SVG bug!!!
Hi, I have, for the last few days now, tried unsuccessfully to change the canvas size of generated svg images. Is there a bug in SVG or is there something very simple I am failing to grasp here? data:image/jpeg;base64, artist1 many thanks in advance