Bug 724437 (BRMS-382) - Discussion Atom feed is not a valid XML
Summary: Discussion Atom feed is not a valid XML
Keywords:
Status: CLOSED NEXTRELEASE
Alias: BRMS-382
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRM (Guvnor)
Version: 5.1.0.ER1,5.1.0.ER2
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: 5.1.0.ER2
Assignee: Jervis Liu
QA Contact:
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-05 13:35 UTC by Jiri Locker
Modified: 2013-11-07 22:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-04 17:16:06 UTC
Type: Bug


Attachments (Terms of Use)
atom_discussion.xml (2.31 KB, text/xml)
2010-10-05 13:41 UTC, Jiri Locker
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 724481 0 high CLOSED Atom feeds need to escape XML special characters 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker BRMS-382 0 None None None Never

Internal Links: 724481

Description Jiri Locker 2010-10-05 13:35:40 UTC
securitylevel_name: Public

Discussion entry id element contains unescaped ampersand '&', that is used to denote XML entities. This renders the feed to be an invalid XML document and, for example, Firefox Live Bookmarks cannot display the affected feed entries. The problematic code snippet (see the last line):

...
        <entry>
         <title>asdfasdf</title>
         <link rel="alternate" type="text/html"
              href="http://localhost:8080/jboss-brms/org.drools.guvnor.Guvnor/Guvnor.html#asset=4391399c-85a4-4769-93e6-3e1ce5519f27%26nochrome"/>
         <id>tag:4391399c-85a4-4769-93e6-3e1ce5519f27&discussion=1286211780510&author=admin</id>
...

Comment 1 Jiri Locker 2010-10-05 13:41:13 UTC
Attaching sample discussion Atom feed.
See the validation results http://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fjira.jboss.org%2Fsecure%2Fattachment%2F12337556%2Fatom_discussion.xml

Comment 2 Jiri Locker 2010-10-05 13:41:13 UTC
Attachment: Added: atom_discussion.xml


Comment 3 Jervis Liu 2010-10-24 07:59:17 UTC
Link: Added: This issue depends GUVNOR-677


Comment 4 Jervis Liu 2010-10-24 08:00:49 UTC
Fixed on branch: https://svn.jboss.org/repos/labs/labs/jbossrules/soa_branches/BRMS-5.1.1

Comment 5 Jiri Locker 2010-11-03 20:56:42 UTC
Link: Added: This issue is a dependency of BRMS-426


Comment 6 Jiri Locker 2010-11-03 20:58:06 UTC
Link: Removed: This issue is a dependency of BRMS-426 


Comment 7 Jiri Locker 2010-11-03 20:58:31 UTC
Link: Added: This issue related BRMS-426


Comment 8 Jiri Locker 2010-11-09 14:23:26 UTC
Link: Added: This issue is a dependency of JBQA-3766



Note You need to log in before you can comment on or make changes to this bug.