Doctype transformation

For technical support for all editions of CSS HTML Validator. Includes bug reports.
Post Reply
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
Validator message export for "":
Generated by CSE HTML Validator Professional v15.01 (

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">
<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 PUBLIC "" ""><HTML lang="fr"><HEAD><META content="IE=11.0000"

<SCRIPT src="//" type="text/javascript"></SCRIPT>

<SCRIPT src="//" type="text/javascript"></SCRIPT>

<SCRIPT src="//" type="text/javascript"></SCRIPT>

<META http-equiv="X-UA-Compatible" content="IE=edge">
<META charset="utf-8">
<SCRIPT src=" ... 8454082.js" type="text/javascript" async=""></SCRIPT>

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

Re: Doctype transformation

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


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.
Albert Wiersch

Post Reply