“Validate by File Upload”, revalidation problem

Sorry, I didn't check if that's already been reported:

There's a problem with file upload [1] revalidation; testing local HTML and XHTML files revealed that validation first succeeds, then fails when testing the same file using the “revalidate” option on the next page again:

  This page is not Valid (no Doctype found)!

  Error Line 1, Column 0: end of document in prolog.

Quickly comparing the “file upload” page with the revalidation page showed that the “form” element on the latter misses the “enctype="multipart/form-data"” used before; probably the problem since default is “application/x-www-form-urlencoded” [2].

I (temporarily) uploaded a test file [3].

[1] http://validator.w3.org/#validate_by_upload
[2] http://www.w3.org/TR/html4/interact/forms.html#adef-enctype
[3] http://hell.meiert.org/temp/test.html

Jens Meiert

Received on Thursday, 11 October 2007 09:17:48 UTC