Bug 13006

Summary: XPath string-value is broken for some node types
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: XMLAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
proposed fix darin: review+

Alexey Proskuryakov
Reported 2007-03-07 14:08:00 PST
String-value shouldn't work recursively for elements and document nodes, as the result is nonsensical then. Also, string-value should be implemented for CDATA nodes. Patch forthcoming.
Attachments
proposed fix (5.68 KB, patch)
2007-03-07 14:12 PST, Alexey Proskuryakov
darin: review+
Alexey Proskuryakov
Comment 1 2007-03-07 14:12:37 PST
Created attachment 13527 [details] proposed fix
Darin Adler
Comment 2 2007-03-07 15:02:24 PST
Comment on attachment 13527 [details] proposed fix r=me
Alexey Proskuryakov
Comment 3 2007-03-08 00:29:55 PST
Committed revision 20055.
Note You need to log in before you can comment on or make changes to this bug.