• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item3612: The SVN RSS feed is not valid XML when HTML entities are present in bug titles

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal No Action Required   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

The SVN RSS feed should not break due to HTML in bug titles.

The SVN RSS feed can contain invalid XML when HTML entities are present in bug titles. This occurs if the HTML entity is an unmatched opening or closing tag. For instance, Item3574 contained the tag <a> in the title field. This caused both Firefox and the TWiki:Codev/TWikiBot RSS module to throw errors parsing the XML. I have changed the title of the bug in question to use &lt;a&gt; instead.

Is there anything that can or should be done to correct this, other than avoiding HTML entities in bug titles?

-- TWiki:Main/JasonHill - 12 Feb 2007

This applies to the TWiki engine because the WebRss has a SEARCH with format $formfield(Summary) -- $formfield(CurrentState). I changed the AppliesTo accordingly.

-- PTh

yes, one approach is to spit out a list of HTML entity definitions at the top of the RSS feed.

-- TWiki:Main.WillNorris - 20 May 2007

duplicate of Item1985; closing

-- WillNorris - 21 May 2007

ItemTemplate
Summary The SVN RSS feed is not valid XML when HTML entities are present in bug titles
ReportedBy TWiki:Main.JasonHill
Codebase

SVN Range TWiki-4.1.1, Fri, 09 Feb 2007, build 12817
AppliesTo Engine
Component

Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2007-05-21 - TWikiUserMapping_WillNorris
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback