Yeah, I noticed that in the logicsheet.xsp but it wasn't obvious nor documented, at least not as far as I could tell. Why is this considered a 'feature'?
> -----Original Message----- > From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 19, 2002 4:56 PM > To: [EMAIL PROTECTED] > Subject: RE: Logicsheet declaration bug? > > > From: Jeremy Crosbie [mailto:[EMAIL PROTECTED]] > > > > Here is an XSP with a logicsheet declaration using a processing > instruction > > that works fine: > > > > <?xml version="1.0"?> > > <?xml-logicsheet href="movies/logicsheets/movies.xsl"?> > > <xsp:page > > xmlns:xsp="http://apache.org/xsp" > > xmlns:esql="http://apache.org/cocoon/SQL/v2" > > xmlns:movies="http://www.go2.com/movies > > <page> > > <movies:movie-names /> > > </page> > > </xsp:page> > > > > However using an <xsp:logicsheet/> element below fails to recognize > the > > logicsheet. No errors, just a blank page is returned: > > > > <?xml version="1.0"?> > > <xsp:page > > xmlns:xsp="http://apache.org/xsp" > > xmlns:esql="http://apache.org/cocoon/SQL/v2" > > xmlns:movies="http://www.go2.com/movies"> > > > > <xsp:logicsheet location="movies/logicsheets/movies.xsl" /> > > > > <page> > > <movies:movie-names /> > > </page> > > > > </xsp:page> > > > > However, if I position the <xsp:logicsheet/> element *directly* after > the > > <xsp:page> element as below it works: > > > > <?xml version="1.0"?> > > <xsp:page > > xmlns:xsp="http://apache.org/xsp" > > xmlns:esql="http://apache.org/cocoon/SQL/v2" > > xmlns:movies="http://www.go2.com/movies"><xsp:logicsheet > > location="movies/logicsheets/movies.xsl" /> > > > > <page> > > <movies:movie-names /> > > </page> > > > > </xsp:page> > > > > Is this a known bug? I looked in the bug database to no avail. Can > someone > > please verify this? > > This is a known /feature/. See also sample shipped with Cocoon. > > Vadim > > > > > --jeremy > > > > > > > --------------------------------------------------------------------- > 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]>