facelets
  1. facelets
  2. FACELETS-350

Valid XHTML with namespace declarations and nested lists renders wrongly in JSF/Facelets

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: ALL
    • Fix Version/s: 1.1.15
    • Component/s: jsf
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Macintosh

    • Issuezilla Id:
      350

      Description

      If I take the following (valid) XHTML document and try to render it as a JSF
      page with facelets, the nesting of lists is for whatever reason wrong, the
      second heading is indented and displayed as part of the first list. It works as
      soon as I remove the xmlns:kiwi attribute from the link (which is, however,
      valid XHTML). Namespace declaration in e.g. ui:composition seems to work,
      though, but since my XHTML is generated automatically as canonicalized XML, I
      consider this a serious bug nonetheless.

      <h2>Heading 1</h2>

      <ul>
      <li><a href="http://localhost/"
      xmlns:kiwi="http://www.kiwi-project.eu/kiwi/html/">Link</a>
      <ul>
      <li>Subitem 1</li>
      <li>Subitem 2</li>
      </ul>
      </li>
      </ul>

      <h2>Heading 2</h2>

      <ul>
      <li>Item 1</li>
      <li>Item 2</li>
      </ul>

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            wastl
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: