diff options
author | Dave Beckett <dave@dajobe.org> | 2009-07-19 20:30:31 +0000 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2009-07-19 20:30:31 +0000 |
commit | 98daf7c63065d8574cc75092766f128428aefead (patch) | |
tree | 41d48b856aa9476ae5aad4875f950ec8be2fc667 /src/raptor_rss_common.c | |
parent | d4f99f54ef0cfa84407f12209e44d911d5f1770f (diff) | |
download | raptor-98daf7c63065d8574cc75092766f128428aefead.tar.gz |
static data raptor_rss_fields_info: semantic data errors found by
C++'s more strict aliasing.
- Fix author item class.
- Set URI flag value for atom:schema and atom:href
Diffstat (limited to 'src/raptor_rss_common.c')
-rw-r--r-- | src/raptor_rss_common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/raptor_rss_common.c b/src/raptor_rss_common.c index e417f4b7..7da07404 100644 --- a/src/raptor_rss_common.c +++ b/src/raptor_rss_common.c @@ -134,7 +134,7 @@ const raptor_rss_field_info raptor_rss_fields_info[RAPTOR_RSS_FIELDS_SIZE+2]={ { "title", ATOM1_0_NS, 0 }, { "updated", ATOM1_0_NS, 0 }, /* atom 1.0 optional fields */ - { "author", ATOM1_0_NS, 0, RAPTOR_RSS_RDF_ATOM_AUTHOR_CLASS }, + { "author", ATOM1_0_NS, 0, RAPTOR_ATOM_AUTHOR }, { "category", ATOM1_0_NS, RAPTOR_RSS_INFO_FLAG_BLOCK_VALUE, RAPTOR_ATOM_CATEGORY }, { "content", ATOM1_0_NS, 0 }, { "contributor", ATOM1_0_NS, 0 }, @@ -158,9 +158,9 @@ const raptor_rss_field_info raptor_rss_fields_info[RAPTOR_RSS_FIELDS_SIZE+2]={ { "Link", ATOM1_0_NS, 0 }, { "label", ATOM1_0_NS, 0 }, - { "scheme", ATOM1_0_NS, 0, RAPTOR_RSS_INFO_FLAG_URI_VALUE }, + { "scheme", ATOM1_0_NS, RAPTOR_RSS_INFO_FLAG_URI_VALUE }, { "term", ATOM1_0_NS, 0 }, - { "href", ATOM1_0_NS, 0, RAPTOR_RSS_INFO_FLAG_URI_VALUE }, + { "href", ATOM1_0_NS, RAPTOR_RSS_INFO_FLAG_URI_VALUE }, { "rel", ATOM1_0_NS, 0 }, { "type", ATOM1_0_NS, 0 }, { "hreflang", ATOM1_0_NS, 0 }, |