[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 [...]?

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 UTC