-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)
--- Begin Message ---
On Sun, 2005-09-11 at 11:07 -0400, Tim Williams wrote:
> I was getting a similar error yesterday and build clean; build and
> re-deployed all plugins and it magically worked.  You probably tried
> this already but doing that up front would have saved me some time so
> I thought I'd throw it out there.
> --tim

I just did that again but still I see the error.

Can you paste the nugget-contract that is working for you, where you
include an external url into a contract?

Like:
<forrest:contract name="content-feeder">
    <forrest:properties contract="content-feeder">
      <forrest:property name="content-feeder"
nugget="get.nugget.feeder">
        <url>aggregateDescriptor.rss.xml</url>
      </forrest:property>
    </forrest:properties>
</forrest:contract>

<xsl:template name="content-feeder-body" >
 <xsl:param name="content-feeder"/>
  <xsl:apply-templates select="$content-feeder/document"/>              
</xsl:template>

TIA

salu2
> 
> On 9/11/05, Thorsten Scherler <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > 
> > I have some problems with nugget contracts. It seems that the xinclude
> > is not working properly or does not get picked up on the last
> > transformation step. The *.page match contains the include but with
> > namespaces:
> > <forrest:contract name="content-feeder">
> >     <forrest:properties contract="content-feeder">
> >      <forrest:property xmlns:alias="http://www.w3.org/1999/XSL/Transform"; 
> > xmlns:xi="http://www.w3.org/2001/XInclude"; name="content-feeder">
> >         ...
> >      </forrest:property>
> >     </forrest:properties>
> > </forrest:contract>
> > 
> > Now on the *.html match I get the error.
> > ERROR   (2005-09-11) 16:48.14:861   [access] (/index.html)
> > PoolThread-4/CocoonServlet: Internal Cocoon Problem
> > org.apache.cocoon.ProcessingException: Failed to process pipeline
> >         at [cause location] - cocoon://prepare.include.xhtml.index:16:61
> >         at <map:serialize type="xml"> -
> > file:/home/thorsten/apache/forrest-trunk/build/plugins/org.apache.forrest.plugin.internal.view/internal.xmap:219:36
> >         at <map:serialize type="xhtml"> -
> > file:/home/thorsten/apache/forrest-trunk/build/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/output.xmap:255:36
> >         at <map:transform> -
> > file:/home/thorsten/apache/forrest-trunk/build/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/output.xmap:254:72
> >         at <map:transform> -
> > file:/home/thorsten/apache/forrest-trunk/build/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/output.xmap:251:61
> >         at <map:generate> -
> > file:/home/thorsten/apache/forrest-trunk/build/plugins/org.apache.forrest.plugin.output.viewHelper.xhtml/output.xmap:250:46
> >         at <map:mount> -
> > file:/home/thorsten/src/testSeed/build/tmp/output.xmap:38:152
> >         at <map:mount> -
> > file:/guada/home/thorsten/apache/forrest-trunk/main/webapp/sitemap.xmap:554:113
> >         at org.apache.cocoon.ProcessingException.throwLocated(Unknown
> > Source)
> > ...
> > Caused by: javax.xml.transform.TransformerException:
> > java.lang.ClassCastException: org.apache.xpath.objects.XString
> >         at
> > org.apache.cocoon.transformation.TraxTransformer.endDocument(Unknown
> > Source)
> >         at
> > org.apache.cocoon.environment.internal.EnvironmentChanger.endDocument(Unknown
> >  Source)
> >         at
> > org.apache.cocoon.sitemap.DefaultContentAggregator.generate(Unknown
> > Source)
> >         ... 56 more
> > Caused by: javax.xml.transform.TransformerException:
> > java.lang.ClassCastException: org.apache.xpath.objects.XString
> >         at
> > org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2416)
> >         at
> > org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:392)
> >         at
> > org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:246)
> >         at
> > org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
> > 
> > I wrote a new siteinfo-meta contract and thought it is because of the
> > contract, but I then tried our feeder contract and that is not working
> > either.
> > 
> > I am debugging that now if somebody has an idea what is going on or
> > which recent changes are may the cause, please, speak up. ;-)
> > 
> > salu2
> > --
> > thorsten
> > 
> > "Together we stand, divided we fall!"
> > Hey you (Pink Floyd)
> > 
> >
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)

--- End Message ---

Reply via email to