W3C home > Mailing lists > Public > www-validator@w3.org > April 2006

XML or SGML?

From: Grant, Melinda <melinda.grant@hp.com>
Date: Tue, 18 Apr 2006 16:13:48 -0700
Message-ID: <E7284FFB4887E745BE5D33625E9AEEB0021AC237@cacexc10.americas.cpqcorp.net>
To: <www-validator@w3.org>
Hello,
 
The file at http://www.savagecreek.net/CSS/002.htm fails validation with
0 errors.
 
The following warning is provided:
 The MIME Media Type (text/html) for this document is used to serve both
SGML and XML based documents, and it is not possible to disambiguate it
based on the DOCTYPE Declaration in your document. Parsing will continue
in SGML mode.
followed by:
 Namespace "" found, but document type is not XML!
 
However, the document preface includes:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML-Print 1.0//EN"
      "http://www.w3.org/MarkUp/DTD/xhtml-print10.dtd">
 
So I'm not sure why the validator is assuming SGML?  Any help would be
appreciated.
 
Best wishes,
 
Melinda

  _____ 

HP  -   Melinda Grant
Connectivity Standards 
Consumer Printing and Imaging
+1 (541) 582-3681
melinda.grant@hp.com   
  _____ 



 
Received on Tuesday, 18 April 2006 23:15:28 GMT

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