W3C home > Mailing lists > Public > www-html@w3.org > December 2007

Local entities in XHTML

From: Yves MARCOUX <Yves.MARCOUX@UMontreal.CA>
Date: Fri, 07 Dec 2007 12:11:39 -0500
Message-Id: <200712071711.lB7HBsdS026942@pruche.dit.umontreal.ca>
To: www-html@w3.org

Is it valid to include a local declaration subset in the DOCTYPE 
declaration of a XHTML document (e.g., for declaring an entity)? For example:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<!ENTITY ti "Nice title!">
<html xmlns="http://www.w3.org/1999/xhtml">

The online W3C validator understands and accepts it, but no browser 
interprets it correctly.

Who is right??

Thank you!

Yves Marcoux
Received on Saturday, 8 December 2007 18:48:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:17 UTC