Did you check for the namespace file? I have a namespace.rb in my rexml directory. Nick On Tue, 25 Jan 2005 08:15:50 +0900, Boris Glawe <boris / boris-glawe.de> wrote: > Hi, > > I am trying to parse an xml file on my fedora Core 3 machine. > I started with a tutorial from this site: > http://www.germane-software.com/software/rexml/docs/tutorial.html > > #!/usr/bin/ruby > > require "rexml/document" > file = File.new( "mydoc.xml" ) > doc = REXML::Document.new file > > When executing this trivial peace of code I get the message: > > /usr/lib/ruby/1.8/rexml/element.rb:2:in `require': No such file to load -- > rexml/namespace (LoadError) > from /usr/lib/ruby/1.8/rexml/element.rb:2 > from /usr/lib/ruby/1.8/rexml/document.rb:1:in `require' > from /usr/lib/ruby/1.8/rexml/document.rb:1 > from ./test.rb:3:in `require' > from ./test.rb:3 > > What's the problem? Is something wrong in the code or is my installation missing > this "rexml/namespace" file? > > This for any hint. > > greets Boris > > -- Nicholas Van Weerdenburg