Channel element can contain one rating element


I'm using rss2schema- in my application. Created the following test file:
<?xml version="1.0" encoding="utf-16" ?>
<rss version="2.0">
<title>ZNAK RSS rating test</title>
<description>A test feed with a channel rating element</description>
<rating>(PICS-1.1 "http://www.rsac.org/ratingsv01.html" l by "webmaster@example.com" on "2007.01.29T10:09-0800" r (n 0 s 0 v 0 l 0))</rating>
<title>RSS Test Item</title>
<description>RSS channel rating test</description>
The msxml parser informs the user:
Element 'rating' is unexpected according to content model of parent element 'channel'.
Expecting: 'title', 'link', 'description', 'language', 'copyright', 'managingEditor', 'webMaster' etc.
Can you do something to make the schema conform to this aspect of the RSS 2.0 spec?
Thanks Philip
Closed Nov 2, 2008 at 3:55 AM by jthelin


wrote Nov 2, 2008 at 3:55 AM

Resolved with changeset 23849.

jthelin wrote Nov 2, 2008 at 3:58 AM

Oops -- yes, you are right Phillip. The rating element is missing from RssChannel.
Fixed with this check-in.

jthelin wrote Nov 2, 2008 at 4:30 AM

Fixed in release rss2schema-

wrote Feb 14, 2013 at 2:04 AM

wrote May 16, 2013 at 7:30 AM