Skip to main content
Participant
March 14, 2017
Question

W3C Validation Yields Different Results on Different Computers with Same Settings in Dreamweaver

  • March 14, 2017
  • 2 replies
  • 528 views

My co-worker and I are both using Dreamweaver CC 2015, and attempting to validate pages for XHTML compliance using the integrated W3C validation tool.

We both have it set to use HTML5 if no DOCTYPE is detected, to display errors and warnings, and with no errors or warnings filtered.

The documents we're validating DO include XHTML DOCTYPEs, so I'd expect the same results regardless of the computer that the code was being validated on, but we're getting drastically different results.

When he validates a particular document, he gets no errors or warnings while I get 22 errors and 3 warnings (all errors and warnings appear with "[none]" at the end of their descriptions rather than "[XHTML 1.0 Transitional]" as errors and warnings appear for him on other documents).

When I use the W3C's online validator (The W3C Markup Validation Service ) rather than going through Dreamweaver, and validate by direct input, I get no errors.

Would there be another setting somewhere besides Edit > Preferences > W3C Validator that would be affecting my results?

Thanks,

Michael Murawski

This topic has been closed for replies.

2 replies

Nancy OShea
Community Expert
Community Expert
March 14, 2017

Can I ask why you're still using the old XHTML doc type? 

HTML5 is the defacto web standard.  It has been in place since October 2014.

There are 2 validation services now.  NU is specifically for HTML5 doc types and the old one checks  X/HTML docs.   See links below.

HTML - http://validator.w3.org/

HTML5 - https://validator.w3.org/nu/

Depending on which DW version and build you have, your validation tool might be using the old one or the new one.  I can't remember when/if they sent out a validation service update for 2015.  

Nancy

Nancy O'Shea— Product User & Community Expert
Participant
March 15, 2017

Hello Nancy,

Thanks for your reply.

We are using XHTML because we are producing MS Help Viewer help, which requires XHTML-compliant files for its content.  It is my understanding that HTML5 is not as strict as XHTML, and therefore validating for HTML5 may not be sufficient.  Also, HTML5 includes functionality that may not be supported in Help Viewer help files.

It's sort of a hassle to use the external validation service since we have many files that need regular validation, so I was really hoping to bring the two computers into alignment.

Mike.

Legend
March 14, 2017

Cult_Leader  wrote

My co-worker and I are both using Dreamweaver CC 2015, and attempting to validate pages for XHTML compliance using the integrated W3C validation tool. 

We both have it set to use HTML5 if no DOCTYPE is detected, to display errors and warnings, and with no errors or warnings filtered.

The documents we're validating DO include XHTML DOCTYPEs, so I'd expect the same results regardless of the computer that the code was being validated on, but we're getting drastically different results. 

When he validates a particular document, he gets no errors or warnings while I get 22 errors and 3 warnings. 

When I use the W3C's online validator (The W3C Markup Validation Service ) rather than going through Dreamweaver, and validate by direct input, I get no errors. 

Would there be another setting somewhere besides Edit > Preferences > W3C Validator that would be affecting my results?

Thanks,

Michael Murawski

I dont think the integrated validation tool was ever to be taken that seriously. Its best to check final validation on the W3c site.