--- /usr/lib/ruby/1.8/rexml/attribute.rb	2005-08-12 14:08:47.000000000 +0200
+++ ./attribute.rb	2006-07-15 12:58:19.000000000 +0200
@@ -101,20 +101,20 @@
 			end
 
 			@unnormalized = nil
-			@normalized = Text::normalize( @value, doctype )
+			@value = @normalized = Text::normalize( @value, doctype )
 		end
 
 		# Returns the UNNORMALIZED value of this attribute.  That is, entities
 		# have been expanded to their values
 		def value
-			return @unnormalized if @unnormalized
+			@unnormalized if @unnormalized
 			doctype = nil
 			if @element
 				doc = @element.document
 				doctype = doc.doctype if doc
 			end
 			@normalized = nil
-			@unnormalized = Text::unnormalize( @value, doctype )
+			@value = @unnormalized = Text::unnormalize( @value, doctype )
 		end
 
 		# Returns a copy of this attribute

