Doctype transformation

For technical support for all editions of CSS HTML Validator. Includes bug reports.
Post Reply
Gaston
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 1
Joined: Thu Feb 19, 2015 6:40 am

Doctype transformation

Post by Gaston » Thu Feb 19, 2015 7:31 am

Hello, I use Cse Html Validator 15, but, I've many error with the Doctype. Doctype seems be modified by the render engine of CSE. Why ?
Please see http://vide-greniers.org
Validator message export for "http://vide-greniers.org/":
Generated by CSE HTML Validator Professional v15.01 (https://www.htmlvalidator.com/)

1. Warning: Possibly misspelled words (7, 5 unique): AddThis (1x), départemen (1x), utility (1x), d'antiquaires (2x), Facebook (2x). NOTE: Validation terminated so not all words were checked. 103 total words checked (0 in comments).

2. Warning in line 2 at character 2: [65] This document's DOCTYPE is not a recognized DOCTYPE and may not be valid. Note that most DOCTYPEs are treated as being case-sensitive. The unrecognized DOCTYPE is: "<!DOCTYPE html PUBLIC "" "">". See the description of flag 65 in the documentation for more information and the list of recognized DOCTYPEs.

3. Error in line 2 at character 2: Found an extra document type declaration (<!DOCTYPE ... >). Every HTML and XHTML document should have one and only one document type declaration.

4. Warning in line 11 at character 19: The X-UA-Compatible meta tag may not have any effect if it is not immediately after the "head" start tag. Consider moving this meta tag immediately after the "head" start tag (this is also before the "title" element).
and here's the real source of page
!doctype html>
<html lang="fr">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="utf-8">
<title>Agenda des vide-greniers, brocantes et marchés aux puces</title>
CSE change it for
<!DOCTYPE HTML>
<!DOCTYPE html PUBLIC "" ""><HTML lang="fr"><HEAD><META content="IE=11.0000"
http-equiv="X-UA-Compatible">

<SCRIPT src="//s7.addthis.com/static/r07/menu174.js" type="text/javascript"></SCRIPT>

<SCRIPT src="//s7.addthis.com/static/r07/lang34/fr.js" type="text/javascript"></SCRIPT>

<SCRIPT src="//s7.addthis.com/static/r07/plugins/layers099.js" type="text/javascript"></SCRIPT>

<META http-equiv="X-UA-Compatible" content="IE=edge">
<META charset="utf-8">
<SCRIPT src="https://www.gstatic.com/pub-config/ca-p ... 8454082.js" type="text/javascript" async=""></SCRIPT>

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3453
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Doctype transformation

Post by Albert Wiersch » Thu Feb 19, 2015 1:16 pm

Hello,

I think you've come across a known issue/bug with the integrated web browser (that uses the Internet Explorer engine) where it doesn't return the correct HTML source to CSE HTML Validator. Unfortunately I have not come up with or discovered a solution to this problem and I have no idea why Internet Explorer's engine is not returning the correct HTML source to CSE HTML Validator. :(

What you can do is use another web browser and manually view the source then copy and paste it into CSE HTML Validator, or you can use File->Open from the Web to fetch the URL instead of using the integrated web browser.

I hope this helps.
Image
Albert Wiersch

Post Reply