My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 54: data attribute is not valid in XHTML1.0 Strict and HTML 4.01 Strict
1 person starred this issue and may be notified of changes. Back to list
Status:  Verified
Owner:  moo...@wwwendt.de
Closed:  Jan 2009


 
Project Member Reported by moo...@wwwendt.de, Nov 12, 2008
Validator says:
Line nn, Column nn: there is no attribute "data".

	<li data="{title: 'node1'}">node1</li>


You have used the attribute named above in your document, but the document
type you are using does not support that attribute for this element. This
error is often caused ...
Nov 17, 2008
Project Member #2 moo...@wwwendt.de
The key can be read from the ID.
Most of the other flags could as well be passed as class names.

Example:
  <li data="{key: '1234', isFolder: true, isLazy: true, expand: true }">title
Could be written as
  <li id="1234" class="folder lazy expand">
or
  <li id="ui-dynatree-id-1234" class="ui-dynatree-folder ui-dynatree-lazy
ui-dynatree-expand">

'tooltip' could be passed as title="".

Extended node attributes like "icon" or or custom attributes must stille be passed as
data="".
Labels: Milestone-Release0.3
Nov 30, 2008
Project Member #3 moo...@wwwendt.de
(No comment was entered for this change.)
Labels: -Milestone-Release0.3 Milestone-Release0.4
Jan 14, 2009
Project Member #4 moo...@wwwendt.de
The <li> syntax has been changed, so that in most cases no 'data' attribute is required.
Check the docs for details.
Status: Fixed
Jul 17, 2012
Project Member #5 moo...@wwwendt.de
considered verified
Status: Verified

Powered by Google Project Hosting