Thanks to William Vambenepe (Oracle) for spotting this.
The bug is best illustrated in the Whitebeam web-site XPath test-bed.
Execute the XPath expression :
string(/parent/child/@id)
on the default document. The node-set within the string function will
contain three nodes. According to the XPath spec, the 'strong()' function
on a NodeSet should return the string value of the first node in the set
(in document order). Whitebeam currently takes the value of the *last*
node.
Peter Wilson
Presentation Engine
1.2 release
Public
|
Date: 2008-10-22 23:45 common/XPath/XmlPathUtils.cxx contains the CrbXmlElementSet::ToString |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2008-10-22 23:45 | peterw8102 |
| resolution_id | None | 2008-10-22 23:45 | peterw8102 |
| close_date | - | 2008-10-22 23:45 | peterw8102 |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use