Re: Fwd: SVG with xlink namespace

2005-04-07 Thread Joachim Breitsprecher
Jorg Heymans wrote: Jean-Claude Moissinac wrote: The prefix xlink for attribute xlink:href associated with an element type use is not bound. I just tried this with a stock 2.1.7 build without problems. Maybe your SVG is dodgy? I have had similar problems (namespace not bound). If you do not use

SVG with xlink namespace

2005-04-07 Thread Jean-Claude Moissinac
Hello I have an SVG file, something like ?xml version=1.0 encoding=UTF-8? svg width=100% height=100% viewBox=0 0 333 250 xmlns=http://www.w3.org/2000/svg; xmlns:xlink=http://www.w3.org/1999/xlink; ... use xlink:href=#S1 transform=translate(62.0 213.0) scale(0.29522705 0.29522705) / /svg Note

Re: Fwd: SVG with xlink namespace

2005-04-07 Thread Jean-Claude Moissinac
I'm using a standard 2.1.7 install on a PC/XP My SVG plays fine in all players and is very simple. Perhaps, i have to change the SAX parser used? On Apr 7, 2005 9:56 AM, Joachim Breitsprecher [EMAIL PROTECTED] wrote: Jorg Heymans wrote: Jean-Claude Moissinac wrote: The prefix xlink for

Re: Fwd: SVG with xlink namespace

2005-04-07 Thread Jorg Heymans
what servlet container are you using? Try your sample with a standard jetty-2.1.7 build. Jean-Claude Moissinac wrote: I'm using a standard 2.1.7 install on a PC/XP My SVG plays fine in all players and is very simple. Perhaps, i have to change the SAX parser used? On Apr 7, 2005 9:56 AM, Joachim

Re: Fwd: SVG with xlink namespace

2005-04-07 Thread Jean-Claude Moissinac
Sorry, I don't know how to apply your advice. I've installed a standard Coccon 2.1.7 install. In the startup process messages, I see: ... Starting Jetty/4.2.23 and in the last line of the startup: ... Started [EMAIL PROTECTED] Do you say I have to download a different version of Jetty and install

Re: Fwd: SVG with xlink namespace

2005-04-07 Thread Jorg Heymans
Jean-Claude Moissinac wrote: Sorry, I don't know how to apply your advice. I've installed a standard Coccon 2.1.7 install. In the startup process messages, I see: ... Starting Jetty/4.2.23 and in the last line of the startup: ... Started [EMAIL PROTECTED] Do you say I have to download a different

Re: Fwd: SVG with xlink namespace

2005-04-07 Thread Jean-Claude Moissinac
It seems to be a Cocoon error with this stacktrace: org.apache.cocoon.ProcessingException: Error executing pipeline.: file:/C:/Documents/cocoon-2.1.7/build/webapp/tests/content/aa001_frame1.svg:34:90:org.xml.sax.SAXParseException: The prefix xlink for attribute xlink:href associated with an

Re: Fwd: SVG with xlink namespace

2005-04-07 Thread Jean-Claude Moissinac
Here is a very short test which works when displayed directly, but doesn't works when served by cocoon with the previously showed pipeline: ?xml version=1.0 encoding=UTF-8? svg width=100% height=100% viewBox=0 0 333 250 xmlns=http://www.w3.org/2000/svg; rect width=100% height=100%

Re: Fwd: SVG with xlink namespace

2005-04-07 Thread Jorg Heymans
Maybe your svg has dodgy hidden characters in it that prevents the parser from seeing your namespace declaration ? I'm out of ideas, but i'm pretty sure cocoon is not the culprit here. Jean-Claude Moissinac wrote: It seems to be a Cocoon error with this stacktrace:

Re: Fwd: SVG with xlink namespace

2005-04-07 Thread Jorg Heymans
Jean-Claude Moissinac wrote: Here is a very short test which works when displayed directly, but doesn't works when served by cocoon with the previously showed pipeline: ?xml version=1.0 encoding=UTF-8? svg width=100% height=100% viewBox=0 0 333 250 xmlns=http://www.w3.org/2000/svg; rect width=100%

Re: Fwd: SVG with xlink namespace

2005-04-07 Thread Jean-Claude Moissinac
I can't figure when the declaration has been put out and how I can have not seen before. But it seem to works. The content without the needed declaration works fine in the Adobe Viewer. Thank you for your help On Apr 7, 2005 3:39 PM, Jorg Heymans [EMAIL PROTECTED] wrote: Jean-Claude Moissinac

Re: Fwd: SVG with xlink namespace

2005-04-06 Thread Jorg Heymans
Jean-Claude Moissinac wrote: Hello I have an SVG file, something like ?xml version=1.0 encoding=UTF-8? svg width=100% height=100% viewBox=0 0 333 250 xmlns=http://www.w3.org/2000/svg; xmlns:xlink=http://www.w3.org/1999/xlink; ... use xlink:href=#S1 transform=translate(62.0 213.0) scale(0.29522705