W3C home > Mailing lists > Public > www-validator@w3.org > March 2007

DITA validation

From: Jeremy H. Griffith <jeremy@omsys.com>
Date: Fri, 09 Mar 2007 12:07:10 -0800
To: www-validator@w3.org
Message-ID: <56f3v2lilhmm913g4nkllqt5nis5a4ejbu@4ax.com>

The validation service doesn't care for OASIS PUBLIC DOCTYPEs,
as in:

<?xml version="1.0" encoding="utf-8"?>
<!--Arbortext, Inc., 1988-2006, v.4002-->
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN"
 "reference.dtd">

which is from an OASIS doc on DITA 1.1, or:

<?xml version="1.0" encoding="UTF-8" ?>
<?xml:stylesheet charset="UTF-8" href="local.css" type="text/css"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">

The nessage is:

  Sorry! This document can not be checked.
  Fatal Error: cannot find "reference.dtd"; tried 

  I could not parse this document, because it makes reference to 
  a system-specific file instead of using a well-known public 
  identifier to specify the type of markup being used. 

  You should place a DOCTYPE declaration as the very first thing in 
  your HTML document.

  ...

  For XML documents, you may also wish to include an "XML 
  Declaration" even before the DOCTYPE Declaration ...

The docs were uploaded as type text/xml from Opera 9.01.  
Any suggestions?

-- Jeremy H. Griffith, at Omni Systems Inc.
  <jeremy@omsys.com>  http://www.omsys.com/
Received on Monday, 12 March 2007 04:14:16 GMT

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