W3C home > Mailing lists > Public > www-validator@w3.org > October 2007

“Validate by File Upload”, revalidation problem

From: Jens Meiert <jens.meiert@erde3.com>
Date: Thu, 11 Oct 2007 11:17:34 +0200
Message-ID: <20071011091734.210720@gmx.net>
To: www-validator@w3.org

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
http://meiert.com/en/
Received on Thursday, 11 October 2007 09:17:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:05 UTC