Hi I am trying to integrate some SVG into my page, but
it is not working. I have a simple: <img src="/images/bulb-large.gif"/> <object data="/images/test.svg" width="500" height="500" type="image/svg+xml"> <embed src="/images/test.svg" width="500" height="500" type="image/svg+xml" /> </object> ... within a view.xsl page. The image works fine, but the svg just hangs. The server's web.xml includes; <mime-mapping> <extension>svg</extension> <mime-type>image/svg+xml</mime-type> </mime-mapping> Is there something I need to do with the page's name space declarations or something ? Thanks, John C. ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
On Fri, 9 Sep 2005 17:12:44 +0100 (BST), "John Cobo" <[hidden email]> said: > Hi I am trying to integrate some SVG into my page, but > it is not working. > > I have a simple: > <img src="/images/bulb-large.gif"/> > > <object data="/images/test.svg" width="500" > height="500" type="image/svg+xml"> > <embed src="/images/test.svg" width="500" > height="500" type="image/svg+xml" /> > </object> > > ... within a view.xsl page. The image works fine, but > the svg just hangs. > The server's web.xml includes; > <mime-mapping> > <extension>svg</extension> > <mime-type>image/svg+xml</mime-type> > </mime-mapping> > > Is there something I need to do with the page's name > space declarations or something ? o The hang is on the server side or on the client side? o Are the .svg files being served up by OPS? If so you did you remember to add a <files path-info="*.svg"/> to your page-flow.xml? -- Regards, Dan S > > Thanks, > > John C. > > > > > > ___________________________________________________________ > Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with > voicemail http://uk.messenger.yahoo.com > http://www.fastmail.fm - Faster than the air-speed velocity of an unladen european swallow -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Ah ha ! It works now, thanks. The problem was a
combination of (1) needing the <files path-info="*.svg"/> in page-flow as you suggested and (2) the path as the gif image had the path ammended by OPS, but the svg did not. John C. --- [hidden email] wrote: > > On Fri, 9 Sep 2005 17:12:44 +0100 (BST), "John Cobo" > <[hidden email]> said: > > Hi I am trying to integrate some SVG into my page, > but > > it is not working. > > > > I have a simple: > > <img src="/images/bulb-large.gif"/> > > > > <object data="/images/test.svg" > width="500" > > height="500" type="image/svg+xml"> > > <embed src="/images/test.svg" > width="500" > > height="500" type="image/svg+xml" /> > > </object> > > > > ... within a view.xsl page. The image works fine, > but > > the svg just hangs. > > The server's web.xml includes; > > <mime-mapping> > > <extension>svg</extension> > > <mime-type>image/svg+xml</mime-type> > > </mime-mapping> > > > > Is there something I need to do with the page's > name > > space declarations or something ? > > Couple of questions - > o The hang is on the server side or on the client > side? > o Are the .svg files being served up by OPS? If so > you did > you remember to add a <files path-info="*.svg"/> > to > your page-flow.xml? > > -- Regards, Dan S > > > > Thanks, > > > > John C. > > > > > > > > > > > > > > > > Yahoo! Messenger - NEW crystal clear PC to PC > calling worldwide with > > voicemail http://uk.messenger.yahoo.com > > > > -- > http://www.fastmail.fm - Faster than the air-speed > velocity of an > unladen european swallow > > > > > -- > You receive this message as a subscriber of the > [hidden email] mailing list. > To unsubscribe: > mailto:[hidden email] > For general help: > mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: > http://www.objectweb.org/wws > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |