[ruby-cvs:70311] kou:r63221 (trunk): rexml: Fix XPath string() implementation

kou at ruby-lang.org kou at ruby-lang.org
Sat Apr 21 15:39:43 JST 2018


kou	2018-04-21 15:39:43 +0900 (Sat, 21 Apr 2018)

  New Revision: 63221

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63221

  Log:
    rexml: Fix XPath string() implementation
    
    * lib/rexml/functions.rb( REXML::Functions.string):
      * Support context node.
      * Fix implementation for document node to remove out of root nodes.
      * Support processing instruction node.
      * Improve implementation for integer to omit decimals.
    
    * test/rexml/test_jaxen.rb: Enable processing instruction test.

  Modified files:
    trunk/lib/rexml/functions.rb
    trunk/test/rexml/test_jaxen.rb


More information about the ruby-cvs mailing list