method
check_ns
check_ns(tag_name, prefix, ns, require_uri)
private
Hide source
# File lib/rss/parser.rb, line 416 def check_ns(tag_name, prefix, ns, require_uri) unless _ns(ns, prefix) == require_uri if @do_validate raise NSError.new(tag_name, prefix, require_uri) else # Force bind required URI with prefix @ns_stack.last[prefix] = require_uri end end end