-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Konstantin,

> Those are NOT comments. The JSP comments are <%-- --%>.
> 
> I think that if you switch to XML syntax for JSP pages (using jspx
> files instead of jsp), those will be treated as XML comments and
> properly ignored.

Apologies for not thinking about that: Pete, if you're not using XML
syntax (as I expected you were), then your complaint is not valid: your
JSP is /not/ an XML document.

If you use .jspx (I think?), then XML syntax will be acceptable.

> So I am sure that the above is not a Tomcat bug.

On the other hand, shouldn't the JSP compiler pass-through everything
except for directives? HTML is a common enough use case for JSP that
SGML comments ought to be tolerated in these cases.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrlyrsACgkQ9CaO5/Lv0PDDGACglcZR5X+kwfi1y2w82Sb5nuW5
hioAn1I2ZY0r3CZSanzU9TpMyHEXWfTr
=XZ+i
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to