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%" fill="rgb(255,255,255)"/> <set attributeName="display" to="inline" begin="0.083333336"/> <defs> <g id="S80" > <path fill="none" stroke="rgb(0,0,5)" stroke-width="1.5" d=" M 0.0 -234.9 1151.1 -231.65 1150.15 -233.5"/> </g> </defs> <use xlink:href="#S80" transform="translate(-3.0 272.0) scale(0.29522705 0.29522705) " /> </svg> On Apr 7, 2005 11:20 AM, Jorg Heymans <[EMAIL PROTECTED]> wrote: > > 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 version of Jetty and install > > it in Cocoon? > > > > Nope, this is ok. > > I tested with > <map:match pattern="testsvg"> > <map:generate src="d:/temp/try.svg"/> > <map:serialize type="svgxml"/> > </map:match> > > "try.svg" is a plain svg with multiple namespaces declared, > <?xml version="1.0" encoding="UTF-8"?> > <svg > xmlns="http://www.w3.org/2000/svg" > xmlns:xlink="http://www.w3.org/1999/xlink"> > <defs> > ..... > > there is one element with xlink : <use xlink:href="#logo" x="200" > y="200" /> , logo is a defined image. > > I am getting no errors whatsoever. Adobe plugin renders it fine, and > when i use the plain xml serializer i can see that the document went > through unmodified. > > Where do you exactly get this error? Is it in the tool you use to view > the resulting svg or is it a cocoon error with stacktrace and all? > > Jorg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- -- Jean-Claude Moissinac Department of Computer Science and Networks ENST Paris FRANCE E-mail: [EMAIL PROTECTED] Tel: (+33) 1.45.81.80.88 Fax: (+33) 1.45.81.71.58 http://shadok.enst.fr/jcm --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
