[BUGFIX] Nokogiri JRuby can't cope with matching subclasses of XML::Node to a schema