- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Sun, 27 Oct 2002 11:36:39 +0100
- To: www-validator@w3.org
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 UTC