Actions
Bug #9062
closedlib/rexml/parsers/streamparser.rb に require "rexml/parsers/baseparser" を追加してほしい
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
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
Like0
Like0Like0Like0