
| Key: |
ELMO-12
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Peter Mika
|
| Reporter: |
Peter Mika
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
When writing out an RSS channel with a single item, the AbbreviatedRdfXmlWriter can use the striped syntax to write out the channel. This is as expected, but results in invalid RSS:
<pre>
<rss:channel rdf:about="http://rss.example.org">
<rss:title>Test channel</rss:title>
<rss:link>http://www.cs.vu.nl/</rss:link>
<rss:description>This is the description of this channel.</rss:description>
<rss:items>
<rdf:Seq rdf:nodeID="node10j1n6p08x1">
<rdf:li>
<rss:item rdf:about="http://rss.example.org#1">
<rss:title>Our latest news item</rss:title>
<rss:description>This is the description of the latest news item</rss:description>
</rss:item>
</rdf:li>
</rdf:Seq>
</rss:items>
</rss:channel>
</pre>
Instead of:
<pre>
<rss:channel rdf:about="http://rss.example.org">
<rss:title>Test channel</rss:title>
<rss:link>http://www.cs.vu.nl/</rss:link>
<rss:description>This is the description of this channel.</rss:description>
<rss:items>
<rdf:Seq rdf:nodeID="node10j1n6p08x1">
<rdf:li rdf:about="http://rss.example.org#1" />
</rdf:Seq>
</rss:items>
</rss:channel>
<rss:item rdf:about="http://rss.example.org#1">
<rss:title>Our latest news item</rss:title>
<rss:description>This is the description of the latest news item</rss:description>
</rss:item>
</pre>
|
|
The RSS writer now flushes the statements before printing each of the items.
|
|