cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: Logicsheet declaration bug?
Date Sat, 20 Apr 2002 03:58:29 GMT
> From: Jeremy Crosbie [mailto:jeremy@go2.com]
> 
> 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'?

Because that is "legacy" behavior which I left intact? ;)

Nevermind. I fixed this in the CVS.

Vadim


> > -----Original Message-----
> > From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net]
> > Sent: Friday, April 19, 2002 4:56 PM
> > To: cocoon-users@xml.apache.org
> > Subject: RE: Logicsheet declaration bug?
> >
> > > From: Jeremy Crosbie [mailto:jeremy@go2.com]
> > >
> > > 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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message