W3C home > Mailing lists > Public > www-validator@w3.org > July 2004

RE: FW: Possible Validation Error

From: Sullivan, Bob RO Denver <Bob.Sullivan@ssa.gov>
Date: Mon, 12 Jul 2004 13:17:21 -0500
Message-ID: <1BA29D31A8EBEC46B3A4F9A1119E82560B44B8@sc13cd1.kc.ssa.gov>
To: 'Ville Skyttä' <ville.skytta@iki.fi>
Cc: "'www-validator@w3.org'" <www-validator@w3.org>, ot@w3.org, "Sullivan, Bob RO Denver" <Bob.Sullivan@ssa.gov>

Thank you for your reply, but I am afraid that I am such an amateur that I
do not understand how to properly use the tools to which you refered me.
However, we have noted something that may be a clue towards solving the
problem.  While this code does not work reliably:



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" 
      lang="en" 
      xml:lang="en">
<head>
  <meta http-equiv="Content-Type" 
        content="text/html; charset=utf-8" />
</head>


The following code DOES work reliably with the validator:



<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
</head>



I do not understand why this latter code works.  Is there anything wrong
with the first code?  Whatever insight you can provide would be greatly
appreciated.

Thanks,

Bob
-----Original Message-----
From: Ville Skyttä [mailto:ville.skytta@iki.fi] 
Sent: Friday, July 02, 2004 2:27 PM
To: Bob.Sullivan@ssa.gov
Cc: 'www-validator@w3.org'; ot@w3.org
Subject: Re: FW: Possible Validation Error


On Fri, 2004-07-02 at 21:48, Sullivan, Bob RO Denver wrote:

> I hope that you may be able to clarify thisf situation; if there is
anything
> that I can do, please do not hestitate to contact me.  I look forward to
> hearing from you.

I have no explanation, but in order to track down where the weirdness
happens it would be useful to try and debug whether the exact contents
sent by your browser differ between uploads when getting varying
results, ie. if the "e" -> "!" change of other unexpected things happens
already at your end.

A couple of free tools which can be used for this:
Ethereal: http://www.ethereal.com/
ngrep: http://ngrep.sourceforge.net/
Received on Monday, 12 July 2004 14:17:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:14 GMT