#40 — Post content in xml needs more careful approaches

State Resolved
Area Functionality
Issue type Bug
Severity Medium
Submitted by Domen Kožar
Submitted on Nov 25, 2011
Responsible Maurits van Rees
Target release: 2.0.7
Two issues, if content has text/xhtml content type:

* if there is no wrapper tag for the content, minidom parser fails
* archtypes have no idea about xhtml by default, so following line fails https://github.com/[…]/utilities.py#L61

Problematic feed: http://www.tablix.org/~avian/blog/atom.xml
Fix (commit): https://github.com/[…]/db8fd8f7d1322ee15e9f1d223187ba96e2808315

PS: commit is not really a fix for upstream, as I have close to zero experience with feeds in general
Added by Maurits van Rees on Dec 27, 2011 04:49 PM
Issue state: UnconfirmedResolved
Responsible manager: (UNASSIGNED)maurits
Sorry for this late reaction.

I cannot reproduce this, also not with the feed as it was at the moment you reported it (I downloaded it at the time).

But it makes sense, so I have applied your fix (slightly changed). Fixed in r247572.

Added by Maurits van Rees on Dec 27, 2011 10:12 PM
Target release: None2.0.7
2.0.7 has been released with this fix.

No responses can be added.