Is JSP XML syntax support considered done yet?

I’m asking because even after I downloaded and installed latest version of Irida it shows errors in all my JSP pages. The funny thing is, all these pages were developed in IDEA 3.0 and it treats them correctly. But after I’ve installed IDEA 4.5 I lost support of XML syntax. I contacted IDEA customer support and they replayed that XML syntax is not supported officially and IDEA 3.0 supported them unofficially ;)
I still think that IDEA is the best development environment, but the lock of JSP XML syntax holds me back. I saw some effort to support it but it looks like it frozen now. Is it because designers consider it done or they planning in the future to continue on this project? If so when we could get working XML-like JSPs?

6 comments
Comment actions Permalink

In Irida you can use files with jspx extension for JSP XML syntax support.

0
Comment actions Permalink

I use jspx but ALL my pages marked red. I have no page from I created in IDEA 3.0 which is Ok. Many HTML tags marked red, etc... I guess it's because support of XML syntax is not done yet. That why I asked: is JSP XML syntax support considered done?

0
Comment actions Permalink

Hi,

It looks like you do not set the jsp namespace according to the spec
(post small page demonstrating the problem if you have still problems).

Evgeniy Strokin wrote:

I use jspx but ALL my pages marked red. I have no page from I created in IDEA 3.0 which is Ok. Many HTML tags marked red, etc... I guess it's because support of XML syntax is not done yet. That why I asked: is JSP XML syntax support considered done?


--
Maxim Mossienko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

You right, when I put xmlns="http://www.w3.org/1999/xhtml" in jsp:root many errors disappeared. But still there are some problems:
For example, I couldn't use any JSP tags (jsp:expression for example) in SCRIPT tag.
Also, shows error for HREF path, which is right, because this path is wrong from JSP location, but from HTML location which generated by this JSP the path is right. This is the case when you use struts, and put pages under WEB-INF, for example. This is a common practice, so I think you should allow at least ignore this error or maybe handle it somehow better. Also, if you put

$]]> on JSP it will show an error. May be I'm wrong, but I think this is valid part of XHTML.
So far this is it. I'll keep posted if I'll find something else.

Thanks,
Eugene

0
Comment actions Permalink

BTW: If I put no xmlns in jsp:root shouldn't it mean that any valid XML allowed? Sometimes JSP generate not HTML but some other XML, and very often I don't have the schema of generated XML. I think it is valid situation if you don't include xmlns attribute.

0
Comment actions Permalink

Hi,

You are right, please, file the JIRA request.

Evgeniy Strokin wrote:

BTW: If I put no xmlns in jsp:root shouldn't it mean that any valid XML allowed? Sometimes JSP generate not HTML but some other XML, and very often I don't have the schema of generated XML. I think it is valid situation if you don't include xmlns attribute.


--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.