Can I edit XHTML-based JSP's and get the combined features of JSP and XHTML?

Can I configure IDEA 3.0.5 (build 706) to enable both JSP and XML editing features at the same time? I've been wondering this for a year or so and have never found an answer.

I would really appreciate anyone who takes the time to answer.

Thanks!

Ben

2 comments

This would be a nice feature indeed, I was thinking about
this myself.

Proper XHTML parsing/support I don't think is possible
though. The JSP code is outputing XHTML fragments and
the final page is valid XHTML, the source may or may
not be valid.

Some incomplete HTML/XHTML support should be possible,
even if not perfect.

In order to validate generated XHTML it would be nice
if a validator could be implemented as a filter and
this filter could be enabled/installed only in development
mode. Does anyone know of such a filter?

Marius

Ben Galbraith wrote:

Can I configure IDEA 3.0.5 (build 706) to enable both JSP and XML editing features at the same time? I've been wondering this for a year or so and have never found an answer.

I would really appreciate anyone who takes the time to answer.

Thanks!

Ben


0

Proper XHTML parsing/support I don't think is
possible
though. The JSP code is outputing XHTML fragments and
the final page is valid XHTML, the source may or may
not be valid.


Actually, I was thinking more about context-aware editing options for the JSP source, and less about validating the output as valid XML (although that would be cool, too).

JSP has an alternate syntax that is both well-formed and valid against an XML/JSP schema. So, I am very much concerned about finding out how to get IDEA to give me both all the JSP and the XML features when I edit in such a mode.

Some incomplete HTML/XHTML support should be
possible,
even if not perfect.


Exactly. It would be extra-cool if IDEA would allow such features while creating non-XML JSPs.

0

Please sign in to leave a comment.