facebook

Javascript validation on 8.6

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

    Kevin Hunter
    Member

    After updating to 8.6, I’m getting all kinds of complaints out of the Javascript validator on package.html files. Any time the validator encounters something like {@link …} in the HTML, it complains – apparently about the opening curly brace, since removing that shuts it up. (And breaks the Javadoc, of course).

    Shouldn’t the validator be smart enough to realize that those constructs are
    (a) Perfectly valid HTML sequences, since they’re not inside a <script> tag
    (b) Normal Javadoc stuff?

    I’ve had to disable Javascript validation to keep from getting snowed under by incorrect validation errors…

    #312259 Reply

    support-joy
    Member

    khunter,

    Sorry to hear you are running into this issue. Can you please answer below queries –
    1 Can you copy and paste your installation details? Open MyEclipse > Installation Summary > Installation Details
    2. ?You mention updating to 8.6, what was your previous ME version? And how did you update to 8.6?
    3. Is it possible for you to send a sample project / javascript file which is causing issue? This will help me replicate the same here. You can send a mail to support@genuitec.com with above weblink as reference and add ATTN:Joy in the subject, this will help in quick tracing
    4. Also include screenshots which will help me get a visual

    Sorry for the inconvenience.

    #312343 Reply

    support-joy
    Member

    The solution is to edit the .project file and add add the following element to the <natures> element at the end of all the natures listed

    <nature>org.eclipse.wst.jsdt.core.jsNature</nature>

    , then close and reopen your project and validate it – the errors should now disappear.

    Please note that this issue is fixed in 9.0M1. It will also be fixed in the upcoming 8.6.1 release due in a week or two.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Javascript validation on 8.6

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