Re: About tests 37-41 (headers) *wkey

Hi Chris

At 20:10 4/05/2006, Chris Ridpath wrote:
<quote>
(...)So all XML documents must be, at least, well formed.

But now on to H74 which applies to only HTML and XHTML:
"Ensuring that all id attribute values are unique for the document AND that 
opening and closing tags are used according to specification"

The "used according to specification" text must mean the tags must 
validate. I think it also means there must be a specification (DTD) present 
in the document.

The text "opening and closing tags" must mean all tags in the document. 
(Can a tag be anything other that an opening or closing tag?).

So does this mean that all HTML and XHTML documents must have a DTD and 
validate?
</quote>

Have you read the test procedure? It says:
1. Check that all id attribute values are unique.
2. Check that there are closing tags for all elements with required closing 
tags.
3. Check that there are no closing tags for all elements where closing tags 
are forbidden.
4. Check that opening and closing tags for all elements are correctly nested.

This is not a requirement for DTD validity.

Regards,

Christophe


-- 
Christophe Strobbe
K.U.Leuven - Departement of Electrical Engineering - Research Group on 
Document Architectures
Kasteelpark Arenberg 10 - 3001 Leuven-Heverlee - BELGIUM
tel: +32 16 32 85 51
http://www.docarch.be/ 


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Received on Thursday, 4 May 2006 18:32:51 UTC