Project

General

Profile

Bug #14093

Updated by kou (Kouhei Sutou) over 6 years ago

Please see the attached script. 

 Considering this xml: 

 ```xml 
 <a><b><name/></b></a> 
 ``` 

 The xpath `/a/b/name()` '/a/b/name()' xpath should return the name of element `a`. 'a'. Instead it returns the child element `name`. 'name'. 

 Output: 

 ```xml 
 <name/> 
 ```

Back