Hi,
section 7.4.1 of the JSP Spec. 1.1 PR defines the XML element type
jsp:declaration as
<! ELEMENT jsp:declaration (#PCDATA) >
This may not be possible in all cases. Consider
<%! boolean b = f[g[6]]>4; %>
where f and g are arrays defined earlier. This gets translated into
<jsp:declaration> <![CDATA[boolean b = f[g[6]]>4;]]> </jsp:declaration>
^^^
ERROR!!
An ugly solution is to split the declaration into two CDATA sections:
<![CDATA[boolean b = f[g[6]]]><![CDATA[]>4;]]>
Scriplets and expressions have the same problem.
volker turau
FH Wiesbaden Fachbereich Informatik
Tel.: +49-611-9495-205 FAX +49-611-9495-210
http://www.informatik.fh-wiesbaden.de/~turau
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html