diff options
author | ser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-04 04:50:15 +0000 |
---|---|---|
committer | ser <ser@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-04 04:50:15 +0000 |
commit | 37886ed9a8205673ce073153f762ab05eca13ac5 (patch) | |
tree | d3489b735a95f2870cc14e0fbb01b5933a173951 /lib/rexml/rexml.rb | |
parent | 80018be1fb538641742ccf8f1edfe6ba975a2b95 (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.
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.
lib/rexml/formatters/*.rb: set properties.
lib/rexml/encodings/{ISO-8859-15,CP-1252}.rb: fixed invalid syntax.
lib/rexml/rexml.rb: removed doubled constant.
lib/rexml/rexml.rb: added encoding.
Fixes ticket:110
Missing include for UndefinedNamespaceException was causing errors in some
cases.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@13815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rexml/rexml.rb')
-rw-r--r-- | lib/rexml/rexml.rb | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/rexml/rexml.rb b/lib/rexml/rexml.rb index 19805d61e1..8af1697e51 100644 --- a/lib/rexml/rexml.rb +++ b/lib/rexml/rexml.rb @@ -1,3 +1,4 @@ +# -*- encoding: utf-8 -*- # REXML is an XML toolkit for Ruby[http://www.ruby-lang.org], in Ruby. # # REXML is a _pure_ Ruby, XML 1.0 conforming, @@ -10,8 +11,9 @@ # # Main page:: http://www.germane-software.com/software/rexml # Author:: Sean Russell <serATgermaneHYPHENsoftwareDOTcom> -# Version:: 3.1.7.1 -# Date:: 2007/209 +# Version:: 3.1.7.2 +# Date:: 2007/275 +# Revision:: $Revision$ # # This API documentation can be downloaded from the REXML home page, or can # be accessed online[http://www.germane-software.com/software/rexml_doc] @@ -20,10 +22,10 @@ # or can be accessed # online[http://www.germane-software.com/software/rexml/docs/tutorial.html] module REXML - COPYRIGHT = "Copyright © 2001-2007 Sean Russell <ser@germane-software.com>" - DATE = "2007/209" - VERSION = "3.1.7.1" - REVISION = "$Revision: 1270$".gsub(/\$Revision:|\$/,'').strip + COPYRIGHT = "Copyright \xC2\xA9 2001-2006 Sean Russell <ser@germane-software.com>" + VERSION = "3.1.7.2" + DATE = "2007/275" + REVISION = "$Revision$".gsub(/\$Revision:|\$/,'').strip Copyright = COPYRIGHT Version = VERSION |