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

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0 B2
    • 1.0 B1
    • None
    • Windows 2003 Server Standard Edition, MySQL 4.0.20d (Win), Tomcat 4.1.31 (Win)

    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

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

              Dates

                Created:
                Updated:
                Resolved: