Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

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 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.