facebook

probable bug in JSP editor

  1. MyEclipse Archived
  2.  > 
  3. General
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #245047 Reply

    Ray Clough
    Member

    The new jspx validator shows an error where I don’t think it should.

    onclick=’setPrepOrder(“‘PrepareOrder”)’ shows a validation error, and changing the
    quote marks to:

    onclick=”setPrepOrder(‘PrepareOrder’)” validates OK. My belief is that both are OK.

    #245068 Reply

    Riyad Kalla
    Member

    Quotes were discussed quite a bit a long time ago (in 2.x series) and I believe the spec ended up saying that quotes start with double quotes on the outter most set and work their way in, even though some compilers may accept it the other way around.

    #245225 Reply

    Ray Clough
    Member

    That is interesting. I thought that the XML was valid either way, as long as it was consistent. Is the JSPX spec more restrictive, or what?

    #245227 Reply

    Riyad Kalla
    Member

    rcclough,
    I have no idea but if the spec does clarify that either way is supported I’ll point it out to the editor team to fix.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: probable bug in JSP editor

You must be logged in to post in the forum log in