[Bug 1828] Apparent PHP Parsing Failure

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1828





------- Additional Comments From azrealshelper@yahoo.com  2005-08-02 06:18 -------
(In reply to comment #1)
> It is likely that your script expects some HTTP headers the Validator does 
not 
> send, for example, the User-Agent header does not contain the 
string "Mozilla" 
> as it would for most browsers. Other than that there is no difference 
between a 
> browser loading your web site and the Validator doing it, so this can't be a 
> bug in the Validator.

Wouldn't it be safe to assume though, that all necessary headers are pre-
processed at my server before the file being checked as a URL submission is 
fully parsed for validation.

See, the source code that I viewed in the validator's results is completely 
missing an entire array of <option> form elements that are present post-
processing. Also, the validator is suggesting that the respective closing 
</select> tag is not present as well, and yet that is a static inclusion in 
the actual file, not even PHP generated, so this is where my suspicion begins 
to wonder whether this may actually be the result of some form of a bug.

I tried it in both the current version of the checker and the new, beta 
version and the new beta version did yield only one failed validation, as 
opposed to the 26 the current one had yielded.

Thanks for the reply, btw.

~Adrian

Received on Tuesday, 2 August 2005 06:18:45 UTC