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

Select an occulting spot

1.8 arc second diameter

3.0 arc second diameter ]]>

5 comments
Comment actions Permalink

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.

0
Comment actions Permalink

Ok, but I didn't get that memo. Could someone please make sure that they CC me on future changes of this type? ]]>

0
Comment actions Permalink

Hi,

It is parsed as XHTML right now (the latter does not allow empty
attributes and nonquoted attribute values)

Donald McLean wrote:

I have this JSP file (below). If I have the cursor in front of the <table> 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 > > > > > > > > > > > > > >
DetectorFilter Wheel 1Filter Wheel 2
HRC > > > >
> >

Select an occulting spot

> > > >

> 1.8 arc second diameter >

> 3.0 arc second diameter > ]]>



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

0
Comment actions Permalink

That's lovely, but what about the behaviour of the editor? The "hit return and nothing happens" problem?

0
Comment actions Permalink

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?

>

0

Please sign in to leave a comment.