W3C home > Mailing lists > Public > www-validator@w3.org > August 2011

Re: Validator does not report improperly terminated tags

From: David Dorward <david@dorward.me.uk>
Date: Tue, 2 Aug 2011 10:25:40 +0100
Cc: <www-validator@w3.org>
Message-Id: <66B976CB-F172-4C57-9DBE-40624E844F25@dorward.me.uk>
To: jpkozma@knology.net

On 1 Aug 2011, at 01:57, jpkozma@knology.net wrote:

> The attached document was submitted by a student of mine.  It includes paragraph tags that are terminated as empty elements, and as such, I don't think it should be considered valid under the strict DTD.

<!ELEMENT p %Inline;>

<!ENTITY % Inline "(#PCDATA | %inline; | %misc.inline;)*">

Paragraphs contain zero or more (various things). It is valid. (Nonsense, but still valid)

>  Nevertheless, the w3c validator reports it as valid.  Validator.nu does 
> report the improperly terminated paragraph tags as errors.

That looks like Appendix C checking. 


David Dorward
Received on Tuesday, 2 August 2011 09:26:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:04 UTC