Pierre Delisle wrote:


> 
> As "Bap" replied, you must make sure you "escape" content that can be
> interpreted by XML. Remember, this is an XML document that is being
> submitted to an XML parser.
> 
> By doing this:
> 
> <jsp:scriptlet>
> <![CDATA[
>     for(int i=0; i<6; i++)
>         out.println(i);
> ]]>
> </jsp:scriptlet>
> 
> It should work fine.
> 
> > When you asked me to report bugs I was not sure if you mneant for me to
> > enter them to bugrat - I created Bug Report #511 with synopsis
> > "Error in parsing scriptlet when jsp is in xml format " to describe this
> > problem.
> 
> Yes, bugrat is the preferred way to submit bug reports. If just submitted
> to the mailing list, they unfortunately run the chance to fall through the
> cracks.
> 
>     -- Pierre
Pierre and Bap - thanks for the clarification - as you point out the use
of CDATA is what I needed.
Now I finally understand the note in section 5.1.9 of the spec except
the section 5.5 it refers to is missing.
I do appreciate the help - as I said when I started this I dont always
find the spec easy to understand.

-- 
Thanks and Regards
Anne and Bill Moore
[EMAIL PROTECTED]
Remember: Life is too short to drink bad wine!!!

Reply via email to