[ruby-cvs:70178] kou:r63088 (trunk): rexml: Fix a XPath bug of /child::node()

kou at ruby-lang.org kou at ruby-lang.org
Wed Apr 4 15:53:57 JST 2018


kou	2018-04-04 15:53:57 +0900 (Wed, 04 Apr 2018)

  New Revision: 63088

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

  Log:
    rexml: Fix a XPath bug of /child::node()
        
    [Bug #14600]
        
    * lib/rexml/xpath_parser.rb: Fix a bug that "/child::node()" returns
      XML declaration and text nodes out of root element.
    
    * test/rexml/test_jaxen.rb: Enable more tests.

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


More information about the ruby-cvs mailing list