W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2008

[Bug 5132] Inserted code when validating snippets has its own errors

From: <bugzilla@wiggum.w3.org>
Date: Fri, 22 Feb 2008 15:28:22 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1JSZp0-00010U-ON@wiggum.w3.org>


------- Comment #6 from ebrandon@cpha.ca  2008-02-22 15:28 -------
Hi ot@w3.org,

I think I know what the problem is - it occurs only when testing code snippets.

Below is what I tried to validate:


<h2>Resolutions &amp; Motions</h2>
  <li><a href="2000s/2006/final06e.pdf">2006 resolutions</a> (PDF: 25k)</li>
  <li><a href="2000s/2004/final04e.pdf">2004 resolutions</a> (PDF: 74k)</li>
  <li><a href="2000s/2003/final03e.pdf">2003 resolutions</a> (PDF: 145k )</li>
  <li><a href="2000s/2002/res2002e.pdf">2002 resolutions</a> (PDF: 313k)</li>
  <li><a href="2000s/2001/final01e.pdf">2001 resolutions</a> (PDF: 272k)</li>
  <li><a href="2000s/2000/PPLC_2000_eng.pdf">2000 resolutions</a> (PDF:
  <li><a href="1990s/list.htm#1999">1999 resolutions</a></li>
  <li><a href="1990s/list.htm#1998">1998 resolutions</a></li>
  <li><a href="2000s/2002/res2002e.pdf">1997 resolutions</a> (PDF: 142k)</li>
  <li><a href="2000s/2002/res2002e.pdf">1996 resolutions</a> (PDF: 106k)</li>
  <li><a href="2000s/2002/res2002e.pdf">1995 resolutions</a> (PDF: 109k)</li>
  <li><a href="archive.htm">Archives</a></li>


And below are the settings (I had expanded the more options button):


Use Doctype: XHTML 1.0 transitional


Validate HTML fragment was selected.

It should have ignored the Use Doctype.


I recall that this problem occurred by my bouncing back and forth between
testing snippets and complete pages, and not changing the Use Doctype value
setting.  IO believe this is a simple fix to make, to simply ignore this with
code snippets.

Hope this helps

- Ed
Received on Friday, 22 February 2008 15:28:30 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:31 UTC