After having installed formspider 1.9 for tests and learning, when i use the tag <image>, like in the online exemples, i obtain always the error

cvc-complex-type.2.4.a: Invalid content was found starting with element 'img'. One of '{"":grid, "":textLabel, "":button, "":menuButton, "":map, "":checkBox, "":comboBox, "":dateField, "":fileUpload, "":list, "":passwordField, "":radioButton, "":textArea, "":textField, "":lovField, "":formattedField, "":tree, "":calendar, "":image, "":htmlRenderer, "":htmlEditor, "":hyperLink, "":line, "":box, "":xyChart, "":categoryChart, "":pieChart, "":gaugeChart, "":include, "":currentPage, "":totalPage, "":firstPage, "":previousPage, "":nextPage, "":lastPage}' is expected. At Line: 9 , Column: 62

this is my code:

<panel>
  <tableLayout>
    <row height="50">
      <cell hAlign="Left" vAlign="Center" childHeight="50" childWidth="300">
        <textLabel label="Teste" />
      </cell>
      <cell>
        <image url="/GD/Images/logotipo.png">
        </image>
      </cell>
    </row>
  </tableLayout>
</panel>

I believe it's something that i have because when i connect to the IDE online it Works fine. Thanks JN

asked 19 Nov '15, 07:33

Jose%20Napoles's gravatar image

Jose Napoles
111
accept rate: 0%

edited 19 Nov '15, 09:29

Yalim%20Gerger's gravatar image

Yalim Gerger ♦♦
1.8k5


Hi Jose,

It seems to me that you are typing img instead of image as the tag name. The correct tag name is image.

I was able to get the exact same error when I typed img as the tag name.

Hope this helps.

Kind Regards,
Yalim

link

answered 19 Nov '15, 09:38

Yalim%20Gerger's gravatar image

Yalim Gerger ♦♦
1.8k5
accept rate: 15%

Problem resolved. I don't know if it´s help any thing but i was using Edge browser instead of the IE browser. With IE and Mozilla Works fine.

More, using the Edge, even with the code that i put in the message, when we press the "Format" button, it changes the line " <image url="/GD/Images/logotipo.png"/>" to " " automaticaly. Whith IE or Mozilla this doesn't happen. Thanks. JN

link

answered 19 Nov '15, 10:12

Jose%20Napoles's gravatar image

Jose Napoles
111
accept rate: 0%

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:

×10

Asked: 19 Nov '15, 07:33

Seen: 696 times

Last updated: 19 Nov '15, 10:12


© Copyright Gerger 2017