[Bug 17570] New: Function declaration of Node::lookupPrefix and Node::lookupNamespaceURI do not allow 'null' return value

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17570

           Summary: Function declaration of Node::lookupPrefix and
                    Node::lookupNamespaceURI do not allow 'null' return
                    value
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: svitlant@microsoft.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Implementation details of Node::lookupPrefix
(http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-lookupprefix)
and Node::lookupNamespaceURI
(http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-node-lookupnamespaceuri)
functions indicate that the value 'null' can be returned. However, the
declaration of those functions in Node interface
(http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#node) does not have a
question mark ('?') next to the return type of those functions.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 22 June 2012 01:47:02 UTC