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


quicksketch’s picture

Yes it is intentional, it's to follow the suggested microformat for representing a file. See

quicksketch’s picture

Well 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.

quicksketch’s picture

Status: Active » Fixed

I've moved the length attribute to be part of the type attribute per the changes above.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.