cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seth M. Landsman" <s...@dworkin.net>
Subject Re: trying to get a simple XSP page working
Date Sat, 27 Jul 2002 19:40:13 GMT
Worked perfectly.  Thanks.  My code was cut and paste was the IBM
tutorial on XSP.  They probably used &lt;, instead of <, but that came
across in the HTML as a <.  At least that is my theory.

-Seth

On Sat, Jul 27, 2002 at 09:37:06PM +0200, Litrik De Roy wrote:
> The "less than" is being considered to be the beginning of an XML tag.
> 
> Either put the whole statement in a CDATA section or use an XML entity
> (&lt;) as explained in
> http://www.mail-archive.com/cocoon-users@xml.apache.org/msg10347.html
> 
> Litrik De Roy
> www.litrik.com
> 
> 
> ----- Original Message -----
> From: "Seth M. Landsman" <seth@dworkin.net>
> To: <cocoon-users@xml.apache.org>
> Sent: Saturday, July 27, 2002 9:00 PM
> Subject: trying to get a simple XSP page working
> 
> 
> > So I'm trying to get the following XSP page to work in cocoon.  I'm
> > pretty sure cocoon is properly configured, and the problem is in the
> > syntax of the XSP page.  However, I don't see how or where, so hopefully
> > someone can lend a clue and help me figure this out.
> >
> > Thanks,
> >  Seth
> >
> > XSP page is :
> >
> > <?xml version="1.0"?>
> > <?cocoon-process type="xsp"?>
> >
> > <xsp:page language="java" xmlns:xsp="http://apache.org/xsp">
> >
> > <page>
> > <title>some list</title>
> >
> > <xsp:logic>
> > for (int i=1; i<11; i++) {
> > <element><xsp:expr>i</xsp:expr></element>
> > }
> > </xsp:logic>
> > </page>
> >
> > </xsp:page>
> >
> > error message is :
> >
> > type fatal
> >
> > message Stopping after fatal error: The content of elements must consist
> > of well-formed character data or markup.
> >
> > description org.apache.cocoon.ProcessingException: Stopping after fatal
> > error: The content of elements must consist of well-formed character
> > data or markup.: org.xml.sax.SAXException: Stopping after fatal error:
> > The content of elements must consist of well-formed character data or
> > markup.
> >
> > sender org.apache.cocoon.servlet.CocoonServlet
> >
> > source Cocoon servlet
> >
> > stack-trace
> >
> > org.apache.cocoon.ProcessingException: Stopping after fatal error: The
> > content of elements must consist of well-formed character data or
> > markup.: org.xml.sax.SAXException: Stopping after fatal error: The
> > content of elements must consist of well-formed character data or
> > markup.
> > at
> 
> <snip/>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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