You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Robert J. Lebowitz" <le...@finaltouch.com> on 2002/05/03 21:37:32 UTC

Stylesheet directed termination with a Resource Request?

This is a really strange problem.

I've just begun working with a set of documents in a sub site.  After
several iterations of playing with the wildcards, etc.  I was able to
deliver the documents just fine using one particular stylesheet that
converted my xml to html.

Then I substituted a different stylesheet to converts the xml to plain text,
and all hell broke loose.  My first assumption was that there was something
wrong with that style sheet, but when I tested it against the xml document
in a special editor I'm using (it uses the same .jar files as Cocoon for
testing purposes), everything worked fine.

Then I tried going back to the html transformation, and suddenly, it's
giving me Stylesheet directed termination errors too!  Oh, and here's the
best one.  I just randomly wanted to look at a .png graphic and it's giving
me Stylesheet errors too.   And I know for a fact that this particular
graphic is just fine because I tested the URLs, etc.  just a short while
ago.

I double check to see if I had reset the cocoon.xconf and xmap settings to
synchon and to reload; everything looks fine.  I restarted the tomcat
server, and cleaned out the work subdirectory, now my stuff is permantly
broken...

I have no idea what is going on here...



---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: Stylesheet directed termination with a Resource Request?

Posted by Vadim Gritsenko <va...@verizon.net>.
Robert:

Next time you see some error, try reading the log file. It has some
useful info in it; also sometimes it is too verbose.

Vadim

--
Resistance is futile. 

> -----Original Message-----
> From: Robert J. Lebowitz [mailto:lebowitz@finaltouch.com]
> Sent: Friday, May 03, 2002 4:09 PM
> To: cocoon-users@xml.apache.org
> Subject: Re: Stylesheet directed termination with a Resource Request?
> 
> Okay, I just learned that the problem was with my subsitemap xmap
file.
> 
> I neglected to include the bare minimal component references:
> 
>  <map:components>
>    <map:generators default="file"/>
>    <map:transformers default="xslt"/>
>   <map:serializers default="html"/>
>    <map:selectors default="browser"/>
>   <map:matchers default="wildcard"/>
>   <map:readers default="resource"/>
>  </map:components>
> 
> ----- Original Message -----
> From: "Robert J. Lebowitz" <le...@finaltouch.com>
> To: <co...@xml.apache.org>
> Sent: Friday, May 03, 2002 2:37 PM
> Subject: Stylesheet directed termination with a Resource Request?
> 
> 
> > This is a really strange problem.
> >
> > I've just begun working with a set of documents in a sub site.
After
> > several iterations of playing with the wildcards, etc.  I was able
to
> > deliver the documents just fine using one particular stylesheet that
> > converted my xml to html.
> >
> > Then I substituted a different stylesheet to converts the xml to
plain
> text,
> > and all hell broke loose.  My first assumption was that there was
> something
> > wrong with that style sheet, but when I tested it against the xml
document
> > in a special editor I'm using (it uses the same .jar files as Cocoon
for
> > testing purposes), everything worked fine.
> >
> > Then I tried going back to the html transformation, and suddenly,
it's
> > giving me Stylesheet directed termination errors too!  Oh, and
here's the
> > best one.  I just randomly wanted to look at a .png graphic and it's
> giving
> > me Stylesheet errors too.   And I know for a fact that this
particular
> > graphic is just fine because I tested the URLs, etc.  just a short
while
> > ago.
> >
> > I double check to see if I had reset the cocoon.xconf and xmap
settings to
> > synchon and to reload; everything looks fine.  I restarted the
tomcat
> > server, and cleaned out the work subdirectory, now my stuff is
permantly
> > broken...
> >
> > I have no idea what is going on here...
> >
> >
> >
> >
---------------------------------------------------------------------
> > 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: <co...@xml.apache.org>
> > For additional commands, e-mail: <co...@xml.apache.org>
> 
> 
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>


---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: Stylesheet directed termination with a Resource Request?

Posted by "Robert J. Lebowitz" <le...@finaltouch.com>.
Okay, I just learned that the problem was with my subsitemap xmap file.

I neglected to include the bare minimal component references:

 <map:components>
   <map:generators default="file"/>
   <map:transformers default="xslt"/>
  <map:serializers default="html"/>
   <map:selectors default="browser"/>
  <map:matchers default="wildcard"/>
  <map:readers default="resource"/>
 </map:components>

----- Original Message -----
From: "Robert J. Lebowitz" <le...@finaltouch.com>
To: <co...@xml.apache.org>
Sent: Friday, May 03, 2002 2:37 PM
Subject: Stylesheet directed termination with a Resource Request?


> This is a really strange problem.
>
> I've just begun working with a set of documents in a sub site.  After
> several iterations of playing with the wildcards, etc.  I was able to
> deliver the documents just fine using one particular stylesheet that
> converted my xml to html.
>
> Then I substituted a different stylesheet to converts the xml to plain
text,
> and all hell broke loose.  My first assumption was that there was
something
> wrong with that style sheet, but when I tested it against the xml document
> in a special editor I'm using (it uses the same .jar files as Cocoon for
> testing purposes), everything worked fine.
>
> Then I tried going back to the html transformation, and suddenly, it's
> giving me Stylesheet directed termination errors too!  Oh, and here's the
> best one.  I just randomly wanted to look at a .png graphic and it's
giving
> me Stylesheet errors too.   And I know for a fact that this particular
> graphic is just fine because I tested the URLs, etc.  just a short while
> ago.
>
> I double check to see if I had reset the cocoon.xconf and xmap settings to
> synchon and to reload; everything looks fine.  I restarted the tomcat
> server, and cleaned out the work subdirectory, now my stuff is permantly
> broken...
>
> I have no idea what is going on here...
>
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>


---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>