Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-44

Main.WebHome of default wiki is not valid XHTML

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Minor
    • None
    • 1.0
    • None

    Description

      /database/target/xar/Main/WebHome contains a line like this:
      1. Changing the layout and menu contents by using the [Panel Wizard>Panels.PanelWizard?forceLeftPanels=1&forceRightPanels=1]

      This is rendered to:
      <li>Changing the layout and menu contents by using the <span class="wikilink"><a href="/xwiki/bin/view/Panels/PanelWizard?forceLeftPanels=1&forceRightPanels=1">Panel Wizard</a></span></li>

      Which is invalid XHTML, since the attribute value contains a "&" symbol.

      As a general idea for catching this sort of bugs I propose to build a functional test that checks the validity of all documents in the default wiki (after rendering); see XWIKI-1275.

      Attachments

        Activity

          People

            hritcu Catalin Hritcu
            hritcu Catalin Hritcu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: