Closed (fixed)
Project:
FileField
Version:
6.x-3.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2009 at 08:07 UTC
Updated:
23 Apr 2009 at 16:20 UTC
The w3c validator complains about the "length" attribute:
Error Line 244, Column 407: Attribute "length" is not a valid attribute. Did you mean "maxlength" or "content"?
….pdf" type="application/pdf" length="327892" title="NP_7+1_ENG.pdf">Press Rel
Comments
Comment #1
quicksketchYes it is intentional, it's to follow the suggested microformat for representing a file. See http://microformats.org/wiki/file-format-examples
Comment #2
quicksketchWell after looking at the MicroFormats page extensively I realized the "length" attribute was most likely mistyped in the way it was represented. I've updated the page (it's a wiki after all) to move the length attribute inside of "type", so that it is proper HTML and matches the description prior to the code example. I'll make a the code change to FileField to match this.
Comment #3
quicksketchI've moved the length attribute to be part of the type attribute per the changes above.