ERROR IN CORE.LOG:*******************************
DEBUG   (2002-03-07) 14:03.01:930   [core]
(/cocoon/f_portal/f_portal_svg/2b4986-ec6f1495e0--7ff7.png)
HttpProcessor[8080][4]/ExcaliburComponentSelector: UnnamedSelector:
ComponentSelector could not find the component for hint: extractor

SITEMAP PORTION:*******************************
   <map:match pattern="index.html">
    <map:generate type="serverpages" src="xsp/index.xsp"/>
    <map:transform src="stylesheets/index.xsl"/>
    <map:transform type="extractor"/>
    <map:transform src="stylesheets/fragment-extractor.xsl"/>
    <map:serialize/>
   </map:match>

   <map:match pattern="f_portal_svg/*.png">
    <map:generate type="extractor" src="{1}"/>
    <map:serialize type="svg2png"/>
   </map:match>


SVG CODE:*******************************
 <svg:svg width="200" height="15" xmlns:svg="http://www.w3.org/2000/svg";>
  <xsl:choose>
   <xsl:when test="$position = 'left'">
    <svg:g style="stroke: black; stroke-width: 2px;">
     <svg:line x1="5" y1="5" x2="8" y2="5"/>
     <svg:line x1="5" y1="5" x2="5" y2="15"/>
    </svg:g>
    <svg:text x="10px" y="10px" style="font-family:sans; font-size:15px;
fill: #0086b2; text-anchor:start;">
     <xsl:value-of select="@name"/>
    </svg:text>
   </xsl:when>
   <xsl:otherwise>
    <svg:g style="stroke: black; stroke-width: 2px;">
     <svg:line x1="195" y1="5" x2="192" y2="5"/>
     <svg:line x1="195" y1="5" x2="195" y2="15"/>
    </svg:g>
    <svg:text x="190px" y="10px" style="font-family:sans; font-size:15px;
fill: #0086b2; text-anchor:end;">
     <xsl:value-of select="@name"/>
    </svg:text>
   </xsl:otherwise>
  </xsl:choose>
 </svg:svg>





----- Original Message -----
From: "Andrew Savory" <[EMAIL PROTECTED]>
To: "marco" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, March 06, 2002 5:07 PM
Subject: Re: my svg does not work in cocoon 2.0.1


>
> Hi Marco,
>
> On Wed, 6 Mar 2002, marco wrote:
>
> > I have added namespace to the svg tag like this    <svg:svg width="200"
> > height="15" xmlns:svg="http://www.w3.org/2000/svg";>, but it dose not
help
> > even if I restarted the tomcat.
>
> Can you check in $TOMCAT_HOME/webapps/yourapp/WEB-INF/logs and see if
> there are any errors being reported in core.log? An example of the svg you
> are trying to generate would also be useful, and the context (sitemap
> snippet, xsl etc).
>
>
> Andrew.
>
> --
> Andrew Savory                                Email: [EMAIL PROTECTED]
> Managing Director                              Tel:  +44 (0)20 8553 6622
> Luminas Internet Applications                  Fax:  +44 (0)870 28 47489
> This is not an official statement or order.    Web:    www.luminas.co.uk
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to