Bug 12486

Summary: XPathNSResolver.lookupNamespaceURI should return null if no URI is found
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: XMLAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Bug Depends on:    
Bug Blocks: 12450    
Attachments:
Description Flags
proposed fix darin: review+

Alexey Proskuryakov
Reported 2007-01-30 12:28:02 PST
Currently, null Strings are converted to empty ones. This makes W3C tests fail: XPathNSResolver_lookupNamespaceURI_nist_dmstc XPathNSResolver_lookupNamespaceURI_null From the spec: Return Value DOMString Returns the associated namespace URI or null if none is found.
Attachments
proposed fix (2.77 KB, patch)
2007-01-30 12:31 PST, Alexey Proskuryakov
darin: review+
Alexey Proskuryakov
Comment 1 2007-01-30 12:31:56 PST
Created attachment 12805 [details] proposed fix
Darin Adler
Comment 2 2007-01-30 13:12:58 PST
Comment on attachment 12805 [details] proposed fix r=me
Sam Weinig
Comment 3 2007-01-30 14:45:39 PST
Landed in r19269.
Note You need to log in before you can comment on or make changes to this bug.