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

Ampersand in XWiki news disables RSS feeds because of invalid XML syntax

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 B1
    • Fix Version/s: 1.0 B2
    • Labels:
      None
    • Environment:
      Windows 2003 Server Standard Edition, MySQL 4.0.20d (Win), Tomcat 4.1.31 (Win)
    • Similar issues:

      Description

      I added a news entry and used an ampersand character in the caption. Example: New news about this & that.

      Now the RSS feed gives me this error (because the XML-Validator thinks of &that as an entity without closing :

      Here is what IE says:

      <rdf:li rdf:resource="http://192.168.111.31/xwiki/bin/view/Main/Newnewsaboutthis&that" />
      ------------------...

      Thats from Firefox:

      XML-Verarbeitungsfehler: nicht wohlgeformt (not well formed)
      Adresse: http://192.168.111.31:8080/xwiki/bin/view/Main/BlogRss?xpage=rdf
      Zeile Nr. 21, Spalte 91:<rdf:li rdf:resource="http://192.168.111.31/xwiki/bin/view/Main/Newnewsaboutthis&that" />
      ------------------------------------------------------------------------------------------^

      This can be resolved by deleting all documents/news containing the ampersand. The RSS XML will then be valid again.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              devcoder Stefan Schroder
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved:
                Date of First Response: