W3C home > Mailing lists > Public > www-validator@w3.org > April 2000

XHTML 1.1

From: Gerrit Holl <gerrit@nl.linux.org>
Date: Sun, 2 Apr 2000 18:50:23 +0200
To: www-validator@w3.org
Message-ID: <20000402185023.A28232@nl.linux.org>
Hello,

when trying to validate a document with an XHTML 1.1
DOCTYPE, validator.w3.org returns the following error:

----- cut here -----
<ul>
Uh oh! I got the following unknown error:

   /usr/local/bin/nsgmls:<URL>http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd:79:5:E: "SYSTEM" is not allowed as a reserved name here


Please make sure you specified the DOCTYPE properly!


    <p>
      You should make the first line of your HTML document a DOCTYPE
      declaration, like this:
    </p>

    <pre>
      &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"&gt;
      &lt;HTML&gt;
	&lt;HEAD&gt;
	  &lt;TITLE&gt;Title&lt;/TITLE&gt;
	&lt;/HEAD&gt;

	&lt;BODY&gt;
	  &lt;-- ... body of document ... --&gt;
	&lt;/BODY&gt;
      &lt;/HTML&gt;</pre>

    <p>
      Or, if you are using features from <a
      href="http://www.w3.org/TR/REC-html40/">HTML 4.0</a>,
      one of these:
    </p>

    <pre>
      &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"&gt;
      &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;
      &lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN"&gt;</pre>

</ul>
<hr>

  <p>
    Sorry, I can't validate this document.
  </p>
----- cut here -----

My document begins with:

----- cut here -----
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl">
----- cut here -----

The URL is:

----- cut here -----
http://www.nl.linux.org/~gerrit/test/v5.1/ (site in development)
----- cut here -----

Is this a bug in the validator or is it my fault?
I hope you can help me validating my document!

regards,
Gerrit.

-- 
1011001 1101111 1110101 1110010 1110011 0101100
1000111 1100101 1110010 1110010 1101001 1110100
Received on Sunday, 2 April 2000 12:53:35 GMT

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