Bug Report B196412
Visible to All Users

ASPxRoundPanel does not pass the W3C validation

created 14 years ago

ASPxRoundPanel fails W3C validation. As a check of my validation failure I have run the following page through the validation with similar failures about nested tables and "onload" event:
http://demos.devexpress.com/ASPxPerienceDemos/RoundPanel/Appearance.aspx
this page gets 16 errors.
My error count is 5 (3, 4, 5 are associated with nested tables) reported errors follow:

  1. there is no attribute "height"
    …er_ASPxRoundPanel1" border="0" height="700" width="720" style="border-collapse…
  2. there is no attribute "onload"
    …2776/TopLeftCorner.png" alt="" onload="_aspxApplyAlphaImageLoaderToImage(this)…
    Note: The "onload" call is inside an <img> tag.
  3. document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
    The HTML containing the offending table follows:
    </div></td><td class="dxrpHeader" bgcolor="#BCBEC0" height="1%" style="border-bottom-style:None;padding-left:6px;padding-right:6px;padding-top:1px;padding-bottom:5px;background-image:url(Images/ASPxRoundPanel/542832776/HeaderContent.png);background-repeat:repeat-x;background-position:left bottom;"><b><table cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse:separate;"> <tr>
    <td class="dxrp" width="100%"><b><span id="ctl00_SheetContentPlaceHolder_ASPxRoundPanel1_RPHT"><b>News and Events</b></span></b></td>
    </tr>
    </table></b></td>
    It appears the table is nested within a <td> okay, but what is the purpose of the <b> tag enclosing the table? I believe this is the validation error.
    This is my first experience with your product. I am not experiencing any rendering problems even when checked against IE-6 but my client is adamant on validation.
    Can you provide some direction?

Answers approved by DevExpress Support

created 14 years ago (modified 12 years ago)

Hello Richard,
Thank you for your bug report. We appreciate it that you checked our controls. However, since we support different browsers, we do not use the same code for all of them, and depending on which browser you have, the server response might be different. You can examine all similar issues in our Support Center regarding the W3C Validator, and see that almost all of them have the same resolution: you should load a page in a required browser (e.g. in IE), then open the source code of the rendered page, and then pass it to the Validator using the Direct Input tab.
The W3C Validator generates some user agent that does not equal the user agent values created by supported browsers. That is why we cannot determine under which browser we should render our controls.
To read about XHTML 1.0 support, please follow the link to our web site: XHTML 1.0 Transitional Support.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.