Problem with XHTML output

Last post 04-07-2005, 12:22 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  04-07-2005, 10:28 AM 5432

    Problem with XHTML output

    I've been trying out the outputs from the editor, and testing the Xhtml compliance.

    When using indenting ordered or unordered lists the xhtml generated is not compliant.  The code generated is shown below:

    <ul>
        <li>Item A</li>
        <li>Item B</li>
        <ul>
            <li>Sub Item B 1</li>
            <li>Sub Item B 2</li>
            <li>Sub Item B 3</li>
        </ul>
        <li>Item C</li>
    </ul>

    Although this code will display in IE6 correctly, it fails the W3C xhtml validator.

    The correct way for this to be coded would be for the sub list to be nested within the <li></li> tag is belongs to (shown below)

    <ul>
        <li>Item A</li>
        <li>Item B
            <ul>
                <li>Sub Item B 1</li>
                <li>Sub Item B 2</li>
                <li>Sub Item B 3</li>
            </ul>
        </li>
        <li>Item C</li>
    </ul>

    I just want to check that this problem is not caused by my test setup, although the problem is also evident in the XHTML compliant demo that is available on the website.

    Any feedback on this issue would be appreciated
  •  04-07-2005, 12:22 PM 5437 in reply to 5432

    Re: Problem with XHTML output

    peter.beams,
     
    We will investigtate this issue and get back to you as soon as possible.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML