Test Case sc4.1.1_l1_003: Validity error: elements out of order

Formal Metadata

Formal Metadata
TitleValidity error: elements out of order
DescriptionAn XHTML file that is well-formed but not valid because the first definition dd element ("definition description") appears before the first dt, which is not allowed by the specification. As a consequence, the first definition appears before the term that it defines. Validity is a requirement for 'Strictly Conforming Documents' (see http://www.w3.org/TR/2002/REC-xhtml1-20020801/#strict) but not for well-formedness.
CreatorBenToWeb (Christophe.Strobbe@…)
RightsCopyright BenToWeb 2005-2007
LanguageEnglish
Date2005-10-05
Statusrejected QA

Technologies and Features

Technologies are markup languages or data formats. If the technology is a markup language, “features” refers to elements and attributes.

XHTML™ 1.0 The Extensible HyperText Markup Language (Second Edition)

XHTML™ 1.0 The Extensible HyperText Markup Language (Second Edition)

Feature: dl (namespace: http://www.w3.org/1999/xhtml) .

Technical specification: Strictly Conforming Documents .

Feature: dt (namespace: http://www.w3.org/1999/xhtml) .

Technical specification: Strictly Conforming Documents .

Feature: dd (namespace: http://www.w3.org/1999/xhtml) .

Technical specification: Strictly Conforming Documents .

Test Data

Purpose

This test case is intended to fail because the markup is not valid and one of the definitions for the defined term comes before the term itself.

Test Modes

Automatic evaluation.

Test Files

Test file.

TCDL Data

sc4.1.1_l1_003 (XML).

Rules

“Rules” refer to success criteria in WCAG 2.0, checkpoints in WCAG 1.0 and similar requirements.

Primary Rules

The test case fails the following success criterion at line 10, column 5: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#ensure-compat-parses.

Functional Outcome

The order of the definition description and the definition term is not correct.

Technical Comment

The document is well-formed, but not valid.

Secondary Rules

Secondary Rule (WCAG 2.0 - February 2005 Editor's Draft)

The test case fails the following success criterion at line 10, column 5: http://www.w3.org/WAI/GL/WCAG20/WD-WCAG20-20050211/#4.1_use-spec-avoid-spec-no-exception.

Functional Outcome

The order of the definition description and the definition term is not correct.

Technical Comment

The document is well-formed, but not valid.