This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6189 - Validator tells me <col> should appear in <colgroup> element
Summary: Validator tells me <col> should appear in <colgroup> element
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: 0.8.3
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
Depends on:
Reported: 2008-10-29 19:44 UTC by Leah Taylor
Modified: 2009-02-02 21:28 UTC (History)
1 user (show)

See Also:


Description Leah Taylor 2008-10-29 19:44:26 UTC
Validator gives error message for XHTML strict, "document type does not allow element "col" here; assuming missing "colgroup" start-tag"

Code is displayed below. <col> is permissable outside <colgroup> element so looks like a bug.

			<colgroup span="2" width="100">
				<col align="left" />
				<col align="right" />
				<col align="center" width="auto" />
Comment 1 Olivier Thereaux 2008-11-06 14:13:49 UTC
It is very improbable that there would be a bug here, since this part of validation comes from the machine-readable and authoritative definition of XHTML Strict. A URL, or alternatively more markup context (are you in a <table>?), would help understand the issue.
Comment 2 Olivier Thereaux 2009-02-02 21:28:08 UTC
Without any clarification in 3 months, closing this bug.