Re: end of Start Tag

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 UTC