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+

Description Alexey Proskuryakov 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.
Comment 1 Alexey Proskuryakov 2007-01-30 12:31:56 PST
Created attachment 12805 [details]
proposed fix
Comment 2 Darin Adler 2007-01-30 13:12:58 PST
Comment on attachment 12805 [details]
proposed fix

r=me
Comment 3 Sam Weinig 2007-01-30 14:45:39 PST
Landed in r19269.