Test Case sc4.1.1_l1_004: Well-formedness error: end tag without matching start tag

Formal Metadata

Formal Metadata
TitleWell-formedness error: end tag without matching start tag
DescriptionAn XHTML file that is not well-formed because there is an end tag (</div>) that has no matching start tag (<div>). This end tag occurs between the definition list and the end of the body element. This does probably not cause ambiguity but is not allowed by the specification.
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: body (namespace: http://www.w3.org/1999/xhtml) .

Technical specification: Documents must be well-formed .

Test Data

Purpose

This test case is intended to fail because the document is not well-formed: there is an end tag for an element that was never opened.

Test Modes

Accessibility expert.

Test Files

Test file.

TCDL Data

sc4.1.1_l1_004 (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 14, column 1: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#ensure-compat-parses.

Functional Outcome

The syntax of the document is not correct; there is an end tag for an element that was not opened.

Secondary Rules

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

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

Functional Outcome

The syntax of the document is not correct; there is an end tag for an element that was not opened.