W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > March 2011

[Bug 12359] If the content model says it can only contain dt and dd elements then why does it say further down "if a dl contains [...] elements other than dt and dd [...]?

From: <bugzilla@jessica.w3.org>
Date: Fri, 25 Mar 2011 16:36:47 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Q3A0F-0004mv-I0@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12359

--- Comment #4 from Evert <evertvandansen@ymail.com> 2011-03-25 16:36:46 UTC ---
I understand the whole spec works like this, I just think it is somewhat
strange that invalid situations are mentioned without stating they are invalid.
The invalidity of this situation for example is only noticeable when you
compare it to its content model like the poster did, which resulted in his/her
confusion.
If I was to write a validator based on this information I wouldn't mark the
situation where the dl had an invalid child as invalid because it never says it
is anywhere. In fact the text seems to imply that it is possible. The only
information I get that it isn't is not clear about it and is ambiguous at best.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 25 March 2011 16:36:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 25 March 2011 16:36:49 GMT