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?
Please sign in to leave a comment.
In Irida you can use files with jspx extension for JSP XML syntax support.
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?
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:
--
Maxim Mossienko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
You right, when I put xmlns="http://www.w3.org/1999/xhtml" in jsp:root many errors disappeared. But still there are some problems:
$]]> on JSP it will show an error. May be I'm wrong, but I think this is valid part of XHTML.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
So far this is it. I'll keep posted if I'll find something else.
Thanks,
Eugene
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.
Hi,
You are right, please, file the JIRA request.
Evgeniy Strokin wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"