page which is now XHTML 1.0 strict compliant.
However I've also ran a CSS check using
2Fxwiki%2Fbin%2Fview%2FMain%2F&warning=1&profile=css21&usermedium=all and it
seems we have quite a few errors/Warnings.
I guess we need to fix these too...
Thanks
-Vincent
-----Original Message-----
From: kilikopela [mailto:kilikopela@free.fr]
Sent: samedi 30 décembre 2006 22:16
To: xwiki-dev(a)objectweb.org
Subject: Re: [xwiki-dev] W3C compliance
Vincent Massol a écrit :
-----Original Message-----
From: Marc Lijour [mailto:marc@lijour.net]
Sent: jeudi 28 décembre 2006 23:03
To: xwiki-dev(a)objectweb.org
Subject: Re: [xwiki-dev] W3C compliance
On Thursday 28 December 2006 14:44, Vincent Massol wrote:
Hi Marc,
Thanks for finding this out. That's cool. Do you think you could
help us make it valid HTML?
Apparently you got that covered. I may still help if needed.
Thanks. One thing I still don't understand is why using width="80%"
on
a <td> element is not XHTML 1.0 strict
compliant
Just because width is a style attribute and strict XHTML is for data,
use CSS instead to format the page.
W3C design the strict variant of XHTML not to contain layout
information. The goal is to have a separation between data and layout,
like others XML-based languages read :
http://www.w3.org/MarkUp/#xhtml1
you
know the answer that'll help.
"the document type you are using does not support that attribute for
this element" ... "use CSS instead of this attribute"
It was written on the error page ;)
>> Feel free to open jira issues and attach patches to them
>>
>> In the future, it would be cool to have this validation as part of
>>
> our
>
>> build somehow. I haven't researched this but that would be
something
>> cool to have.
>>
> I don't know how the build works. It could be a nice feature. May be
> jtidy could do the job.
>
> In this line of idea, you could provide a button somewhere to check
> the HTML.
> 2 options
> - use jtidy (included already in the libs)
> - use the same site leveraging its REST api (link to
>
http://validator.w3.org/check?uri=${XYZ})
>
> It could be as discrete as a button laying down at the bottom of the
> page showing the W3C compliance logo if ok, and showing a bug if
not.
>> Clicking on it could then link to
>>
http://validator.w3.org/check?uri=${thispage}.
>>
>> Actually it could be a cool velocity macro, doesn't it?
>>
>
> Yep :-)
>
> Thanks
> -Vincent
>
>
>>>> -----Original Message-----
>>>> From: Marc Lijour [mailto:marc@lijour.net]
>>>> Sent: jeudi 28 décembre 2006 20:34
>>>> To: xwiki-dev(a)objectweb.org
>>>> Subject: [xwiki-dev] W3C compliance
>>>>
>>>>
xwiki.org home page is not valid html:
>>>>
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.xwiki.org
>>>>
>>
___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface
révolutionnaire.