Module | REXML |
In: |
lib/xmpp4r/rexmladdons.rb
|
REXML module. This file only adds the following methods to the REXML module, to ease the coding:
Further definitions are just copied from REXML out of Ruby-1.8.4 to solve issues with REXML in Ruby-1.8.2.
The redefinitions of Text::normalize and Attribute#initialize address an issue where entities in element texts and attributes were not escaped. This modifies the behavious of REXML a bit but Sean Russell intends a similar behaviour for the future of REXML.