require_relative "rexml_test_utils"
require "rexml/document"
module REXML
class TestNamespace < Test::Unit::TestCase
include REXMLTestUtils
include REXML
def setup
@xsa_source = <<-EOL
Lars Marius Garshol
larsga@garshol.priv.no
http://www.stud.ifi.uio.no/~lmariusg/
EOL
end
def test_xml_namespace
xml = <<-XML
XML
document = Document.new(xml)
assert_equal("http://www.w3.org/XML/1998/namespace",
document.root.namespace("xml"))
end
end
end