Symbol argument to :changefreq is interpreted as XML namespace
toupeira opened this issue · comments
I accidentally specified :changefreq => :daily
in my sitemap.rb and got a parsing error when validating the generated sitemap. After some head-scratching I looked at the generated XML and noticed that it created an empty tag <changefreq:daily>
, after changing :daily
to 'daily'
it works correctly.
Would be great to either support symbols too for these options, or at least throw a warning when they're used.
👍