Entities in OPML

21 views
Skip to first unread message

Joris van Lier

unread,
Jul 21, 2011, 7:30:22 AM7/21/11
to World Outline
This morning firefox 5 started complaining about entities in OPML
attributes

XML Parsing Error: undefined entity
Location: http://feedfunnel.noagendareport.com/outline.php?xsl=xsl/opml2html.xsl
Line Number 1353, Column 1:<outline text="NewsFeed &raquo;<---

I assumed all entities were allowed because &amp; and &quot; do not
cause this error message.

http://www.opml.org/spec2 states under "Text attribute"
"Text attributes may contain encoded HTML markup."

My tests show only the following entities are allowed:
<outline text="&lt;" />
<outline text="&gt;" />
<outline text="&quot;" />
<outline text="&apos;" />
<outline text="&amp;" />

Is there a work-around for this problem?

I propose to add a note to the OPML spec explaining which entities are
allowed, and/or how to allow additional entities

JvL


Joris van Lier

unread,
Jul 21, 2011, 12:09:26 PM7/21/11
to World Outline
Digging somewhat deeper I found out that the OPML Editor silently
double-escapes character entities not predefined[1] in XML upon opening a
file, so &raquo; becomes &amp;raquo;
however it seems that this routine is not applied when content is
distributed via FeedHose.

OPML Validator[2] alerts but the message is a somewhat vague.

[1] http://www.w3.org/TR/xml-entity-names/predefined.html
[2]
http://validator.opml.org/?url=http%3A%2F%2Ffeedfunnel.noagendareport.com%2Fxml%2Findex.opml

Joris van Lier

unread,
Jul 22, 2011, 4:47:40 AM7/22/11
to World Outline
I fear i'm asking questions about the OPML format in the wrong place.
found a google group called OPML[1] but is seems inactive and filled
with spam.
created an account op opml.org[2] but after logging on can't find a
commenting or discussion feature.

What's the right place to discuss outlines from a file-format or XML-
syntax perspective?

[1] https://groups.google.com/group/opml
[2] http://www.opml.org/member/login

David Rosenberg

unread,
Aug 7, 2011, 11:35:51 PM8/7/11
to World Outline
On Jul 22, 4:47 am, Joris van Lier <whiz...@gmail.com> asked:
> What's the right place to discuss outlines from a file-format or XML-
> syntax perspective?

About two years ago, I created an OPML Friendfeed group at
http://friendfeed.com/opml

However, most of the entries are questions from me with no answers
and there hasn't been any activity there since September 2009.
Reply all
Reply to author
Forward
0 new messages