W3C home > Mailing lists > Public > www-validator@w3.org > February 2010

Re: end of Start Tag

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Sun, 14 Feb 2010 19:06:27 +0200
Message-ID: <EB136384DA794E229E5001B7389B6589@JukanPC>
To: "webmaster" <webmaster@vergleich-strom.net>, <www-validator@w3.org>
webmaster wrote:

> on the following site http://www.oekostromanbieter.org
> i'm getting the following message from the validator:
>
> Line 32, Column 42: XML Parsing Error: Couldn't find end of Start Tag
> input line 32
> <input type="hidden" name="Itemid" value=62 />

You should start from the first error messages and fix them. This often 
makes subsequent error messages disappear, as they were caused by some 
confusion in parsing the document.

The very first error message relates to this line, highlights the "6" and 
says:
"an attribute value specification must be an attribute value literal unless 
SHORTTAG YES is specified"
This is the validator's somewhat clumsy way of saying that in XML, and hence 
i XHTML, every attribute value must appear in quotation marks - not 62 but 
"62" or '62'.

> "/>" is the end. what can i do?

P.S. Do _not_ follow the advice posted under the malformed Subject "RE[end 
of Strart Tag]", suggesting (obscurely) that you replace <input 
type="hidden" name="Itemid" value=62 /> by <input type="hidden" id="Itemid" 
value="62" />. Adding quotation marks is OK, but replacing the name 
attribute by the id attribute would completely destroy the functionality.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/ 
Received on Sunday, 14 February 2010 17:08:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:39 GMT