cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Sergeant <m...@sergeant.org>
Subject Re: Please correct these errors
Date Wed, 14 Mar 2001 11:11:05 GMT
On Wed, 14 Mar 2001, Robin Green wrote:

> >Franklin Nwankwo wrote:
> > >
> > > Hi Stefano,
> > >
> > > Can you please correct or get someone to correct the basic HTML errors
> >in
> > > http://xml.apache.org/cocoon/xsp.html . There's a lot of java code
> >fragment
> > > that looks like this for (int i = 0; i &lt; languages.length; i++) ---
> > > associating html code should be for (int i = 0; i  &lt;
> >countries.length;
> > > i++)  not  for (int i = 0; i &amp;lt; countries.length; i++) . Yes this
> >is
> > > minor but it might confuse the uninitiated.
>
> No, I'm afraid you are the one who is confused. i < countries.length is
> illegal in XML. To solve this problem one must either use &lt; instead, or
> wrap the offending code as a CDATA section.

Or easier to work with, change the example to countries.length > i

-- 
<Matt/>

    /||    ** Founder and CTO  **  **   http://axkit.com/     **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
     \\//
     //\\
    //  \\


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message