Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Content is not allowed in prolog

    Hi

    I have just started working with SmartGWT.
    So... I was able to compile and run successfully my first application.
    Everything went very smoothly.
    However...

    In Eclipse in "[My module]/sc/schema" directory, all the .XML files have error:
    "Content is not allowed in prolog"

    The application is working fine. But it is extremely annoying to have such error inside the eclipse project.
    It is possible to get rid of this error manually by editing every file: Ctrl+A, Ctrl+X, Save, Ctrl+V, Save. So it is not content problem.

    The example of such file is:
    Validator.ds.xml
    and inside the file it begins with:
    "isc.DataSource.create({
    ID:"Validator",
    addGlobalId:"false",
    fields:{
    type:{type:"string"},
    ..."

    How to get rid of this error?

    Thanks in advance
    Marcin
    Last edited by Marcin Piechota; 7 Jan 2010, 11:43.

    #2
    Solved (partially)

    It is probably an Eclipse bug.

    How to remove the error tag:
    The simplest way -> Adding files to version control (at least with Git) removes the error tag.

    Comment


      #3
      I am having the same issue.

      Eclipse is 3.4

      Alex

      Comment

      Working...
      X