Project

General

Profile

Actions

Bug #9062

closed

lib/rexml/parsers/streamparser.rb に require "rexml/parsers/baseparser" を追加してほしい

Added by ohai (Ippei Obayashi) about 11 years ago. Updated about 11 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.1.0dev (2013-10-29 trunk 43466) [x86_64-linux]
[ruby-dev:47779]

Description

lib/rexml/parsers/streamparser.rb は内部で REXML::Parsers::BaseParser を使っていますが
rexml/parsers/baseparser を require していません。そのため StreamParser を使うとき
rexml/parsers/streamparser に加えて rexml/parsers/baseparser を require する必要があります。

面倒ですし streamparser.rb が baseparser を require するとよいと思うのですがどうでしょうか。

Updated by hsbt (Hiroshi SHIBATA) about 11 years ago

  • Assignee set to kou (Kouhei Sutou)
  • Target version set to 2.1.0
Actions #2

Updated by kou (Kouhei Sutou) about 11 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r43480.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • lib/rexml/parsers/streamparser.rb: Add dependency file require.
    [Bug #9062] [ruby-dev:47779]
    Reported by Ippei Obayashi. Thanks!!!

Updated by kou (Kouhei Sutou) about 11 years ago

たしかにそのとおりですね!
追加しました!

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0