W3C home > Mailing lists > Public > www-validator@w3.org > July 2013

Help in HTML Validation

From: Wessam Zaki <Wessam.Zaki@itworx.com>
Date: Mon, 15 Jul 2013 15:04:26 +0000
To: "'www-validator@w3.org'" <www-validator@w3.org>
Message-ID: <6FE7B59902057149A3AF6ADF5A1E620D281A9FD0@FRZNEXCHANGE-01.itworx.com>
Hello All,

I am working on validating a site html on the W3C standards and I am using SharePoint 2010 as the platform I used the validator (http://validator.w3.org/) in validating the HTML of the pages on it but I faced some problems which I found it is a SharePoint limitation as follows:

The SharePoint built-in search box (5 errors)

<div WebPartID="00000000-0000-0000-0000-000000000000" HasPers="true" id="WebPartWPQ1" width="100%" class="noindex" OnlyForMePart="true" allowDelete="false" style="" ><div id="SRSB">

Errors:-

*         there is no attribute "WebPartID"

*         there is no attribute "HasPers"

*         there is no attribute "width"

*         there is no attribute "OnlyForMePart"

*         there is no attribute "allowDelete"


A panel zone generated by the ribbon somehow (8 errors)


<div id="ctl00_panelZone">

<div style='display:none' id='hidZone'><menu class="ms-SrvMenuUI">

    <ie:menuitem id="MSOMenu_Help" iconsrc="/_layouts/images/HelpIcon.gif" onmenuclick="MSOWebPartPage_SetNewWindowLocation(MenuWebPart.getAttribute(&#39;helpLink&#39;), MenuWebPart.getAttribute(&#39;helpMode&#39;))" text="Hjelp" type="option" style="display:none">

    </ie:menuitem>

</menu></div>


Errors:-

*         there is no attribute "id"

*         there is no attribute "iconsrc"

*         there is no attribute "onmenuclick"

*         there is no attribute "text"

*         there is no attribute "type"

*         there is no attribute "style"

*         element "ie:menuitem" undefined

*         end tag for "menu" which is not finished


Do you have any idea how to fix this or did you face this before?




Thanks,
Wessam Zaki
Team Leader
Received on Tuesday, 16 July 2013 21:27:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:08 UTC