Re: XHTML validation

Bertilo Wennergren wrote:
> 
> Mikkel Bjerg:
> 
> > Bertilo Wennergren wrote:
> 
> > > Actually there is _no working XHTML validator out there now_. All that
> > > I have tried are seriously broken, and the one at W3C is by far
> > > the worst.
> 
> > I might sugest that you take a look at
> > <URL:http://www.daimi.au.dk/~olef/validate>
> 
> > I really think this should take care of most of the validation of XHTML
> > 1.0
> 
> Thank's for the suggestion. Nice try. But it's just as broken as the
> rest. Or else I'm missing something very subtle. Try this page:
> 
>   <http://www.concinnity.se/bertilow/div/testform.htm>
> 
> Your validator gives me:
> 
>   unconsumed element 'input'
> 
> What?

It is because you haven't noticed, that in XHTML 1.0 Strict you can not
have <input>-tags, without wrapping it in e.g. <p>-tags, whereas you can
if you just make it XHTML 1.0 Transitional compliant. Take a look at
http://www.daimi.au.dk/~mbjerg/testform.htm and 
http://www.daimi.au.dk/~mbjerg/testform2.htm, they both validate.

I hope this helped you
-- 
MVH

Mikkel Bjerg

Received on Tuesday, 13 June 2000 08:41:57 UTC