JSP Weirdness
I have this JSP file (below). If I have the cursor in front of the ]]> tag and hit return nothing happens.
Also, it says that the "ALIGN=LEFT" element is not closed and it says that the "Empty attribute CHECKED is not allowed".
1. Select one Camera and
the associated Filter(s):
ACCUM
ACQ
| Detector | Filter Wheel 1 | Filter Wheel 2 |
|---|---|---|
| HRC | <%@ include file="hrcimgfw1.jsp" %> | <%@ include file="hrcimgfw2.jsp" %> |
Select an occulting spot
1.8 arc second diameter
3.0 arc second diameter ]]>
请先登录再写评论。
Check your DTD at the top... according to standards, you have to have all attributes in lower case, values in quotations, and all attributes must be completed. In other words, it is no longer sufficient to say CHECKED... to conform to web standards, you must state checked = "checked", or disabled = "disabled".
If your DTD is set to, for example, STRICT, this will be enforced and IntelliJ will report that as an error. I'd imagine that's your problem.
Ok, but I didn't get that memo. Could someone please make sure that they CC me on future changes of this type? ]]>
Hi,
It is parsed as XHTML right now (the latter does not allow empty
attributes and nonquoted attribute values)
Donald McLean wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
That's lovely, but what about the behaviour of the editor? The "hit return and nothing happens" problem?
I think that is caused by an exception that is being eaten.
Donald McLean wrote:
>That's lovely, but what about the behaviour of the editor? The "hit return and nothing happens" problem?
>