W3C home > Mailing lists > Public > www-validator@w3.org > October 2002

Beta: XHTML 1.0 in XML Schema

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 27 Oct 2002 11:36:39 +0100
To: www-validator@w3.org
Message-ID: <3dbebf4c.161759658@smtp.bjoern.hoehrmann.de>

Hi,

  The following XHTML document

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/2002/08/xhtml/xhtml1-strict.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.w3.org/1999/xhtml

http://www.w3.org/2002/08/xhtml/xhtml1-strict.xsd">
    <head><title></title></head><body><p>...</p></body>
  </html>

(located at <http://www.bjoernsworld.de/temp/xhtml1-schema.html>) should
vaidate as valid according to the associated document type definition (I
am not sure whether to call it a valid XHTML 1.0 Strict document due to
the informative nature of the http://www.w3.org/TR/xhtml1-schema/ note).
The validator says it's invalid XHTML 1.0 Strict, see

  http://validator.w3.org:8001/check?uri=http%3A%2F%2Fwww.bjoernsworld.de%2Ftemp%2Fxhtml1-schema.html

the same document with modified attribute declarations in the internal
subset

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" [
  <!ATTLIST html
      xmlns:xsi CDATA #FIXED "http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation CDATA #IMPLIED
  >
  ]>
  <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.w3.org/1999/xhtml

http://www.w3.org/2002/08/xhtml/xhtml1-strict.xsd">
    <head><title></title></head><body><p>...</p></body>
  </html>

(located at <http://www.bjoernsworld.de/temp/xhtml1-schema-inline.html>)
*does* validate as XHTML 1.0 Strict, see

  http://validator.w3.org:8001/check?uri=http%3A%2F%2Fwww.bjoernsworld.de%2Ftemp%2Fxhtml1-schema-inline.html

That's unsatisfactory.

regards.
Received on Sunday, 27 October 2002 05:36:28 GMT

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