method
atom_validate
atom_validate(ignore_unknown_element, tags, uri)
public
Hide source
# File lib/rss/atom.rb, line 142 def atom_validate(ignore_unknown_element, tags, uri) if have_xml_content? if @xhtml.nil? raise MissingTagError.new("div", tag_name) end unless [@xhtml.name, @xhtml.uri] == ["div", XHTML_URI] raise NotExpectedTagError.new(@xhtml.name, @xhtml.uri, tag_name) end end end