You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2019/06/10 19:07:00 UTC
[jira] [Comment Edited] (ROL-2141) Bad Atom/RSS content when blog
contains FF
[ https://issues.apache.org/jira/browse/ROL-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16860260#comment-16860260 ]
Sebb edited comment on ROL-2141 at 6/10/19 7:06 PM:
----------------------------------------------------
I have been able to reproduce this locally when using jetty:run on 5.2.3-rc2.
Edit a file containing something like:
aaa<FF>
bbb
Select and copy it to the paste buffer, then paste into a new blog page.
Then select one of the Atom feeds; you should see something like:
{{XML Parsing Error: not well-formed}}
{{Location: [http://localhost:8080/roller/blog/feed/entries/atom]}}
{{Line Number 20, Column 33:}}
<content type="html">aaa
{{--------------------------------^}}
was (Author: sebb@apache.org):
I have been able to reproduce this locally when using jetty:run on 5.2.3-rc2.
Edit a file containing something like:
aaa<FF>
bbb
Select and copy it to the paste buffer, then paste into a new blog page.
Then select one of the Atom feeds; you should see something like:
{{XML Parsing Error: not well-formed}}
{{Location: [http://localhost:8080/roller/blog/feed/entries/atom]}}
{{Line Number 20, Column 33:}}
{{ <content type="html">aaa}}
{{--------------------------------^}}
> Bad Atom/RSS content when blog contains FF
> ------------------------------------------
>
> Key: ROL-2141
> URL: https://issues.apache.org/jira/browse/ROL-2141
> Project: Apache Roller
> Issue Type: Bug
> Reporter: Sebb
> Assignee: Roller Unassigned
> Priority: Major
>
> The ASF site generation started failing recently with the following error:
> --- cut here ---
> Updated /usr/home/cmsslave/slave15/www-site-staging/build/trunk to revision 1860776.
> Updated /usr/local/websites/www/trunk to revision 1045957.
> Building content/index.html ...
> Error while rendering output to string
> :253: parser error : PCDATA invalid Char value 12
> # # #<FF>
> ^
> . at /usr/local/cms/build/lib/ASF/View.pm line 117
> --- cut here ---
> It looks like the blog source must have contained a Formfeed.
> Whilst this is not normal for a blog, it should not cause invalid Atom/RSS to be generated.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)