From: hsbt@...
Date: 2017-11-10T02:49:57+00:00
Subject: [ruby-core:83712] [Ruby trunk Bug#14093][Assigned] REXML doesn't implement name() and interprets nam() as an element path.
Issue #14093 has been updated by hsbt (Hiroshi SHIBATA).
Status changed from Open to Assigned
Assignee set to kou (Kouhei Sutou)
----------------------------------------
Bug #14093: REXML doesn't implement name() and interprets nam() as an element path.
https://bugs.ruby-lang.org/issues/14093#change-67734
* Author: jcavalieri (John Cavalieri)
* Status: Assigned
* Priority: Normal
* Assignee: kou (Kouhei Sutou)
* Target version:
* ruby -v: 2.4.2
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
Please see the attached script.
Considering this xml:
The xpath '/a/b/name()' xpath should return the name of element 'a'. Instead it returns the child element 'name'.
Output:
---Files--------------------------------
bug_script.rb (371 Bytes)
--
https://bugs.ruby-lang.org/
Unsubscribe: