Hi,

I am just creating a small simple test application with a single read-only table based datasource; my main panel is defined as follows (based on the grid in tutorial 45)...

<panel>
<tableLayout>
  <row>
    <cell docking="Center">
      <grid name="Grid" dataSource="ConflictClass1">
        <column headerLabel="Conflict Class">
          <textLabel column="CONFLICT_CLASS"/>
        </column>
        <column headerLabel="Description">
          <textField column="DESCRIPTION"/>
        </column>
      </grid>
    </cell>
  </row>
</tableLayout>

</panel>

The above will not validate or run since it generates the following error...

cvc-elt.1: Cannot find the declaration of element 'root'. At Line: 1 , Column: 141

Thanks,

Craig

asked 25 Apr '13, 01:53

Craig's gravatar image

Craig
1.1k141
accept rate: 6%

edited 25 Apr '13, 02:02

Further research suggests this is an XML schema validation issue.

(25 Apr '13, 03:06) Craig

This might be a firewall problem.
Can you check if your app server machine can open formspider.xsd file in a browser.
it's url should be "127.0.0.1:8080/formspider/formspider.xsd" assuming that you're opening fs apps with url "127.0.0.1:8080/formspider/main.html?oid=..."

(25 Apr '13, 08:42) oskansavli ♦♦

I've just unistalled and am going to a reinstall shortly to see if that helps.

However, prior to uninstalling I was not able to access the XSD at the URL you suggest but if I used "localhost" rather than "127.0.0.1" then I could access it.

Note that I can't access anything to do with FS when using 127.0.0.1 but localhost works for everything.

I will get back to you again once I've had chance to reinstall.

Thanks.

(25 Apr '13, 08:49) Craig

I resolved the issue; all I did was substitute 127.0.0.1 in the application URL with my actual machine hostname and this solved the problem.

Thanks,

Craig

link

answered 25 Apr '13, 13:55

Craig's gravatar image

Craig
1.1k141
accept rate: 6%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×85
×1
×1

Asked: 25 Apr '13, 01:53

Seen: 2,488 times

Last updated: 25 Apr '13, 13:55


© Copyright Gerger 2017