W3C home > Mailing lists > Public > www-html@w3.org > June 2005

Re: Comments on XHTML 2.0 document conformance requirements

From: Herbert Schiemann <h.schiemann@laemmerzahl.de>
Date: Wed, 15 Jun 2005 09:44:08 +0200
Message-ID: <42AFDC48.7020802@laemmerzahl.de>
To: www-html@w3.org

Henri Sivonen is right. To avoid confusion about redirection the example 
should be

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/2002/06/xhtml2/" xml:lang="en">
    <head>
      <title>Virtual Library</title>
    </head>
    <body>
      <p>The Virtual Library</p>
    </body>
</html>

To use entities without a "legacy" DOCTYPE declaration it shold be 
possible to write

<?xml version="x.x" encoding="UTF-8"?>
<!DOCTYPE
[
   <!ENTITY virtlib "Virtual Library">
]>
<html xmlns="http://www.w3.org/2002/06/xhtml2/" xml:lang="en">
    <head>
      <title>&virtlib;</title>
    </head>
    <body>
      <p>The &virtlib;</p>
    </body>
</html>

or simply

<?xml version="x.x" encoding="UTF-8"?>
<!ENTITY virtlib "Virtual Library">
<html xmlns="http://www.w3.org/2002/06/xhtml2/" xml:lang="en">
    <head>
      <title>&virtlib;</title>
    </head>
    <body>
      <p>The &virtlib;</p>
    </body>
</html>

But this is a problem for the XML working group.
--
Herbert Schiemann
mailto:h.schiemann@laemmerzahl.de
Received on Thursday, 16 June 2005 01:31:09 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:19:03 UTC