Jump to content

Welcome! You're currently a Guest.

If you'd like to join in the Discussion, or access additional features in our forums, please sign in with your Evernote Account here. Have an Evernote Account but forgot your password? Reset it! Don't have an account yet? Create One! You'll need to set your Display Name before your first post.

Photo

error while updating a note with IMG tag

enml img unselectable

  • Please log in to reply
2 replies to this topic

#1 josi

josi

  • Pip
  • Title: Member
  • Group: Members
  • 6 posts

Posted 20 June 2012 - 11:11 AM

hi,

while I'm trying to update a Note content from my app, I get this error:

ENML_VALIDATION: Attribute "unselectable" must be declared for element type "img".

although my IMG tag does have unselectable="on" attribute (and it's just an <img src="..">, not a resource..).

here is what my IMG tag looks like:

<img src="....." unselectable="on" style="">

and here is the full content I'm trying to upload:

http://pastie.org/4119874

any hints are welcome.

j

#2 Julien Boedec

Julien Boedec

  • Title: Browncoat
  • Group: Evernote Employee
  • 407 posts

Posted 20 June 2012 - 04:13 PM

Removing the attribute unselectable should fix your problem and get the ENML accepted by the service.

#3 josi

josi

  • Pip
  • Title: Member
  • Group: Members
  • 6 posts

Posted 20 June 2012 - 04:25 PM

ah yes indeed this fixes it.

maybe it would be worth updating your error message so it does not say the contrary?

cheers,
j





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Clip to Evernote