[Bug #1416] Element#text= cause NoMethodError


#1

Bug #1416: Element#text= cause NoMethodError
http://redmine.ruby-lang.org/issues/show/1416

e$B5/I<<Te(B: Teruo Oshida
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
ruby -v: ruby 1.9.1p0 (2009-01-30 revision 21907) [x86_64-linux]

[ruby-dev:36444]

Element#text= e$B$Ke(B false e$B$rEO$9$He(B Parent#add
e$B$K%k!<%F%#%s%0$5$l$F$7$^$C$F!"e(B
false.parent = self e$B$r<B9T$7$h$&$H$7$Fe(B NoMethodError
e$B$GMn$A$^$9!#e(B

API Doc e$B$r8+$k8B$j!J$^$?8D?ME*$J>o<1$K$*$$$F$b!Ke(B
text= e$B$Ke(B false e$B$rEO$;$J$$M}M3$OL5$$$H9M$($^$9!#e(B
true e$B$OEO$;$^$9$7!#e(B


#2

e$B2!ED$G$9!#e(B

Bug #1416: Element#text= cause NoMethodError
http://redmine.ruby-lang.org/issues/show/1416

e$B@?$K?=$7Lu$J$$$G$9!#e(B
e$B$3$N%?%$%H%k$@$HBP>]$,e(B REXML e$B$@$HH=$i$J$$$G$9$M!#e(B
ML e$B$+$i%3%T!<$9$k;~$KJT=8$,E,@Z$G$O$"$j$^$;$s$G$7$?!#e(B

e$BBgJQ$*<j?t$G$9$,!"=$@52DG=$J$h$&$G$7$?$i!"e(B
“REXML::” e$B$rIU2C$7$F2<$5$$!#e(B

e$B59$7$/$*4j$$$7$^$9!#e(B


#3

e$B%A%1%C%He(B #1416 e$B$,99?7$5$l$^$7$?!#e(B (by Marc-Andre L.)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B

Applied in r25396 + r25397
Thank you for the patch.

http://redmine.ruby-lang.org/issues/show/1416