summaryrefslogtreecommitdiff
path: root/lib/rexml/source.rb
diff options
context:
space:
mode:
authorser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-02 12:18:07 +0000
committerser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-02 12:18:07 +0000
commit07d9346ded3dccc825c320316fe23e088d782f5e (patch)
tree61facf427f0288270730a064ac30b8e59852af1a /lib/rexml/source.rb
parentdf067e31c0cc3ced138b0f53767cfd458c7a5fc0 (diff)
* Fixes a bug in the pretty printer related to an incomplete refactoring.
* Fixes another bug related to the formatting code refactoring in 3.1.7 * Fixes ticket:99, and adds Henrik's unit test (with minor modifications) * Fixes ticket:102. Fix provided by kevinj -- thanks! Great job. * Implements namespace validation in the baseparser. This means that, as per the XML namespace spec, unbound prefixes generate UndefinedNamespaceException. Also, as per the namespace spec, the 'xml' prefix must be bound to http://www.w3.org/XML/1998/namespace, and the 'xmlns' prefix must not be declared. in the XML. * Eggbeater missed one. * Fix for ticket:115 * Fixes a bug in the pretty printer related to an incomplete refactoring. * Merge code cleanups * Fixes another bug related to the formatting code refactoring in 3.1.7 * Indentation fix. * r1342@bean (orig r12846): nobu | 2007-07-25 17:18:55 -0400 * lib/rexml/formatters/*.rb: set properties. * r1358@bean (orig r12883): nobu | 2007-08-06 04:36:31 -0400 * lib/rexml/encodings/{ISO-8859-15,CP-1252}.rb: fixed invalid syntax. * r1359@bean (orig r13096): nobu | 2007-08-18 02:03:45 -0400 * lib/rexml/rexml.rb: removed doubled constant. * r1360@bean (orig r13097): nobu | 2007-08-18 02:12:48 -0400 * lib/rexml/rexml.rb: added encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/source.rb')
-rw-r--r--lib/rexml/source.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rexml/source.rb b/lib/rexml/source.rb
index ada876cde5..bc99c0ed6a 100644
--- a/lib/rexml/source.rb
+++ b/lib/rexml/source.rb
@@ -17,8 +17,8 @@ module REXML
elsif arg.kind_of? Source
arg
else
- raise "#{source.class} is not a valid input stream. It must walk \n"+
- "like either a String, IO, or Source."
+ raise "#{arg.class} is not a valid input stream. It must walk \n"+
+ "like either a String, an IO, or a Source."
end
end
end