W3C home > Mailing lists > Public > www-validator@w3.org > November 2001

Internal DTD

From: Kraus, Jeff <Jeff.Kraus@deg.state.wi.us>
Date: Tue, 13 Nov 2001 15:51:45 -0500 (EST)
Message-ID: <28EDA1B41BC1D411BDEA00D0B71DBF84531ECD@doamail04.doa.state.wi.us>
To: "'www-validator@w3.org'" <www-validator@w3.org>
It tried to validate an XML document with an internal DTD as XHMTL and it
complained about a reference to an external entity file.

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html [

<!ENTITY % OEBEntities PUBLIC "+//ISBN 0-9673008-1-9//DTD OEB 1.0
Entities//EN"  "dtds\oeb1.ent">
%OEBEntities;

]>
<html>

The error was

Line 6, column 0: 
  %OEBEntities;
  ^
Error: document instance must start with document element 



Jeffrey Kraus-yao, MCSD
IS Systems Development Services Senior
Department of Electronic Government
State of Wisconsin
608-267-3827
Received on Friday, 16 November 2001 15:49:34 GMT

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