Method "kXMLHelper::GetXML" produces broken XML

Components

Labels

Description

In-Portal uses kXMLHelper class to parse, process, change, assemble xml documents.

I've found 2 issues with how it is doing assembling part:

  • all node/attribute names are UPPERCASED in result (this is problem for ATOM feeds, since they must be in lowercase)

  • node attribute values are not escaped resulting broken XML document as a result

Context Information

None

Additional information (do not use)

None

Attachments

1
  • 19 Oct 2010, 08:52 AM

Confluence content

mentioned on

Phabricator

Activity

Show:

Dmitry Andrejev November 30, 2010 at 6:48 PM

Closing released 5.1.1 task.

Alex October 19, 2010 at 7:10 PM

Fix committed to [b]5.1.x branch/b. Commit Message:

Fixes #0000892: Method "kXMLHelper::GetXML" produces broken XML

Dmitry Andrejev October 19, 2010 at 6:31 PM

This patch has been tested okay, and can be commit.

However, I have noticed that for some reason RSS Import from Atom (Google Groups) is not saving fully BODY of the Article. Try importing this RSS:

http://groups.google.com/group/in-portal-bugs/feed/atom_v1_0_msgs.xml?num=50

Fixed

Priority

Assignee

Alex

Reporter

Developer

Patch Instructions

Patches must be submitted through Phabricator.

External issue ID

Fix versions

Affects versions

Created October 19, 2010 at 8:52 AM
Updated December 29, 2024 at 9:16 PM
Resolved November 30, 2010 at 6:48 PM

Flag notifications