facebook

JavaScript with xml syntax error

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #347120 Reply

    Bili Peles
    Participant

    We migrate from MyEclipse blue 8.6 to 2014
    On of the JavaScript files contains the xml parts like this:
    <!–@IDBAnnotation IDBFunction isChosen() –>
    In the previous version string like this did not cause any syntax error.
    but in the MyEclipse blue 2014 we have syntax error for every such string.
    Are there any preferences on the workspace level or properties on the project level for solving the problem[/size]

    #347169 Reply

    yaniv_illouz,

    I’m not very much familiar with the XML coding in javascript files. But, I suggest you to take a look at this thread which explains adding the xml code which is preceded with three slash marks (///) to the javascript file.

    If that doesn’t help you, you can exclude the javascript file from validation at project level and also at workspace level. At project level, you can achieve it by right clicking on the project and select Properties > MyEclipse > Validation > Excluded resources, select the files you want to exclude from validation and click Apply and Ok.

    If you want to disable the javascript validation at workspace level, you can do this by navigating to Window > Preferences > MyEclipse > Validation > uncheck both build and manual options for ‘Javascript validator for JS files’ > Click Apply and Click Ok.

    Hope this helps and let us know if you see any issues.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JavaScript with xml syntax error

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